Skip to content

Commit

Permalink
Merge pull request openshift#282 from jlebon/pr/prow
Browse files Browse the repository at this point in the history
ci: Adapt for coreos-assembler
  • Loading branch information
openshift-merge-robot authored Sep 7, 2018
2 parents 96855cc + 18ba610 commit 5eb8c03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .prow.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
set -xeuo pipefail

yum -y install jq PyYAML
# This script is run by prow using the coreos-assembler container.

make syntax-check
# And disable the container again until we figure out about Prow -> internal
# make container
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ syntax-check:
done
@set -e; for yamlfile in $$(find ${ROOT_DIR} -name '*.yaml' -o -name '*.yml'); do \
echo -n "Checking YAML syntax for $${yamlfile}... "; \
python -c "import yaml; yaml.safe_load(open('$${yamlfile}'))"; \
python3 -c "import yaml; yaml.safe_load(open('$${yamlfile}'))"; \
echo "OK"; \
done

Expand Down

0 comments on commit 5eb8c03

Please sign in to comment.