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:
stage: test
before_script:
# 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
script:
# yamllint disable rule:line-length
......@@ -24,7 +24,7 @@ lint templates:
for template in templates/*.yml
do
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
done
[ -z "${EXITCODE:-}" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment