diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-30 22:28:24 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-30 22:28:24 +0100 |
commit | e849a5f21a3117fec7a64b26763d2780b1ace166 (patch) | |
tree | ef2ef255dd36c5e1a650ce8c63384b2081004529 | |
parent | 1e5c62ef9b93a682dca25810e4b72c5cb38f5f5f (diff) | |
download | orchestration-e849a5f21a3117fec7a64b26763d2780b1ace166.tar.gz |
Add debug code
-rw-r--r-- | source/configure.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/configure.py b/source/configure.py index c342483..fd0d4ad 100644 --- a/source/configure.py +++ b/source/configure.py @@ -34,15 +34,19 @@ def load_pipeline_configs(): pipelines = [] for pipeline in os.listdir(REPO_DIR): if not pipeline.endswith('.yaml'): continue + print "file %s ends in .yaml" % pipeline pipeline_path = os.path.join(REPO_DIR,pipeline) + print "path %s" % pipeline_path with open(pipeline_path, 'r') as f: config = yaml.load(f) + print "file loaded" validate_config(config, 'name', 'candidate-refs', 'slave-type', 'clusters', 'steps') + print "file validated" pipelines.append(config) return pipelines |