Skip to content

Docker containers #604

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

jameshcorbett
Copy link
Collaborator

Problem: for general SCR development, continuous integration (CI)
testing, and for running on rabbits, SCR should be able to build
in a container.

Copy over flux-framework/flux-core and flux-framework/flux-sched's
docker infrastructure. (See https://github.com/flux-framework/flux-core/tree/master/src/test/docker for reference)

Images are hosted here: https://hub.docker.com/r/libscr/scr/tags

Problem: for general SCR development, continuous integration (CI)
testing, and for running on rabbits, SCR should be able to build
in a container.

Copy over flux-framework/flux-core and flux-framework/flux-sched's
docker infrastructure.

See github.com/flux-framework/flux-core/tree/master/src/test/docker
Problem: the docker infrastructure from flux-core has a lot of
Flux-specific logic not needed here.

Remove it.
@jameshcorbett
Copy link
Collaborator Author

See the Github actions running in my fork: https://github.com/jameshcorbett/scr/actions/runs/14098077240

A bunch of the checks fail but they all build successfully, so I don't view the checks failing as a barrier to this going in. And I think with a bit more work the tests could start to pass as well.

@jameshcorbett jameshcorbett force-pushed the github-ci-containers branch 2 times, most recently from cb27b8d to a147bdf Compare March 27, 2025 03:49
Problem: some different linux distros are needed for running tests.

Add el9 and fedora40 containers.
Problem: more linux distros should be included in the docker
containers.

Add noble, alpine, and bookworm.
Problem: the docker infrastructure copied over from flux-core
includes a 'checks' dockerfile that is used to set a user, but
it ends up complicating things.

Remove the 'checks' dockerfile and use a script instead to set
a user.
Problem: add github workflow is needed to start building and testing
SCR in GitHub actions.

Add a workflow.
Problem: a script is needed to generate the GitHub CI matrix.

Add a script, copying it over from flux-core with modifications.
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