Skip to content
Snippets Groups Projects
Commit 42357e32 authored by nimrod's avatar nimrod
Browse files

Fix the lint job (I think).

parent bad1954d
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ lint templates: ...@@ -16,7 +16,7 @@ lint templates:
stage: test stage: test
before_script: before_script:
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
- python3 -m pip install git+https://gitlab.com/devopshq/gitlab-ci-linter#master - python3 -m pip install git+https://gitlab.com/devopshq/gitlab-ci-linter#v1.0.3
- gitlab-ci-linter --help - gitlab-ci-linter --help
script: script:
# yamllint disable rule:line-length # yamllint disable rule:line-length
...@@ -24,7 +24,7 @@ lint templates: ...@@ -24,7 +24,7 @@ lint templates:
for template in templates/*.yml for template in templates/*.yml
do do
echo "Checking $template" >&2 echo "Checking $template" >&2
gitlab-ci-linter --server "$CI_SERVER_URL" "$template" || EXITCODE=1 gitlab-ci-linter --server "$CI_SERVER_URL" --filename "$template" || EXITCODE=1
echo echo
done done
[ -z "${EXITCODE:-}" ] [ -z "${EXITCODE:-}" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment