mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-22 07:23:09 +01:00
Merge branch 'feature/KASM-5423-schedule-names' into 'develop'
KASM-5423 add name tags to scheduled builds See merge request kasm-technologies/internal/workspaces-core-images!167
This commit is contained in:
commit
13c85726b2
@ -21,7 +21,11 @@ fi
|
||||
|
||||
# Determine if this is a rolling build
|
||||
if [ "${CI_PIPELINE_SOURCE}" == "schedule" ]; then
|
||||
if [ -z ${SCHEDULE_NAME+x} ]; then
|
||||
SANITIZED_BRANCH=${SANITIZED_BRANCH}-rolling
|
||||
else
|
||||
SANITIZED_BRANCH=${SANITIZED_BRANCH}-rolling-${SCHEDULE_NAME}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Determine if we are doing a reversion
|
||||
@ -29,7 +33,11 @@ if [ ! -z "${REVERT_PIPELINE_ID}" ]; then
|
||||
# If we are reverting modify the pipeline ID to the one passed
|
||||
CI_PIPELINE_ID=${REVERT_PIPELINE_ID}
|
||||
if [ "${IS_ROLLING}" == "true" ]; then
|
||||
if [ -z ${SCHEDULE_NAME+x} ]; then
|
||||
SANITIZED_BRANCH=${SANITIZED_BRANCH}-rolling
|
||||
else
|
||||
SANITIZED_BRANCH=${SANITIZED_BRANCH}-rolling-${SCHEDULE_NAME}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user