Commit 42357e32 authored by nimrod's avatar nimrod
Browse files

Fix the lint job (I think).

parent bad1954d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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:-}" ]