blob: 7d3224a461d3a1aa5d9395e416abf6aa270ed2d6 [file] [log] [blame]
Nico Huberc0b52db2022-12-15 12:42:32 +00001ANITA_TAGS := \
Nico Huber5e8b3392024-04-21 13:33:56 +02002 anita\:10.0-amd64 anita\:10.0-i386 \
Nico Huberb50d73d2023-03-01 17:25:12 +00003 anita\:9.3-amd64 anita\:9.3-i386 anita\:9.3-sparc64 \
Nico Huberc0b52db2022-12-15 12:42:32 +00004 anita\:8.2-amd64 anita\:8.2-i386 \
5 anita\:7.1-amd64 anita\:7.1-i386 \
6
7MULTIARCH_TAGS := \
8 centos\:7.6-armhfp-clean centos\:7.6-amd64-clean \
9 centos\:7.3-aarch64-clean centos\:7.3-amd64-clean \
10 centos\:7.2-amd64-clean \
11 $(foreach a,x86_64 aarch64, \
12 $(foreach v,34 33 32 31 30 29 25 24, \
13 fedora\:$(v)-$(a))) \
14 $(foreach a,ppc64le, \
15 $(foreach v,34 33 29 25 24, \
16 fedora\:$(v)-$(a))) \
17 $(foreach a,s390x, \
18 $(foreach v,34 33 32 31 30 29, \
19 fedora\:$(v)-$(a))) \
20 fedora\:28-armhfp \
21 $(foreach a,ppc64el armhf mipsel amd64 i386, \
22 $(foreach v,bullseye buster stretch, \
23 debian-debootstrap\:$(a)-$(v))) \
24 $(foreach a,arm64 mips, \
25 $(foreach v,buster stretch, \
26 debian-debootstrap\:$(a)-$(v))) \
27 $(foreach a,ppc64el arm64 armhf amd64, \
28 $(foreach v,jammy focal bionic xenial, \
29 ubuntu-debootstrap\:$(a)-$(v))) \
30 $(foreach a,i386, \
31 $(foreach v,bionic xenial, \
32 ubuntu-debootstrap\:$(a)-$(v))) \
33 ubuntu-debootstrap\:powerpc-xenial \
34 $(foreach a,aarch64 armhf amd64 i386, \
35 $(foreach v,v3.14 v3.13 v3.12 v3.11 v3.10 v3.9 v3.8 v3.7 v3.6, \
36 alpine\:$(a)-$(v))) \
37
Nico Huber59848a92023-03-04 00:41:18 +000038ALMALINUX_TAGS := \
39 $(foreach a,amd64 arm64v8 ppc64le s390x, \
40 $(foreach v,8 9, \
41 $(a)/almalinux\:$(v)))
42
Nico Huberf137f442023-03-03 17:12:14 +000043OFFICIAL_TAGS := \
Nico Huber2044af02023-03-04 00:40:47 +000044 $(foreach a,ppc64le s390x arm64v8 amd64, \
45 $(foreach v,37 36 35, \
46 $(a)/fedora\:$(v))) \
Nico Huber494561a2023-03-03 17:12:32 +000047 $(foreach a,ppc64le mips64le s390x arm64v8 arm32v7 arm32v5 amd64 i386, \
48 $(foreach v,bookworm, \
49 $(a)/debian\:$(v))) \
Nico Huberf137f442023-03-03 17:12:14 +000050 $(foreach a,ppc64le s390x arm64v8 arm32v7 arm32v6 amd64 i386, \
51 $(foreach v,3.17 3.16 3.15, \
52 $(a)/alpine\:$(v))) \
Nico Huber59848a92023-03-04 00:41:18 +000053 $(ALMALINUX_TAGS)
Nico Huberf137f442023-03-03 17:12:14 +000054
Nico Huberc0b52db2022-12-15 12:42:32 +000055OTHER_TAGS := djgpp\:6.1.0
56
Nico Huber05f0f7c2023-03-03 17:08:16 +000057ALL_TAGS := $(ANITA_TAGS) $(MULTIARCH_TAGS) $(OFFICIAL_TAGS) $(OTHER_TAGS)
Nico Huberc0b52db2022-12-15 12:42:32 +000058
59BROKEN_TAGS := anita\:7.1-amd64 anita\:7.1-i386 \
60 centos\:7.6-armhfp-clean \
Nico Huber2044af02023-03-04 00:40:47 +000061 arm64v8/fedora\:35 fedora\:30-s390x fedora\:28-armhfp \
Nico Huberc0b52db2022-12-15 12:42:32 +000062
63WORKING_TAGS := $(filter-out $(BROKEN_TAGS),$(ALL_TAGS))
64
65arch_filter = $(sort \
66 $(foreach arch,$(1), \
Nico Huber05f0f7c2023-03-03 17:08:16 +000067 $(filter-out $(subst $(arch),,$(MULTIARCH_TAGS) $(OFFICIAL_TAGS)), \
68 $(MULTIARCH_TAGS) $(OFFICIAL_TAGS))))
Nico Huberc0b52db2022-12-15 12:42:32 +000069
70machine_map = \
71 $(if $(filter i386 i686 x86,$(1)),i386 x86, \
72 $(if $(filter x86_64,$(1)),amd64 i386 x86, \
73 $(if $(filter armv7l armv6l,$(1)),armhf, \
74 $(if $(filter aarch64,$(1)),aarch64 arm64, \
75 $(if $(filter ppc64le,$(1)),ppc64le ppc64el, \
76 $(if $(filter ppc,$(1)),powerpc, \
77 $(if $(filter mips,$(1)),mips mipsel, \
78 $(1))))))))
79
80NATIVE_TAGS := $(call arch_filter,$(call machine_map,$(shell uname -m)))
81
82# rather arbitrary selection of images that seem to work (focus on amd64)
83DEFAULT_TAGS := \
Nico Huberb50d73d2023-03-01 17:25:12 +000084 anita\:9.3-amd64 \
85 anita\:9.3-i386 \
Nico Huberc0b52db2022-12-15 12:42:32 +000086 anita\:8.2-amd64 \
Nico Hubere49c2202022-12-11 17:31:39 +000087 anita\:8.2-i386 \
Nico Huberc0b52db2022-12-15 12:42:32 +000088 djgpp\:6.1.0 \
89 fedora\:30-aarch64 \
Nico Hubere49c2202022-12-11 17:31:39 +000090 fedora\:30-x86_64 \
91 fedora\:31-x86_64 \
92 fedora\:32-aarch64 \
93 fedora\:32-x86_64 \
94 fedora\:33-ppc64le \
95 fedora\:33-x86_64 \
96 fedora\:34-aarch64 \
97 fedora\:34-ppc64le \
98 fedora\:34-s390x \
99 fedora\:34-x86_64 \
100 centos\:7.6-amd64-clean \
Nico Huberc0b52db2022-12-15 12:42:32 +0000101 debian-debootstrap\:amd64-stretch \
Nico Hubere49c2202022-12-11 17:31:39 +0000102 debian-debootstrap\:arm64-stretch \
103 debian-debootstrap\:armhf-stretch \
Nico Huberc0b52db2022-12-15 12:42:32 +0000104 debian-debootstrap\:i386-stretch \
Nico Hubere49c2202022-12-11 17:31:39 +0000105 debian-debootstrap\:mipsel-stretch \
106 debian-debootstrap\:amd64-buster \
107 debian-debootstrap\:arm64-buster \
108 debian-debootstrap\:armhf-buster \
109 debian-debootstrap\:i386-buster \
110 debian-debootstrap\:mips-buster \
111 debian-debootstrap\:mipsel-buster \
112 debian-debootstrap\:ppc64el-buster \
113 debian-debootstrap\:amd64-bullseye \
114 debian-debootstrap\:armhf-bullseye \
115 debian-debootstrap\:i386-bullseye \
116 debian-debootstrap\:mipsel-bullseye \
117 debian-debootstrap\:ppc64el-bullseye \
Nico Huberc0b52db2022-12-15 12:42:32 +0000118 ubuntu-debootstrap\:amd64-bionic \
Nico Hubere49c2202022-12-11 17:31:39 +0000119 ubuntu-debootstrap\:arm64-bionic \
120 ubuntu-debootstrap\:i386-bionic \
121 ubuntu-debootstrap\:amd64-focal \
122 ubuntu-debootstrap\:arm64-focal \
123 ubuntu-debootstrap\:armhf-focal \
124 ubuntu-debootstrap\:ppc64el-focal \
125 ubuntu-debootstrap\:amd64-jammy \
126 ubuntu-debootstrap\:arm64-jammy \
127 ubuntu-debootstrap\:armhf-jammy \
128 ubuntu-debootstrap\:ppc64el-jammy \
Nico Huberc0b52db2022-12-15 12:42:32 +0000129 alpine\:aarch64-v3.9 \
Nico Hubere49c2202022-12-11 17:31:39 +0000130 alpine\:amd64-v3.9 \
131 alpine\:i386-v3.9 \
132 alpine\:aarch64-v3.10 \
133 alpine\:amd64-v3.10 \
134 alpine\:armhf-v3.10 \
135 alpine\:i386-v3.10 \
136 alpine\:aarch64-v3.10 \
137 alpine\:amd64-v3.10 \
138 alpine\:armhf-v3.10 \
139 alpine\:i386-v3.10 \
140 alpine\:aarch64-v3.12 \
141 alpine\:amd64-v3.12 \
142 alpine\:i386-v3.12 \
143 alpine\:amd64-v3.14 \
144 alpine\:i386-v3.14 \
Nico Huberc0b52db2022-12-15 12:42:32 +0000145
146# also run all native tests by default
147DEFAULT_TAGS += $(filter-out $(DEFAULT_TAGS),$(NATIVE_TAGS))
148
149# original 1.0.x tags
15010X_TAGS := \
151 anita\:7.1-amd64 \
152 anita\:7.1-i386 \
153 djgpp\:6.1.0 \
154 alpine\:amd64-v3.6 \
155 alpine\:amd64-v3.7 \
156 alpine\:i386-v3.6 \
157 alpine\:i386-v3.7 \
158 centos\:7.2-amd64-clean \
159 centos\:7.3-aarch64-clean \
160 centos\:7.3-amd64-clean \
161 debian-debootstrap\:amd64-sid \
162 debian-debootstrap\:amd64-stretch \
163 debian-debootstrap\:armhf-stretch \
164 debian-debootstrap\:i386-sid \
165 debian-debootstrap\:i386-stretch \
166 debian-debootstrap\:mips-stretch \
167 debian-debootstrap\:mipsel-stretch \
168 debian-debootstrap\:powerpc-sid \
169 debian-debootstrap\:ppc64el-stretch \
170 fedora\:24-x86_64 \
171 fedora\:25-aarch64 \
172 fedora\:25-ppc64le \
173 fedora\:25-x86_64 \
174 ubuntu-debootstrap\:amd64-xenial \
175 ubuntu-debootstrap\:amd64-zesty \
176 ubuntu-debootstrap\:arm64-xenial \
177 ubuntu-debootstrap\:i386-xenial \
178 ubuntu-debootstrap\:i386-zesty \
179
180# additional tags added after initial release
18110X_TAGS += \
182 alpine\:aarch64-v3.8 \
183 alpine\:armhf-v3.8 \
184 alpine\:amd64-v3.8 \
185 alpine\:i386-v3.8 \
186 debian-debootstrap\:amd64-buster \
187 debian-debootstrap\:arm64-buster \
188 debian-debootstrap\:i386-buster \
189 ubuntu-debootstrap\:amd64-bionic \
190 ubuntu-debootstrap\:arm64-bionic \
191 ubuntu-debootstrap\:i386-bionic \
192
193# can only run what is still maintained
19410X_TAGS := $(filter $(10X_TAGS),$(ALL_TAGS))
195
196# original 1.1.x tags
19711X_TAGS := \
198 anita\:7.1-amd64 \
199 djgpp\:6.1.0 \
200 fedora\:30-x86_64 \
201 fedora\:30-aarch64 \
202 fedora\:29-x86_64 \
203 fedora\:25-x86_64 \
204 fedora\:25-ppc64le \
205 fedora\:25-aarch64 \
206 fedora\:24-x86_64 \
207 centos\:7.6-amd64-clean \
208 centos\:7.3-aarch64-clean \
209 centos\:7.3-amd64-clean \
210 centos\:7.2-amd64-clean \
211 debian-debootstrap\:ppc64el-stretch \
212 debian-debootstrap\:armhf-stretch \
213 debian-debootstrap\:mips-stretch \
214 debian-debootstrap\:mipsel-stretch \
215 debian-debootstrap\:amd64-stretch \
216 debian-debootstrap\:i386-stretch \
217 debian-debootstrap\:amd64-sid \
218 ubuntu-debootstrap\:arm64-xenial \
219 ubuntu-debootstrap\:amd64-xenial \
220 ubuntu-debootstrap\:powerpc-xenial \
221 ubuntu-debootstrap\:amd64-bionic \
222 alpine\:aarch64-v3.9 \
223 alpine\:amd64-v3.9 \
224 alpine\:amd64-v3.8 \
225 alpine\:amd64-v3.7 \
226 alpine\:amd64-v3.6 \
227 alpine\:armhf-v3.8 \
228 alpine\:i386-v3.9 \
229 alpine\:i386-v3.8 \
230 alpine\:i386-v3.7 \
231 alpine\:i386-v3.6 \
232 debian-debootstrap\:amd64-buster \
233 debian-debootstrap\:i386-buster \
234 debian-debootstrap\:i386-sid \
235 ubuntu-debootstrap\:armhf-xenial \
236 ubuntu-debootstrap\:i386-bionic \
237 ubuntu-debootstrap\:i386-xenial \
238 ubuntu-debootstrap\:ppc64el-xenial \
239
240# can only run what is still maintained
24111X_TAGS := $(filter $(11X_TAGS),$(ALL_TAGS))
242
Nico Huberf4a1b5d2022-09-27 14:02:36 +0000243# 1.2.x tags -- list was crafted late at the 1.2.1 release
24412X_TAGS := \
245 djgpp\:6.1.0 \
246 fedora\:30-aarch64 \
247 fedora\:30-x86_64 \
248 fedora\:31-x86_64 \
249 fedora\:32-aarch64 \
250 fedora\:32-x86_64 \
251 fedora\:33-ppc64le \
252 fedora\:33-x86_64 \
253 fedora\:34-aarch64 \
254 fedora\:34-ppc64le \
255 fedora\:34-s390x \
256 fedora\:34-x86_64 \
257 centos\:7.6-amd64-clean \
258 debian-debootstrap\:amd64-stretch \
259 debian-debootstrap\:arm64-stretch \
260 debian-debootstrap\:armhf-stretch \
261 debian-debootstrap\:i386-stretch \
262 debian-debootstrap\:mipsel-stretch \
263 debian-debootstrap\:amd64-buster \
264 debian-debootstrap\:arm64-buster \
265 debian-debootstrap\:armhf-buster \
266 debian-debootstrap\:i386-buster \
267 debian-debootstrap\:mips-buster \
268 debian-debootstrap\:mipsel-buster \
269 debian-debootstrap\:ppc64el-buster \
270 debian-debootstrap\:amd64-bullseye \
271 debian-debootstrap\:armhf-bullseye \
272 debian-debootstrap\:i386-bullseye \
273 debian-debootstrap\:mipsel-bullseye \
274 debian-debootstrap\:ppc64el-bullseye \
275 ubuntu-debootstrap\:amd64-bionic \
276 ubuntu-debootstrap\:arm64-bionic \
277 ubuntu-debootstrap\:i386-bionic \
278 ubuntu-debootstrap\:amd64-focal \
279 ubuntu-debootstrap\:arm64-focal \
280 ubuntu-debootstrap\:armhf-focal \
281 ubuntu-debootstrap\:ppc64el-focal \
282 ubuntu-debootstrap\:amd64-jammy \
283 ubuntu-debootstrap\:arm64-jammy \
284 ubuntu-debootstrap\:armhf-jammy \
285 ubuntu-debootstrap\:ppc64el-jammy \
286 alpine\:aarch64-v3.9 \
287 alpine\:amd64-v3.9 \
288 alpine\:i386-v3.9 \
289 alpine\:aarch64-v3.10 \
290 alpine\:amd64-v3.10 \
291 alpine\:armhf-v3.10 \
292 alpine\:i386-v3.10 \
293 alpine\:aarch64-v3.10 \
294 alpine\:amd64-v3.10 \
295 alpine\:armhf-v3.10 \
296 alpine\:i386-v3.10 \
297 alpine\:aarch64-v3.12 \
298 alpine\:amd64-v3.12 \
299 alpine\:i386-v3.12 \
300 alpine\:amd64-v3.14 \
301 alpine\:i386-v3.14 \
302
303# can only run what is still maintained
30412X_TAGS := $(filter $(12X_TAGS),$(ALL_TAGS))
305
Nico Huberc0b52db2022-12-15 12:42:32 +0000306default: $(DEFAULT_TAGS)
307
308native: $(NATIVE_TAGS)
309
310working: $(WORKING_TAGS)
311
312all: $(ALL_TAGS)
313
3141.0.x: export TEST_REVISION=refs/heads/1.0.x
3151.0.x: $(10X_TAGS)
316
3171.1.x: export TEST_REVISION=refs/heads/1.1.x
3181.1.x: $(11X_TAGS)
319
Nico Huberf4a1b5d2022-09-27 14:02:36 +00003201.2.x: export TEST_REVISION=refs/heads/1.2.x
3211.2.x: $(12X_TAGS)
322
Nico Huberc0b52db2022-12-15 12:42:32 +0000323show-default:
324 @printf "%s\n" $(DEFAULT_TAGS)
325
326show-native:
327 @printf "%s\n" $(NATIVE_TAGS)
328
329show-working:
330 @printf "%s\n" $(WORKING_TAGS)
331
332show-all:
333 @printf "%s\n" $(ALL_TAGS)
334
335show-1.0.x:
336 @printf "%s\n" $(10X_TAGS)
337
338show-1.1.x:
339 @printf "%s\n" $(11X_TAGS)
340
Nico Huberf4a1b5d2022-09-27 14:02:36 +0000341show-1.2.x:
342 @printf "%s\n" $(12X_TAGS)
343
344.PHONY: default native all 1.0.x 1.1.x 1.2.x
345.PHONY: show-default show-native show-all show-1.0.x show-1.1.x show-1.2.x
Nico Huberc0b52db2022-12-15 12:42:32 +0000346.PHONY: $(ALL_TAGS)