File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ echo "bot/build.sh: EESSI_VERSION_OVERRIDE='${EESSI_VERSION_OVERRIDE}'"
147147# determine CVMFS repo to be used from .repository.repo_name in ${JOB_CFG_FILE}
148148# here, just set EESSI_CVMFS_REPO_OVERRIDE, a bit further down
149149# "source init/eessi_defaults" via sourcing init/minimal_eessi_env
150+ # Note: iff ${EESSI_DEV_PROJECT} is defined (building for dev.eessi.io), then we
151+ # append the project subdirectory to ${EESSI_CVMFS_REPO_OVERRIDE}
150152export EESSI_CVMFS_REPO_OVERRIDE=/cvmfs/${REPOSITORY_NAME}${EESSI_DEV_PROJECT: +/ $EESSI_DEV_PROJECT }
151153echo " bot/build.sh: EESSI_CVMFS_REPO_OVERRIDE='${EESSI_CVMFS_REPO_OVERRIDE} '"
152154
318320timestamp=$( date +%s)
319321# to set EESSI_VERSION we need to source init/eessi_defaults now
320322source $software_layer_dir /init/eessi_defaults
323+ # Note: iff ${EESSI_DEV_PROJECT} is defined (building for dev.eessi.io), then we
324+ # append the project (subdirectory) name to the end tarball name. This is information
325+ # then used at the ingestion stage. If ${EESSI_DEV_PROJECT} is not defined, nothing is
326+ # appended
321327export TGZ=$( printf " eessi-%s-software-%s-%s-%b%d.tar.gz" ${EESSI_VERSION} ${EESSI_OS_TYPE} ${EESSI_SOFTWARE_SUBDIR_OVERRIDE// \/ / -} ${EESSI_DEV_PROJECT: +$EESSI_DEV_PROJECT -} ${timestamp} )
322328
323329# Export EESSI_DEV_PROJECT to use it (if needed) when making tarball
You can’t perform that action at this time.
0 commit comments