Commit c1ac84c5 authored by nimrod's avatar nimrod
Browse files

Fix the CI.

parent cb034503
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ lint templates:
  image: registry.shore.co.il/ci-images:pre-commit
  stage: test
  before_script:
    # yamllint disable-line rule:line-length
    - python3 -m pip install git+https://gitlab.com/devopshq/gitlab-ci-linter#master
    - gitlab-ci-linter --help
  script:
@@ -15,10 +16,10 @@ lint templates:
      do
        echo "Checking $template" >&2
        gitlab-ci-linter --server "$CI_SERVER_URL" --filename "$template" || EXITCODE=1
        echo
      done
    # yamllint enable rule:line-length
    - |
      [ -z "${EXITCODE:-}" ]
    # yamllint enable rule:line-length
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
  cache: