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

Port docker build workflow to github #13

Open
1 of 6 tasks
glemieux opened this issue Aug 29, 2024 · 3 comments
Open
1 of 6 tasks

Port docker build workflow to github #13

glemieux opened this issue Aug 29, 2024 · 3 comments

Comments

@glemieux
Copy link
Collaborator

glemieux commented Aug 29, 2024

Tasks

  1. 2 of 2
  2. 0 of 2
@glemieux
Copy link
Collaborator Author

glemieux commented Aug 31, 2024

What particularly behavior do we want to test within each container, particularly for containers that build on each other? Should testing be conducted only for pull requests or also for merges to main?

baseos:

  • test build elm-fates dockerfile off of new image
  • test tooling (e.g. nco package, python scipy and netcdf4 installs)
  • test applications built from source (xml parser, hdf5, netcdf, openMPI)

elm-fates:

  • can we build a simple single site case (see e3sm testing for examples to adopt)

jupyter:

  • minimum exercises for installed packages

@glemieux
Copy link
Collaborator Author

glemieux commented Aug 31, 2024

  • Question: do docker hooks affect the github image build?
  • Review how the docker buildx action works

@glemieux
Copy link
Collaborator Author

glemieux commented Aug 31, 2024

Note that the docker actions currently don't work with the macos-14 github arm64 runners: see docker/actions-toolkit#317. It might be possible to use the "large" linux arm runners, but those are only available to Github Team or Enterprise plans: https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners.

Given the above, until this rolls out for more plans or hardware virtualization is provided for the macos arm runners, this will have to be build with docker's platform emulation.

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

No branches or pull requests

1 participant