ci: Add GitLab CI/CD configuration

- Set up pipeline for automated testing
- Configure Molecule integration
This commit is contained in:
Daniel Akulenok
2022-08-30 16:01:31 +02:00
committed by Daniel Akulenok
parent 06b18a8224
commit ab300c5cd6

23
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,23 @@
---
image: docker:stable-dind
services:
- docker:dind
before_script:
- apk add --no-cache
python3 python3-dev py3-pip gcc git curl build-base
autoconf automake py3-cryptography linux-headers
musl-dev libffi-dev openssl-dev openssh
- docker info
- python3 --version
- python3 -m pip install ansible molecule[docker]
ansible-lint
- ansible --version
- molecule --version
molecule:
stage: test
script:
- molecule test