Created
January 4, 2018 14:23
-
-
Save kadel/4be5a43ae8827b7bf916032ea69c3fde to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/bash | |
| # temporary file to save output | |
| output=`mktemp` | |
| for file in `find docs/examples examples -name "*.yaml"`; do | |
| ./kedge generate --enable-validation -f $file > $output 2>&1 | |
| if [ $? -ne 0 ]; then | |
| echo "validation failed for $file" | |
| cat $output | |
| echo "" | |
| fi | |
| done | |
| rm $output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment