Commit a3784877 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: attempt 490

parent 5f78285d
Loading
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
---
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: