Skip to content

Commit 88a0700

Browse files
authored
Update ci spack-config for multi-container CI builds (#55)
* Add ci-runner upstreams.yaml, add ci-upstream config.yaml modules.yaml * Add symlinks for v0.22/ci-runner * Add symlinks for v0.22/ci-upstream
1 parent 9dd165f commit 88a0700

14 files changed

+48
-0
lines changed

common/ci-runner/upstreams.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
upstreams:
2+
upstream:
3+
# Assumes that from the runners point of view, the volume mount
4+
# point for the containerised upstream install_tree is /opt/upstream
5+
install_tree: /opt/upstream

common/ci-upstream/config.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config:
2+
install_tree:
3+
# Completely ignoring higher-level configuration options is supported with the :: notation for keys ...
4+
root:: $spack/../upstream
5+
# Available in v0.20.0
6+
source_cache: $spack/../sourcecache
7+
# Available in v0.20.0
8+
environments_root: $spack/../environments

common/ci-upstream/modules.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Refer to https://spack.readthedocs.io/en/latest/module_file_support.html
2+
modules:
3+
default:
4+
enable:
5+
- tcl
6+
roots:
7+
tcl: $spack/../upstream/modules
8+
lmod: $spack/../upstream/lmod
9+
tcl:
10+
hash_length: 0
11+
# Looks like we need to use exclude_implicits because Gadi has
12+
# an old version of modules:
13+
# $ module --version
14+
# Modules Release 4.3.0 (2019-07-26)
15+
# https://github.com/spack/spack/issues/40940
16+
exclude_implicits: true
17+
# Does this PR imply exclude_implicits and hide_implicits can not
18+
# be used together?:
19+
# https://github.com/spack/spack/pull/40955
20+
# hide_implicits: true
21+
all:
22+
autoload: direct
23+
projections:
24+
all: '{name}/{version}-{hash:7}'

v0.22/ci-runner/concretizer.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/concretizer.yaml

v0.22/ci-runner/config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/config.yaml

v0.22/ci-runner/modules.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/modules.yaml

v0.22/ci-runner/packages.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/ci/packages.yaml

v0.22/ci-runner/repos.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/repos.yaml

v0.22/ci-runner/upstreams.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/ci-runner/upstreams.yaml

v0.22/ci-upstream/concretizer.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/concretizer.yaml

v0.22/ci-upstream/config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/ci-upstream/config.yaml

v0.22/ci-upstream/modules.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/ci-upstream/modules.yaml

v0.22/ci-upstream/packages.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/ci/packages.yaml

v0.22/ci-upstream/repos.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/repos.yaml

0 commit comments

Comments
 (0)