Commit 856ff24c authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: make testing stage look pretty

parent df54700c
Loading
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
---

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"