-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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
debian10:
stage: molecule-test
script:
- molecule test --scenario-name debian10
debian11:
stage: molecule-test
script:
- molecule test --scenario-name debian11
fedora36:
stage: molecule-test
script:
- molecule test --scenario-name fedora36
fedora37:
stage: molecule-test
script:
- molecule test --scenario-name fedora37
fedora38:
stage: molecule-test
script:
- molecule test --scenario-name fedora38
rocky8:
stage: molecule-test
script:
- molecule test --scenario-name rocky8
ubuntu2004:
stage: molecule-test
script:
- molecule test --scenario-name ubuntu2004
ubuntu2204:
stage: molecule-test
script:
- molecule test --scenario-name ubuntu2204