feat: attempt 490
This commit is contained in:
parent
5f78285d91
commit
a378487780
1 changed files with 8 additions and 9 deletions
|
|
@ -1,20 +1,19 @@
|
||||||
---
|
|
||||||
variables:
|
variables:
|
||||||
DEBIAN_FRONTEND: "noninteractive"
|
DEBIAN_FRONTEND: "noninteractive"
|
||||||
|
DOCKER_HOST: "tcp://docker:2375"
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
|
||||||
molecule:
|
molecule:
|
||||||
stage: "testing"
|
stage: "testing"
|
||||||
image: "python:3.13"
|
image: "docker:latest"
|
||||||
script:
|
script:
|
||||||
- apt-get update -qq
|
- apk add --no-cache python3 py3-pip git
|
||||||
- apt-get -y -qq install yamllint docker.io
|
- pip3 install --no-cache-dir ansible-lint molecule molecule-plugins[docker] ansible-core
|
||||||
- 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
|
|
||||||
- mkdir -p ~/.ansible/roles
|
- mkdir -p ~/.ansible/roles
|
||||||
- ln -s $CI_PROJECT_DIR ~/.ansible/roles/siempie.dns
|
- ln -s $CI_PROJECT_DIR ~/.ansible/roles/siempie.dns
|
||||||
- cd $CI_PROJECT_DIR
|
|
||||||
- ANSIBLE_ROLES_PATH=~/.ansible/roles:$CI_PROJECT_DIR molecule test
|
- ANSIBLE_ROLES_PATH=~/.ansible/roles:$CI_PROJECT_DIR molecule test
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue