-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
72 lines (72 loc) · 2.21 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
# Copyright 2020-2024 Chris Croome
#
# This file is part of the Webarchitects RabbitMQ role.
#
# The Webarchitects RabbitMQ role is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# The Webarchitects RabbitMQ role is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with the Webarchitects RabbitMQ role. If not, see <https://www.gnu.org/licenses/>.
---
variables:
ANSIBLE_ANY_ERRORS_FATAL: "1"
ANSIBLE_CALLBACK_RESULT_FORMAT: "yaml"
ANSIBLE_DEFAULT_VERBOSITY: "1"
ANSIBLE_DIFF_ALWAYS: "1"
ANSIBLE_DISPLAY_SKIPPED_HOSTS: "0"
ANSIBLE_ERROR_ON_UNDEFINED_VARS: "1"
ANSIBLE_FORCE_COLOR: "1"
ANSIBLE_INJECT_FACT_VARS: "0"
ANSIBLE_NOCOWS: "1"
ANSIBLE_REMOTE_TMP: "/tmp"
ANSIBLE_SHELL_ALLOW_WORLD_READABLE_TEMP: "1"
DEBIAN_FRONTEND: "noninteractive"
DEFAULT_MANAGED_STR: "Ansible managed"
MOLECULE_VERBOSITY: "0"
PY_COLORS: "1"
PRE_COMMIT_COLOR: always
before_script:
- whoami
- pwd
- which ansible
- ansible --version
- which yamllint
- yamllint --version
- which molecule
- molecule --version
- ip addr
- hostname -f
stages:
- bookworm
- jammy
- noble
- trixie
bookworm:
image: registry.git.coop/webarch/containers/images/bookworm:20241008
stage: bookworm
script:
- pre-commit install
- pre-commit run --all-files
- molecule test
jammy:
image: registry.git.coop/webarch/containers/images/jammy:20241008
stage: jammy
script:
- pre-commit install
- pre-commit run --all-files
- molecule test
noble:
image: registry.git.coop/webarch/containers/images/noble:20241008
stage: noble
script:
- pre-commit install
- pre-commit run --all-files
- molecule test
trixie:
image: registry.git.coop/webarch/containers/images/trixie:20241008
stage: trixie
script:
- pre-commit install
- pre-commit run --all-files
- molecule test
...