@@ -17,12 +17,15 @@ Build and distribute software with Spack
## Gitlab CI/CD Enviromental variables
The following variables must be set up if not or re-configured if tokens expire.
OBJSTORE: Public URL of OpenStack SWIFT public bucket used to store the to deployed spack build environment
OPENSHIFT_TOKEN: Token to login to OpenShift cluster
OS_TOKEN: Token to access OpenStack SWIFT
The following variable(s) must be set up if not or re-configured if tokens expire.
OPENSHIFT_TOKEN: Token to login to OpenShift cluster (with the "gitlab" service account)
## Copy spack .yaml files and packages to the Openshift job pod that does the build
The gitlab runner copies the spack .yaml files and packages to the OpenShift job pod.
- The runner waits until the job's pod is running to start copying the files
- The pod (built from tc/ebrains-spack-build-env:latest image) waits until the necessary file(s) has finished copying so that it can continue the build process