Commit d81716ab authored by Ben Bodenmiller's avatar Ben Bodenmiller Committed by Stan Hu

Use yamllint Docker image that is maintained

parent 45384ccd
...@@ -4,11 +4,11 @@ lint-ci-gitlab: ...@@ -4,11 +4,11 @@ lint-ci-gitlab:
extends: extends:
- .default-retry - .default-retry
- .yaml:rules - .yaml:rules
image: sdesbure/yamllint:latest image: pipelinecomponents/yamllint:latest
stage: test stage: test
needs: [] needs: []
variables: variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
script: script:
- '[[ ! -d "ee/" ]] || export LINT_PATHS="$LINT_PATHS ee/changelogs"' - '[[ ! -d "ee/" ]] || export LINT_PATHS="$LINT_PATHS ee/changelogs"'
- yamllint $LINT_PATHS - yamllint -f colored $LINT_PATHS
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment