diff --git a/README.md b/README.md index adf7d488554d03568c9095f9e0f40e28cadc0565..be45501e73f1abeca0f7c3557b4bf33a56f39095 100644 --- a/README.md +++ b/README.md @@ -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 ## Bulding software binaries with Spack