From 42357e32fa577019855fe98f6b18a2ebc8d8675d Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 13 Mar 2022 13:20:13 +0200 Subject: [PATCH] Fix the lint job (I think). --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0132ebf..304461f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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:-}" ] -- GitLab