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

Merge branch 'fix/linting' into 'main'

Fix linting

See merge request !8
parents 776a62d9 33bced78
No related branches found
No related tags found
1 merge request!8Fix linting
#!/bin/bash #!/bin/bash
jq --null-input --arg yaml "$1" '.content=$yaml' \ jq --null-input --arg yaml "$1" '.content=$yaml' \
| curl "https://git.ethitter.com/api/v4/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 \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--header "PRIVATE-TOKEN: $GITLAB_API_PAT" \ --header "PRIVATE-TOKEN: $GITLAB_API_PAT" \
......
...@@ -10,3 +10,6 @@ lint: ...@@ -10,3 +10,6 @@ lint:
image: containers.ethitter.com:443/docker/images/debian:bullseye image: containers.ethitter.com:443/docker/images/debian:bullseye
script: script:
- sh ./.ci-scripts/lint.sh "$(<./files/default.yml)" - sh ./.ci-scripts/lint.sh "$(<./files/default.yml)"
artifacts:
paths:
- result.json
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment