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

Update ci spack-config for multi-container CI builds #55

Merged
merged 3 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions common/ci-runner/upstreams.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
upstreams:
upstream:
# Assumes that from the runners point of view, the volume mount
# point for the containerised upstream install_tree is /opt/upstream
install_tree: /opt/upstream
8 changes: 8 additions & 0 deletions common/ci-upstream/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config:
install_tree:
# Completely ignoring higher-level configuration options is supported with the :: notation for keys ...
root:: $spack/../upstream
# Available in v0.20.0
source_cache: $spack/../sourcecache
# Available in v0.20.0
environments_root: $spack/../environments
24 changes: 24 additions & 0 deletions common/ci-upstream/modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Refer to https://spack.readthedocs.io/en/latest/module_file_support.html
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../upstream/modules
lmod: $spack/../upstream/lmod
tcl:
hash_length: 0
# Looks like we need to use exclude_implicits because Gadi has
# an old version of modules:
# $ module --version
# Modules Release 4.3.0 (2019-07-26)
# https://github.com/spack/spack/issues/40940
exclude_implicits: true
# Does this PR imply exclude_implicits and hide_implicits can not
# be used together?:
# https://github.com/spack/spack/pull/40955
# hide_implicits: true
all:
autoload: direct
projections:
all: '{name}/{version}-{hash:7}'
1 change: 1 addition & 0 deletions v0.22/ci-runner/concretizer.yaml
1 change: 1 addition & 0 deletions v0.22/ci-runner/config.yaml
1 change: 1 addition & 0 deletions v0.22/ci-runner/modules.yaml
1 change: 1 addition & 0 deletions v0.22/ci-runner/packages.yaml
1 change: 1 addition & 0 deletions v0.22/ci-runner/repos.yaml
1 change: 1 addition & 0 deletions v0.22/ci-runner/upstreams.yaml
1 change: 1 addition & 0 deletions v0.22/ci-upstream/concretizer.yaml
1 change: 1 addition & 0 deletions v0.22/ci-upstream/config.yaml
1 change: 1 addition & 0 deletions v0.22/ci-upstream/modules.yaml
1 change: 1 addition & 0 deletions v0.22/ci-upstream/packages.yaml
1 change: 1 addition & 0 deletions v0.22/ci-upstream/repos.yaml