diff --git a/.circleci/config.yml b/.circleci/config.yml index e5add479f2..6fe59a0338 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,22 @@ jobs: virtualenv --clear venv source venv/bin/activate pip install -q -r requirements.txt + - run: + name: run validate manifest + command: | + source venv/bin/activate python bin/validate_manifests.py + - run: + name: run manifest to escu + command: | + source venv/bin/activate + python bin/manifest_to_escu.py + - store_artifacts: + path: ~/repo/src/default/analyticstories.conf + destination: src/default/analyticstories.conf + - store_artifacts: + path: ~/repo/src/default/analytic_stories.conf + destination: src/default/analytic_stories.conf - save_cache: key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }} paths: diff --git a/bin/.manifest_to_escu.py.swp b/bin/.manifest_to_escu.py.swp deleted file mode 100644 index c1074f82f6..0000000000 Binary files a/bin/.manifest_to_escu.py.swp and /dev/null differ diff --git a/bin/manifest_to_escu.py b/bin/manifest_to_escu.py index 4616972027..8461e22a92 100644 --- a/bin/manifest_to_escu.py +++ b/bin/manifest_to_escu.py @@ -10,7 +10,7 @@ import re ALL_UUIDS = [] MANIFEST_DIRECTORY = "." -OUTPUT_DIRECTORY = 'src/' +OUTPUT_DIRECTORY = 'src/default/' def markdown(x): markdown=str(x) @@ -372,7 +372,7 @@ def main(): asconf.write("narrative = %s\n" % narrative) asconf.write("\n") - usconf = open('usage_searches.conf', 'r') + usconf = open('src/default/usage_searches.conf', 'r') usage_searches = usconf.read() usconf.close() ssconf.write('####################################################################\n\n') diff --git a/bin/usage_searches.conf b/src/default/usage_searches.conf similarity index 100% rename from bin/usage_searches.conf rename to src/default/usage_searches.conf