Skip to content

Commit 3cc5ec1

Browse files
authored
Merge pull request #147 from NHSDigital/overwrite-deploy-run-commands
Remove date portion of run command name
2 parents 5b14e3c + 0f97767 commit 3cc5ec1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/bash/deploy_arc_ring.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ SAMPLE_IMAGES_PATH=${BASE_PATH}/current/sample_images"
100100

101101
# Use machine name + timestamp to ensure uniqueness across parallel submissions.
102102
CLEAN_TAG=$(echo "${RELEASE_TAG}" | tr '.' '-' | tr '/' '-')
103-
DEPLOY_ID=$(date +%s)
104-
RUN_CMD_NAME="deploy-mbsgw-${CLEAN_TAG}-${MACHINE}-${DEPLOY_ID}"
103+
RUN_CMD_NAME="deploy-mbsgw-${CLEAN_TAG}-${MACHINE}"
105104

106105
CMD_URL="https://management.azure.com/subscriptions/${SUB_ID}/resourceGroups/${ARC_RG}/providers/Microsoft.HybridCompute/machines/${MACHINE}/runCommands/${RUN_CMD_NAME}?api-version=2024-07-10"
107106

0 commit comments

Comments
 (0)