@@ -15,6 +15,18 @@ variables:
15
15
rules :
16
16
- if : ' $CI_COMMIT_TAG =~ /^.*ce\.\d.*$/'
17
17
18
+ .distribution-amd64-tags :
19
+ - distribution-runner
20
+ - amd64
21
+
22
+ .distribution-arm64-tags :
23
+ - distribution-runner
24
+ - arm64
25
+
26
+ .distribution-armhf-tags :
27
+ - distribution-runner
28
+ - armhf
29
+
18
30
before_script :
19
31
- bash scripts/ci/prepare_bundle.sh
20
32
@@ -43,6 +55,7 @@ before_script:
43
55
script :
44
56
- !reference [.common_install_scripts, script]
45
57
- apt install -y ${package_name_version_dist} || (echo "Failed to install ${package_name_version_dist}" && exit 1)
58
+ tags : !reference [.distribution-amd64-tags]
46
59
47
60
.yum-install : &yum-install
48
61
stage : package
@@ -51,6 +64,7 @@ before_script:
51
64
script :
52
65
- !reference [.common_install_scripts, script]
53
66
- yum install -y ${package_name_version_dist} || (echo "Failed to install ${package_name_version_dist}" && exit 1)
67
+ tags : !reference [.distribution-amd64-tags]
54
68
55
69
.zypper-install : &zypper-install
56
70
stage : package
@@ -59,6 +73,19 @@ before_script:
59
73
script :
60
74
- !reference [.common_install_scripts, script]
61
75
- zypper install -y ${package_name_version_dist} || (echo "Failed to install ${package_name_version_dist}" && exit 1)
76
+ tags : !reference [.distribution-amd64-tags]
77
+
78
+ .apt-arm-install : &apt-arm-install
79
+ extends : .apt-install
80
+ tags : !reference [.distribution-arm64-tags]
81
+
82
+ .yum-arm-install : &yum-arm-install
83
+ extends : .yum-install
84
+ tags : !reference [.distribution-arm64-tags]
85
+
86
+ .zypper-arm-install : &zypper-arm-install
87
+ extends : .zypper-install
88
+ tags : !reference [.distribution-arm64-tags]
62
89
63
90
# apt based
64
91
Ubuntu-18.04-check :
@@ -69,59 +96,47 @@ Ubuntu-20.04-check:
69
96
extends : .apt-install
70
97
Ubuntu-20.04-arm64-check :
71
98
image : " ${BUILDER_IMAGE_REGISTRY}/ubuntu_20.04_arm64:${BUILDER_IMAGE_REVISION}"
72
- extends : .apt-install
73
- tags :
74
- - docker-arm-builder
99
+ extends : .apt-arm-install
75
100
Ubuntu-22.04-check :
76
101
image : " ${BUILDER_IMAGE_REGISTRY}/ubuntu_22.04:${BUILDER_IMAGE_REVISION}"
77
102
extends : .apt-install
78
103
Ubuntu-22.04-arm64-check :
79
104
image : " ${BUILDER_IMAGE_REGISTRY}/ubuntu_22.04_arm64:${BUILDER_IMAGE_REVISION}"
80
- extends : .apt-install
81
- tags :
82
- - docker-arm-builder
105
+ extends : .apt-arm-install
83
106
Debian-10-check :
84
107
image : " ${BUILDER_IMAGE_REGISTRY}/debian_10:${BUILDER_IMAGE_REVISION}"
85
108
extends : .apt-install
86
109
Debian-10-arm64-check :
87
110
image : " ${BUILDER_IMAGE_REGISTRY}/debian_10_arm64:${BUILDER_IMAGE_REVISION}"
88
- extends : .apt-install
89
- tags :
90
- - docker-arm-builder
111
+ extends : .apt-arm-install
91
112
Debian-11-check :
92
113
image : " ${BUILDER_IMAGE_REGISTRY}/debian_11:${BUILDER_IMAGE_REVISION}"
93
114
extends : .apt-install
94
115
Debian-11-arm64-check :
95
116
image : " ${BUILDER_IMAGE_REGISTRY}/debian_11_arm64:${BUILDER_IMAGE_REVISION}"
96
- extends : .apt-install
97
- tags :
98
- - docker-arm-builder
117
+ extends : .apt-arm-install
99
118
Debian-12-check :
100
119
image : " ${BUILDER_IMAGE_REGISTRY}/debian_12:${BUILDER_IMAGE_REVISION}"
101
120
extends : .apt-install
102
121
Debian-12-arm64-check :
103
122
image : " ${BUILDER_IMAGE_REGISTRY}/debian_12_arm64:${BUILDER_IMAGE_REVISION}"
104
- extends : .apt-install
105
- tags :
106
- - docker-arm-builder
123
+ extends : .apt-arm-install
107
124
Raspberry-Pi-2-Buster-check :
108
125
image : " ${BUILDER_IMAGE_REGISTRY}/rpi_10:${BUILDER_IMAGE_REVISION}"
109
126
extends :
110
127
- .apt-install
111
128
- .ce-tag-only
112
129
variables :
113
130
package_repository : ' raspberry-pi2'
114
- tags :
115
- - docker-arm-builder
131
+ tags : !reference [.distribution-armhf-tags]
116
132
Raspberry-Pi-2-Bullseye-check :
117
133
image : " ${BUILDER_IMAGE_REGISTRY}/rpi_11:${BUILDER_IMAGE_REVISION}"
118
134
extends :
119
135
- .apt-install
120
136
- .ce-tag-only
121
137
variables :
122
138
package_repository : ' raspberry-pi2'
123
- tags :
124
- - docker-arm-builder
139
+ tags : !reference [.distribution-armhf-tags]
125
140
Ubuntu-18.04-fips-check :
126
141
image : " ${BUILDER_IMAGE_REGISTRY}/ubuntu_18.04_fips:${BUILDER_IMAGE_REVISION}"
127
142
extends :
@@ -146,33 +161,25 @@ AlmaLinux-8-check:
146
161
extends : .yum-install
147
162
AlmaLinux-8-arm64-check :
148
163
image : " ${BUILDER_IMAGE_REGISTRY}/almalinux_8_arm64:${BUILDER_IMAGE_REVISION}"
149
- extends : .yum-install
150
- tags :
151
- - docker-arm-builder
164
+ extends : .yum-arm-install
152
165
AlmaLinux-9-check :
153
166
image : " ${BUILDER_IMAGE_REGISTRY}/almalinux_9:${BUILDER_IMAGE_REVISION}"
154
167
extends : .yum-install
155
168
AlmaLinux-9-arm64-check :
156
169
image : " ${BUILDER_IMAGE_REGISTRY}/almalinux_9_arm64:${BUILDER_IMAGE_REVISION}"
157
- extends : .yum-install
158
- tags :
159
- - docker-arm-builder
170
+ extends : .yum-arm-install
160
171
AmazonLinux-2-check :
161
172
image : " ${BUILDER_IMAGE_REGISTRY}/amazonlinux_2:${BUILDER_IMAGE_REVISION}"
162
173
extends : .yum-install
163
174
AmazonLinux-2-arm64-check :
164
175
image : " ${BUILDER_IMAGE_REGISTRY}/amazonlinux_2_arm64:${BUILDER_IMAGE_REVISION}"
165
- extends : .yum-install
166
- tags :
167
- - docker-arm-builder
176
+ extends : .yum-arm-install
168
177
AmazonLinux-2023-check :
169
178
image : " ${BUILDER_IMAGE_REGISTRY}/amazonlinux_2023:${BUILDER_IMAGE_REVISION}"
170
179
extends : .yum-install
171
180
AmazonLinux-2023-arm64-check :
172
181
image : " ${BUILDER_IMAGE_REGISTRY}/amazonlinux_2023_arm64:${BUILDER_IMAGE_REVISION}"
173
- extends : .yum-install
174
- tags :
175
- - docker-arm-builder
182
+ extends : .yum-arm-install
176
183
AlmaLinux-8-fips-check :
177
184
image : " ${BUILDER_IMAGE_REGISTRY}/almalinux_8_fips:${BUILDER_IMAGE_REVISION}"
178
185
extends :
@@ -194,9 +201,7 @@ OpenSUSE-15.4-check:
194
201
extends : .zypper-install
195
202
OpenSUSE-15.4-arm64-check :
196
203
image : " ${BUILDER_IMAGE_REGISTRY}/opensuse_15.4_arm64:${BUILDER_IMAGE_REVISION}"
197
- extends : .zypper-install
198
- tags :
199
- - docker-arm-builder
204
+ extends : .zypper-arm-install
200
205
SLES-12.5-check :
201
206
image : " ${DEV_BUILDER_IMAGE_REGISTRY}/sles_12sp5:${BUILDER_IMAGE_REVISION}"
202
207
extends :
0 commit comments