From d9de3b072be511372b94dec776653a35af7b08a3 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 18 Jul 2025 18:42:09 +0200 Subject: [PATCH] feat: try to make it more simple --- .gitlab/testing.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitlab/testing.yaml b/.gitlab/testing.yaml index 63bd6f7..00c8b67 100644 --- a/.gitlab/testing.yaml +++ b/.gitlab/testing.yaml @@ -1,20 +1,29 @@ +--- variables: DEBIAN_FRONTEND: "noninteractive" DOCKER_HOST: "tcp://docker:2375" DOCKER_TLS_CERTDIR: "" services: - - docker:dind + - "docker:dind" molecule: stage: "testing" image: "docker:latest" script: - - apk add --no-cache python3 py3-pip git - - pip3 install --break-system-packages --no-cache-dir ansible-core ansible-lint molecule molecule-plugins[docker] - - mkdir -p ~/.ansible/roles - - ln -s $CI_PROJECT_DIR ~/.ansible/roles/siempie.dns - - ANSIBLE_ROLES_PATH=~/.ansible/roles:$CI_PROJECT_DIR molecule test + - "apk add \ + --no-cache \ + python3 \ + py3-pip \ + git" + - "pip3 install \ + --break-system-packages \ + --no-cache-dir \ + ansible-core \ + ansible-lint \ + molecule \ + molecule-plugins[docker]" + - "molecule test" parallel: matrix: - image: "debian"