Skip to content
Snippets Groups Projects
Commit bf2e760f authored by Thomas Schneider's avatar Thomas Schneider
Browse files

CI: Switch to plain Alpine image with modern ansible-lint

This also enables GitLab-parseable ansible-lint output.
parent 7c64e68e
No related branches found
No related tags found
1 merge request!11CI: Switch to plain Alpine image with modern ansible-lint
Pipeline #5370 failed
---
image: registry.git.fsmpi.rwth-aachen.de/infra/ci-containers/fsmpi-ansible:buster
image: alpine:3.18
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apk --no-cache add ansible ansible-lint yamllint ripgrep black
- export LANG=en_US.UTF-8
- chmod o-w .
- apt-get -qq update && apt-get -qq install -y ansible-lint ripgrep
- ansible --version
- ansible-lint --version
- yamllint --version
......@@ -19,7 +19,12 @@ stages:
test:
stage: test
script:
- >-
ansible-lint
--format codeclimate
> codeclimate.json
- yamllint .
- ansible-lint ./*/
# yamllint disable-line rule:line-length
- "! rg --fixed-strings 'passwordstore' ./*/templates"
artifacts:
reports:
codequality: codeclimate.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment