Skip to content

Commit 00d2e6b

Browse files
committed
Comments on how $EESSI_DEV_PROJECT is handled
1 parent bd78807 commit 00d2e6b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

bot/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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}
150152
export EESSI_CVMFS_REPO_OVERRIDE=/cvmfs/${REPOSITORY_NAME}${EESSI_DEV_PROJECT:+/$EESSI_DEV_PROJECT}
151153
echo "bot/build.sh: EESSI_CVMFS_REPO_OVERRIDE='${EESSI_CVMFS_REPO_OVERRIDE}'"
152154

@@ -318,6 +320,10 @@ fi
318320
timestamp=$(date +%s)
319321
# to set EESSI_VERSION we need to source init/eessi_defaults now
320322
source $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
321327
export 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

0 commit comments

Comments
 (0)