From a3784877801d7305d833c929218f05dd13639901 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 18 Jul 2025 18:14:33 +0200 Subject: [PATCH] feat: attempt 490 --- .gitlab/testing.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitlab/testing.yaml b/.gitlab/testing.yaml index fd06e91..fd3b691 100644 --- a/.gitlab/testing.yaml +++ b/.gitlab/testing.yaml @@ -1,20 +1,19 @@ ---- variables: DEBIAN_FRONTEND: "noninteractive" + DOCKER_HOST: "tcp://docker:2375" + DOCKER_TLS_CERTDIR: "" + +services: + - docker:dind molecule: stage: "testing" - image: "python:3.13" + image: "docker:latest" script: - - apt-get update -qq - - apt-get -y -qq install yamllint docker.io - - mkdir -p /etc/docker - - echo '{"features":{"buildkit":true},"exec-opts":["native.cgroupdriver=systemd"]}' > /etc/docker/daemon.json - - service docker restart || true - - pip install --no-cache-dir ansible-lint molecule molecule-plugins[docker] ansible-core + - apk add --no-cache python3 py3-pip git + - pip3 install --no-cache-dir ansible-lint molecule molecule-plugins[docker] ansible-core - mkdir -p ~/.ansible/roles - ln -s $CI_PROJECT_DIR ~/.ansible/roles/siempie.dns - - cd $CI_PROJECT_DIR - ANSIBLE_ROLES_PATH=~/.ansible/roles:$CI_PROJECT_DIR molecule test parallel: matrix: