Skip to content

Commit 91a870a

Browse files
trwsgrondo
authored andcommitted
matrix: tag containers w/ arch, and include security
problem: the containers were being built and tagged inconsistently, we used to only build multi-arch for bookworm, so only that one needed the explicit tag, now all the multi-arch ones do. We are also inconsistent about the inclusion of caliper and flux-security solution: add the platform key to all the multi-arch tagging containers, and ensure they all build with flux-security and caliper to match the arm64 containers
1 parent 93edbef commit 91a870a

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/test/generate-matrix.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,17 @@ def __str__(self):
163163
platform="linux/arm64",
164164
docker_tag=True,
165165
command_args="--install-only ",
166+
args=(
167+
"--prefix=/usr"
168+
" --sysconfdir=/etc"
169+
" --with-systemdsystemunitdir=/etc/systemd/system"
170+
" --localstatedir=/var"
171+
" --with-flux-security"
172+
),
166173
)
167174

175+
# builds to match arm64 images must have linux/amd64 platform explicitly
176+
168177
# Debian: gcc-12, content-s3, distcheck
169178
matrix.add_build(
170179
name="bookworm - gcc-12,content-s3,distcheck",
@@ -201,6 +210,7 @@ def __str__(self):
201210
args="--with-flux-security --enable-caliper",
202211
)
203212

213+
204214
# Ubuntu: TEST_INSTALL
205215
matrix.add_build(
206216
name="noble - test-install",
@@ -244,6 +254,7 @@ def __str__(self):
244254
TEST_INSTALL="t",
245255
),
246256
platform="linux/amd64",
257+
args="--with-flux-security --enable-caliper",
247258
docker_tag=True,
248259
)
249260

@@ -255,18 +266,11 @@ def __str__(self):
255266
docker_tag=True,
256267
)
257268

258-
# RHEL8 clone
259-
matrix.add_build(
260-
name="el8",
261-
image="el8",
262-
env=dict(PYTHON_VERSION="3.6", LDFLAGS="-Wl,-z,relro -Wl,-z,now"),
263-
docker_tag=True,
264-
)
265-
266269
# RHEL8 clone
267270
matrix.add_build(
268271
name="el8 - ascii",
269272
image="el8",
273+
env=dict(PYTHON_VERSION="3.6", LDFLAGS="-Wl,-z,relro -Wl,-z,now"),
270274
args="--enable-broken-locale-mode",
271275
)
272276

@@ -293,6 +297,7 @@ def __str__(self):
293297
" --with-flux-security"
294298
" --enable-caliper"
295299
),
300+
platform="linux/amd64",
296301
docker_tag=True,
297302
)
298303

0 commit comments

Comments
 (0)