From 856ff24c0f32449b5d8c9fa4081d4a3859b04e42 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 18 Jul 2025 18:47:00 +0200 Subject: [PATCH] feat: make testing stage look pretty --- .gitlab/testing.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitlab/testing.yaml b/.gitlab/testing.yaml index 7acf649..9e5a576 100644 --- a/.gitlab/testing.yaml +++ b/.gitlab/testing.yaml @@ -1,4 +1,5 @@ --- + variables: DEBIAN_FRONTEND: "noninteractive" DOCKER_HOST: "tcp://docker:2375" @@ -11,16 +12,19 @@ molecule: stage: "testing" image: "docker:latest" script: - - "apk add \ - --no-cache \ + + # install python, pip and git + - "apk add --no-cache \ python3 \ py3-pip \ git" - - "pip3 install \ - --break-system-packages \ - --no-cache-dir \ + + # 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"