-
Notifications
You must be signed in to change notification settings - Fork 18
/
.gitlab-ci.yml
67 lines (55 loc) · 1.29 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
image: docker:git
services:
- docker:dind
stages:
- molecule-test
before_script:
- apk update && apk add --no-cache docker
python3-dev py3-pip docker gcc git curl build-base
autoconf automake py3-cryptography linux-headers
musl-dev libffi-dev openssl-dev openssh
- docker info
- python3 --version
- python3 -m venv venv
- source venv/bin/activate
- pip3 install --upgrade pip pip-tools
- pip-sync requirements.txt requirements-dev.txt
- ansible --version
- molecule --version
centos7:
stage: molecule-test
script:
- molecule test --scenario-name centos7
centos8:
stage: molecule-test
script:
- molecule test --scenario-name centos8
# debian8:
# stage: molecule-test
# script:
# - molecule test --scenario-name debian8
debian9:
stage: molecule-test
script:
- molecule test --scenario-name debian9
debian10:
stage: molecule-test
script:
- molecule test --scenario-name debian10
fedora:
stage: molecule-test
script:
- molecule test --scenario-name fedora
ubuntu1604:
stage: molecule-test
script:
- molecule test --scenario-name ubuntu1604
ubuntu1804:
stage: molecule-test
script:
- molecule test --scenario-name ubuntu1804
ubuntu2004:
stage: molecule-test
script:
- molecule test --scenario-name ubuntu2004