unbound/.gitlab/testing.yaml
2025-07-18 18:17:14 +02:00

25 lines
679 B
YAML

variables:
DEBIAN_FRONTEND: "noninteractive"
DOCKER_HOST: "tcp://docker:2375"
DOCKER_TLS_CERTDIR: ""
services:
- 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
parallel:
matrix:
- image: "debian"
tag: "12"
- image: "ubuntu"
tag: "22.04"
- image: "ubuntu"
tag: "24.04"