Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add Podman validation to the build-images step #130

Merged

Conversation

frobware
Copy link
Contributor

@frobware frobware commented Sep 6, 2024

Introduce a matrix in the Kubernetes integration tests job to support both Docker and Podman for image builds. Add oci_bin as a matrix entry to control which container runtime is used. Conditionally install Podman when required and build images using the appropriate runtime.

Ensure that integration tests only run with Docker by skipping them when Podman is used, avoiding unnecessary test runs. This change ensures Podman compatibility for image builds while keeping the test process the same for Docker.

Introduce a matrix in the Kubernetes integration tests job to support
both Docker and Podman for image builds. Add `oci_bin` as a matrix entry
to control which container runtime is used. Conditionally install Podman
when required and build images using the appropriate runtime.

Ensure that integration tests only run with Docker by skipping them when
Podman is used, avoiding unnecessary test runs. This change ensures
Podman compatibility for image builds while keeping the test process the
same for Docker.

Signed-off-by: Andrew McDermott <[email protected]>
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.61%. Comparing base (7bac877) to head (1333584).
Report is 245 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   27.61%   27.61%           
=======================================
  Files          81       81           
  Lines        6999     6999           
=======================================
  Hits         1933     1933           
  Misses       4877     4877           
  Partials      189      189           
Flag Coverage Δ
unittests 27.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@frobware
Copy link
Contributor Author

frobware commented Sep 6, 2024

Some previous commentary on why this PR may add little value: #121 (comment)

@mergify mergify bot merged commit d2eb9f5 into bpfman:main Sep 26, 2024
21 checks passed
@frobware frobware deleted the ci-use-podman-and-docker-for-build-images branch September 26, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants