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

Run the CI in a custom container #157

Open
qdeslandes opened this issue Nov 5, 2024 · 0 comments
Open

Run the CI in a custom container #157

qdeslandes opened this issue Nov 5, 2024 · 0 comments
Labels
area: build Build process and build system

Comments

@qdeslandes
Copy link
Contributor

The CI jobs run in Docker containers, depending on the distribution the project needs to be built/tested on. Installing the dependencies and configuring the build container is long and account for most of the CI duration.

The CI duration could be reduced by using a container that already provides the required dependencies. We could also run each major step (build, test…) in a separate container to provide more granular check status on PRs.

Using a custom container, the workflow could be the following:

  • Build the containers (Ubuntu, Fedora, x64, arm64…)
  • Push the container to the repository's register(GHCR)
  • Run the build step in a container
  • Run the test step in a container
  • More check…

See better_ci for a PoC.

@qdeslandes qdeslandes moved this to To do in bpfilter's roadmap Nov 5, 2024
@qdeslandes qdeslandes added the area: build Build process and build system label Jan 21, 2025
@qdeslandes qdeslandes moved this to To do in bpfilter's roadmap Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build process and build system
Projects
Status: To do
Development

No branches or pull requests

1 participant