forked from adfinis/ansible-role-bareos_console
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
42 lines (39 loc) · 937 Bytes
/
.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
---
image: "robertdebock/github-action-molecule:6.0.0"
variables:
PY_COLORS: 1
molecule:
script:
- if [ -f tox.ini ] ; then tox ; fi
- if [ ! -f tox.ini ] ; then molecule test ; fi
rules:
- if: $CI_COMMIT_REF_NAME == "master"
parallel:
matrix:
- image: "debian"
tag: "latest"
- image: "debian"
tag: "bullseye"
- image: "debian"
tag: "buster"
- image: "enterpriselinux"
tag: "7"
- image: "enterpriselinux"
tag: "8"
- image: "enterpriselinux"
tag: "latest"
- image: "fedora"
tag: "37"
- image: "fedora"
tag: "38"
- image: "opensuse"
tag: "latest"
- image: "ubuntu"
tag: "latest"
- image: "ubuntu"
tag: "focal"
galaxy:
script:
- ansible-galaxy role import --api-key ${GALAXY_API_KEY} adfinis ${CI_PROJECT_NAME}
rules:
- if: $CI_COMMIT_TAG != null