Skip to content
Snippets Groups Projects
Commit 1e962f56 authored by Erick Hitter's avatar Erick Hitter
Browse files

Formatting

parent 715db0af
Branches
No related tags found
1 merge request!23Test linting for configurations
......@@ -8,24 +8,23 @@ jq --null-input --arg yaml "$1" '.content=$yaml' \
--data @- \
-o result.json
echo ""
echo ""
echo "**********************************************************"
echo "MERGED YAML:"
jq --raw-output '.merged_yaml' < result.json
echo ""
echo "**********************************************************"
echo "ERRORS:"
jq '.errors' < result.json
echo ""
echo "**********************************************************"
echo "WARNINGS:"
jq '.warnings' < result.json
echo ""
echo "**********************************************************"
echo "IS VALID:"
jq '.valid' < result.json
if [ "true" == "$(jq '.valid' < result.json)" ]; then
if [[ "$(jq '.valid' < result.json)" == "true" ]]; then
exit 0
else
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment