Skip to content

Commit bcef385

Browse files
Kristina Hanicovambroz
authored andcommitted
ci: Add Centos Stream 10 runner
1 parent 9810c6f commit bcef385

1 file changed

Lines changed: 48 additions & 2 deletions

File tree

.gitlab/ci/centos.yml

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.centos-openssl-backend:
2-
variables:
3-
DISTRO: cryptsetup-centos-stream-9
42
extends:
53
- .fail_if_coredump_generated
64
before_script:
@@ -29,6 +27,7 @@ test-main-commit-centos-stream9:
2927
stage: test
3028
interruptible: true
3129
variables:
30+
DISTRO: cryptsetup-centos-stream-9
3231
RUN_SSH_PLUGIN_TEST: "1"
3332
RUN_KEYRING_TRUSTED_TEST: "1"
3433
rules:
@@ -51,6 +50,53 @@ test-mergerq-centos-stream9:
5150
stage: test
5251
interruptible: true
5352
variables:
53+
DISTRO: cryptsetup-centos-stream-9
54+
RUN_SSH_PLUGIN_TEST: "1"
55+
RUN_KEYRING_TRUSTED_TEST: "1"
56+
rules:
57+
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
58+
when: never
59+
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
60+
when: never
61+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
62+
script:
63+
- make -j
64+
- make -j -C tests check-programs
65+
- sudo -E make check
66+
67+
test-main-commit-centos-stream10:
68+
extends:
69+
- .centos-openssl-backend
70+
tags:
71+
- libvirt
72+
- cryptsetup-centos-stream-10
73+
stage: test
74+
interruptible: true
75+
variables:
76+
DISTRO: cryptsetup-centos-stream-10
77+
RUN_SSH_PLUGIN_TEST: "1"
78+
RUN_KEYRING_TRUSTED_TEST: "1"
79+
rules:
80+
- if: $RUN_SYSTEMD_PLUGIN_TEST != null
81+
when: never
82+
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
83+
when: never
84+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
85+
script:
86+
- make -j
87+
- make -j -C tests check-programs
88+
- sudo -E make check
89+
90+
test-mergerq-centos-stream10:
91+
extends:
92+
- .centos-openssl-backend
93+
tags:
94+
- libvirt
95+
- cryptsetup-centos-stream-10
96+
stage: test
97+
interruptible: true
98+
variables:
99+
DISTRO: cryptsetup-centos-stream-10
54100
RUN_SSH_PLUGIN_TEST: "1"
55101
RUN_KEYRING_TRUSTED_TEST: "1"
56102
rules:

0 commit comments

Comments
 (0)