Add gitlab ci
This commit is contained in:
23
.gitlab-ci.yml
Normal file
23
.gitlab-ci.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user