Skip to content

Commit 840d405

Browse files
committed
WIP: add nftables+firewalld tests to CI
Signed-off-by: Rob Murray <[email protected]>
1 parent 1277e5f commit 840d405

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/.test.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ jobs:
144144
// { os: 'ubuntu-24.04', mode: 'rootless-systemd' }, // FIXME: https://github.com/moby/moby/issues/44084
145145
];
146146
if ("${{ inputs.storage }}" == "snapshotter") {
147-
includes.push({ os: 'ubuntu-24.04', mode: 'firewalld' });
147+
includes.push({ os: 'ubuntu-24.04', mode: 'iptables+firewalld' });
148148
includes.push({ os: 'ubuntu-24.04', mode: 'nftables' });
149+
includes.push({ os: 'ubuntu-24.04', mode: 'nftables+firewalld' });
149150
}
150151
await core.group(`Set matrix`, async () => {
151152
core.info(`matrix: ${JSON.stringify(includes)}`);
@@ -336,15 +337,15 @@ jobs:
336337
// statically define the list of test suites that we want to run.
337338
if ("${{ inputs.storage }}" == "snapshotter") {
338339
matrix.include.push({
339-
'mode': 'firewalld',
340+
'mode': 'iptables+firewalld',
340341
'test': 'DockerCLINetworkSuite|DockerCLIPortSuite|DockerDaemonSuite'
341342
});
342343
matrix.include.push({
343-
'mode': 'firewalld',
344+
'mode': 'iptables+firewalld',
344345
'test': 'DockerSwarmSuite'
345346
});
346347
matrix.include.push({
347-
'mode': 'firewalld',
348+
'mode': 'iptables+firewalld',
348349
'test': 'DockerNetworkSuite'
349350
});
350351
matrix.include.push({
@@ -359,6 +360,18 @@ jobs:
359360
'mode': 'nftables',
360361
'test': 'DockerNetworkSuite'
361362
});
363+
matrix.include.push({
364+
'mode': 'nftables+firewalld',
365+
'test': 'DockerCLINetworkSuite|DockerCLIPortSuite|DockerDaemonSuite'
366+
});
367+
matrix.include.push({
368+
'mode': 'nftables+firewalld',
369+
'test': 'DockerSwarmSuite'
370+
});
371+
matrix.include.push({
372+
'mode': 'nftables+firewalld',
373+
'test': 'DockerNetworkSuite'
374+
});
362375
}
363376
await core.group(`Set matrix`, async () => {
364377
core.info(`matrix: ${JSON.stringify(matrix)}`);

0 commit comments

Comments
 (0)