diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ad974bd1963547b7aaf20c22d767ef6d6baa2bf..c492adcac6b6faa3aadf5c14dc82014a1f3b1b68 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,14 @@ --- -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