diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 767f63d..da273d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,9 +16,9 @@ include: # deployment - local: ".gitlab/deployment.yaml" - local: ".gitlab/gitleaks.yaml" - - local: ".gitlab/testing.yaml" # linting - - component: "$CI_SERVER_FQDN/components/ansible/linting@v2.0.1" + - component: "$CI_SERVER_FQDN/components/ansible/linting@v3.0.0" + - component: "$CI_SERVER_FQDN/components/ansible/testing@v3.0.0" - component: "$CI_SERVER_FQDN/components/markdownlint/markdownlint@1.0.0" - component: "$CI_SERVER_FQDN/components/yamllint/yamllint@1.0.2" diff --git a/.gitlab/testing.yaml b/.gitlab/testing.yaml deleted file mode 100644 index 2f787bb..0000000 --- a/.gitlab/testing.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- - -variables: - DEBIAN_FRONTEND: "noninteractive" - DOCKER_HOST: "tcp://docker:2375" - DOCKER_TLS_CERTDIR: "" - -services: - - "docker:dind" - -molecule: - stage: "testing" - image: "docker:dind" - script: - - # install python, pip and git - - "apk add --no-cache \ - python3 \ - py3-pip \ - git" - - # pip install ansible and molecule - - "pip3 install --break-system-packages --no-cache-dir \ - ansible-core \ - ansible-lint \ - molecule \ - molecule-plugins[docker]" - - # run molecule - - "molecule test"