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

Use containers for github component testing #11

Open
jedwards4b opened this issue Feb 26, 2022 · 1 comment
Open

Use containers for github component testing #11

jedwards4b opened this issue Feb 26, 2022 · 1 comment

Comments

@jedwards4b
Copy link
Collaborator

We have a number of repositories in escomp, esmci, and ncar which need to start with builds of supporting software like
netcdf, pnetcdf, hdf5, mpi - it is very time consuming to build all of these packages each time for each repo. I have been reading about how to use docker images in github actions and I believe that the images from this repo could be very useful in accomplishing that end. Following this article we can build the image and cache it for reuse. This should save considerable time in testing for a number of repos. I'm going to start with https://github.com/NCAR/ParallelIO and try to run testing in the base/centos8 container found here. If/when that proof of concept works I will want to add more Dockerfiles with different mpi layers and with different versions of the libraries.

@jedwards4b
Copy link
Collaborator Author

First attempt to use this container results in an error:

#6 0.921 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

A web search suggests that this image is out of date?
https://haydenjames.io/fix-error-failed-to-download-metadata-for-repo-appstream-centos-8/

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