-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update ci spack-config for multi-container CI builds #55
Conversation
Hi @CodeGat , Please don't delete anything in |
Ah, so not just for the |
We may need to rename |
Hi @CodeGat , Can we go with:
|
Also, as required:
|
Hmmm, I would like to demarcate that |
What about |
That works for me. I'll update the PR. |
What do I do with linking to |
695fc91
to
c8e96af
Compare
c8e96af
to
9dd165f
Compare
Linking |
References ACCESS-NRI/build-ci#194
Background
The current setup for CI 2.0 is that we will have a container that contains an upstream instance of
spack
with all the compilers (and possible low-level packages) that are needed, in order to speed up build times.This container will connect to runner (downstream) instances of
spack
, which can use the compilers without needing to build or install them.Hence we need to demarcate the two different use-cases for
ci
- one for upstream, and one for the runners (downstream). Here are the changes:Upstream
config.yaml
- the install_tree for upstream will be/opt/upstream
modules.yaml
- the modules directories will beopt/upstream/modules
/opt/upstream/lmod
Runners (downstream)
upstreams.yaml
- The upstream install_tree will be found in/opt/upstream
, which (implementation details alert) is a mounted volume in the runner containers, pointing to the upstream/opt/upstream
referenced above.Open Question
v0.22/ci/*.yaml
since it may not be used once thisdocker compose
solution is set up. Is it okay if I delete them?ci/v0.20
/ci/v0.21
as well...?development
rather thanmain
The PR
/opt/upstream
/opt/upstream