Add a GitLab CI file that can be used when hosting there.
Update GitHub CI for new build flow.
Remove CentOS8 docker image (no longer supported).
Add Alma9 image.
The gitlab-registry.cern.ch/key4hep/k4-deploy/alma9-build image is used as base. There are two images generated:
mucoll-spack: Contains a spack installation.
mucoll-sim: Contains the installation of the Muon Collider software as a spack environment.
The images are now based on the spack package distribution system using packages from the key4hep-spack and mucoll-spack repositories. The exact tested commits for each repository and spack itself are specified.
The version of spack is taken from key4hep-spack's .latest-commit file. That way we use an externally tested version.
Any patches to spack to fix packages broken outside of their control (ie: download links) are applied using a new apply_patches.sh script for both key4hep-spack and mucoll-spack. This script checks that the corresponding spack version is cloned (via .latest-commit) and runs the .cherry-pick script.
The following changes were made:
The
gitlab-registry.cern.ch/key4hep/k4-deploy/alma9-build
image is used as base. There are two images generated:mucoll-spack
: Contains a spack installation.mucoll-sim
: Contains the installation of the Muon Collider software as a spack environment.The images are now based on the spack package distribution system using packages from the key4hep-spack and mucoll-spack repositories. The exact tested commits for each repository and spack itself are specified.
The version of spack is taken from key4hep-spack's
.latest-commit
file. That way we use an externally tested version.Any patches to spack to fix packages broken outside of their control (ie: download links) are applied using a new
apply_patches.sh
script for both key4hep-spack and mucoll-spack. This script checks that the corresponding spack version is cloned (via.latest-commit
) and runs the.cherry-pick
script.The desired spack environment is named
sim
and copied from mucoll-spack/tree/release/environments/mucoll-release.The following setup scripts are available. This corresponds to the setup sued for the CERN 2023 tutorial.
/opt/setup_spack.sh
: Load Spack only./opt/setup_mucoll.sh
: Load the sim environment. Only this one is needed by most end users.