Skip to content

ci: run integration tests with firewalld enabled#48603

Merged
akerouanton merged 2 commits intomoby:masterfrom
akerouanton:firewalld-ci-jobs
Oct 18, 2024
Merged

ci: run integration tests with firewalld enabled#48603
akerouanton merged 2 commits intomoby:masterfrom
akerouanton:firewalld-ci-jobs

Conversation

@akerouanton
Copy link
Copy Markdown
Member

@akerouanton akerouanton commented Oct 8, 2024

- What I did

Add firewalld support to our Makefile and Dockerfile. When DOCKER_FIREWALLD=true is set, make build will build an image with systemd and firewalld enabled. Container's eth0 interface is put in firewalld's trusted zone to allow any connections coming from the host.

A new firewalld 'mode' is added to the test matrix for unit, integration and integration-cli jobs. As we'll need to add yet another mode when we'll start working on nftables support, we should probably improve the test matrix in a follow-up to run less jobs (eg. there's no need to run networking tests with both the old graphdriver and c8d snapshotter).

- How I did it

- How to verify it

@akerouanton akerouanton changed the title Firewalld ci jobs ci: run integration tests with firewalld enabled Oct 8, 2024
@akerouanton akerouanton force-pushed the firewalld-ci-jobs branch 3 times, most recently from 963e313 to e39b77a Compare October 9, 2024 06:02
@akerouanton akerouanton marked this pull request as ready for review October 9, 2024 09:50
@akerouanton akerouanton requested a review from tianon as a code owner October 9, 2024 09:50
@akerouanton akerouanton self-assigned this Oct 9, 2024
@akerouanton akerouanton added this to the 28.0.0 milestone Oct 9, 2024
Comment thread hack/dind-systemd Outdated
Comment thread hack/dind-systemd Outdated
@akerouanton akerouanton merged commit 8c5a6c6 into moby:master Oct 18, 2024
@akerouanton akerouanton deleted the firewalld-ci-jobs branch October 18, 2024 10:25
@robmry robmry mentioned this pull request Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants