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

Attempting to fix the linting

parent 5d4d11bc
No related branches found
No related tags found
1 merge request!34Fix linting
This commit is part of merge request !34. Comments created here will be created in the context of that merge request.
...@@ -3,13 +3,12 @@ ...@@ -3,13 +3,12 @@
jq --null-input --arg yaml "$1" '.content=$yaml' \ jq --null-input --arg yaml "$1" '.content=$yaml' \
| curl "https://git.ethitter.com/api/v4/projects/${CI_PROJECT_ID}/ci/lint?include_merged_yaml=true" \ | curl "https://git.ethitter.com/api/v4/projects/${CI_PROJECT_ID}/ci/lint?include_merged_yaml=true" \
--silent \ --silent \
-vvv \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--header "PRIVATE-TOKEN: $GITLAB_API_PAT" \ --header "PRIVATE-TOKEN: $GITLAB_API_PAT" \
--data @- \ --data @- \
-o result.json -o result.json
jq < result.json # TODO: save the `result.json` as an artifact.
echo "**********************************************************" echo "**********************************************************"
echo "MERGED YAML:" echo "MERGED YAML:"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment