forked from mrlesmithjr/ansible-mariadb-galera-cluster
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
82 lines (67 loc) · 1.55 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
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
rocky8:
stage: molecule-test
script:
- molecule test --scenario-name rocky8
rocky9:
stage: molecule-test
script:
- molecule test --scenario-name rocky9
debian9:
stage: molecule-test
script:
- molecule test --scenario-name debian9
debian10:
stage: molecule-test
script:
- molecule test --scenario-name debian10
debian11:
stage: molecule-test
script:
- molecule test --scenario-name debian11
#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
ubuntu2204:
stage: molecule-test
script:
- molecule test --scenario-name ubuntu2204