unbound/.gitlab/testing.yaml

30 lines
551 B
YAML

---
variables:
DEBIAN_FRONTEND: "noninteractive"
DOCKER_HOST: "tcp://docker:2375"
DOCKER_TLS_CERTDIR: ""
services:
- "docker:dind"
molecule:
stage: "testing"
image: "docker:dind"
script:
# install python, pip and git
- "apk add --no-cache \
python3 \
py3-pip \
git"
# 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"