gae123 / sd2 Goto Github PK
View Code? Open in Web Editor NEWA tool to support SD2™, the Software Defined Software Development Process
License: Apache License 2.0
A tool to support SD2™, the Software Defined Software Development Process
License: Apache License 2.0
Version 0.14.1 shuts down with WARNING MAIN:LOOP:EX 'config'
if there is no config
key in config.yaml. Expected result was the config to include default values from the schema but it appears not to be working properly. Will investigate further and update this issue with findings and possibly a PR
It appears that when a new file is created in a new directory, sd2 notices the change and tries to use scp to copy the file to the remote server. However since the directory is new too it doesn't yet exist on the server and the scp command fails. It can then takes several minutes before the rsync command runs and does a full sync of the directory/files.
It would be nice if sd2 could notice when the scp command files, and do an immediate 'rsync'. Or maybe wait a couple of seconds in case there is a flurry of file changes (e.g. what happens when you do a 'git pull').
I created a config.yaml that had a tab character in it, which the yaml parser doesn't like:
yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
in "<unicode string>", line 37, column 1:
enabled: true
^
When I saved this file, the sd2 daemon process immediately died. The only in the logs that I could find was this:
2018-09-20 14:42:35 44097 INFO SD2INIT:EE
It was only by running sd2 again that I found out what the problem was.
Steps to reproduce:
In your editing host (own workspace) remove a folder that is supposed to be RSYNCed. In my case it was the .kube folder.
After sd2 is running and the containers on the development machine are up and running, kill a container
According to the logs an RSYNC for the missing directory fails, and the development host is eventually marked as unhealthy, causing sd2 to skip checks for docker.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.