-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
74 lines (74 loc) · 2.35 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
# Copyright 2022-2024 Chris Croome
#
# This file is part of the Webarchitects Firefox Ansible role.
#
# The Webarchitects Firefox Ansible 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 Firefox Ansible 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 Firefox Ansible 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"
PRE_COMMIT_COLOR: always
PY_COLORS: "1"
before_script:
- whoami
- pwd
- chmod 700 $(pwd)
- which ansible
- ansible --version
- which yamllint
- yamllint --version
- which molecule
- molecule --version
# libdbus-glib-1-2 is required by jammy
- apt update
- apt -yq install libdbus-glib-1-2
stages:
- jammy
- noble
- bookworm
- trixie
bookworm:
image: registry.git.coop/webarch/containers/images/bookworm:20241008
stage: bookworm
script:
- pre-commit install
- pre-commit run --all-files
- molecule test --all
trixie:
image: registry.git.coop/webarch/containers/images/trixie:20241008
stage: trixie
script:
- pre-commit install
- pre-commit run --all-files
- molecule test --all
jammy:
image: registry.git.coop/webarch/containers/images/jammy:20241008
stage: jammy
script:
- pre-commit install
- pre-commit run --all-files
- molecule test --all
noble:
image: registry.git.coop/webarch/containers/images/noble:20241008
stage: noble
script:
- pre-commit install
- pre-commit run --all-files
- molecule test --all
...