From 4cbf4c63c8f0adbd876fac4672635fe95c3a10c1 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Tue, 29 Mar 2022 14:13:32 +1100 Subject: [PATCH] fix: add promote --- .../scripts/exec-backup-generation.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/kubectl-build-deploy-dind/scripts/exec-backup-generation.sh b/images/kubectl-build-deploy-dind/scripts/exec-backup-generation.sh index 2adf93f9d6..1302a48a03 100755 --- a/images/kubectl-build-deploy-dind/scripts/exec-backup-generation.sh +++ b/images/kubectl-build-deploy-dind/scripts/exec-backup-generation.sh @@ -21,6 +21,8 @@ set +x # check if a specific override has been defined in the api case "$BUILD_TYPE" in + promote) + ;; branch) if [ "${ENVIRONMENT_TYPE}" == "development" ]; then # check if the API defined variable LAGOON_BACKUP_DEV_RETENTION contains what is needed @@ -97,6 +99,8 @@ fi # check if a specific override has been defined in the api case "$BUILD_TYPE" in + promote) + ;; branch) if [ "${ENVIRONMENT_TYPE}" == "development" ]; then # check if the API defined variable LAGOON_BACKUP_DEV_SCHEDULE contains what is needed