From e849a5f21a3117fec7a64b26763d2780b1ace166 Mon Sep 17 00:00:00 2001 From: Will Holland Date: Wed, 30 Sep 2015 22:28:24 +0100 Subject: Add debug code --- source/configure.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1