From 8332aff5c5988536534567ced3b0602178ddbcbe Mon Sep 17 00:00:00 2001 From: Brandon Squizzato Date: Tue, 11 Jan 2022 14:57:19 -0500 Subject: [PATCH] Use different requester id for db env --- cicd/deploy_ephemeral_db.sh | 1 + cicd/deploy_ephemeral_env.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/cicd/deploy_ephemeral_db.sh b/cicd/deploy_ephemeral_db.sh index 0b69b9c8..cb619b94 100644 --- a/cicd/deploy_ephemeral_db.sh +++ b/cicd/deploy_ephemeral_db.sh @@ -8,6 +8,7 @@ source ${CICD_ROOT}/_common_deploy_logic.sh DB_DEPLOYMENT_NAME="${DB_DEPLOYMENT_NAME:-$COMPONENT_NAME-db}" # Deploy k8s resources for app without its dependencies +export BONFIRE_NS_REQUESTER="${JOB_NAME}-${BUILD_NUMBER}-db" NAMESPACE=$(bonfire namespace reserve) # TODO: add code to bonfire to deploy an app if it is defined in 'sharedAppDbName' on the ClowdApp # TODO: add a bonfire command to deploy just an app's DB diff --git a/cicd/deploy_ephemeral_env.sh b/cicd/deploy_ephemeral_env.sh index 7ff1d6b0..7ce33913 100644 --- a/cicd/deploy_ephemeral_env.sh +++ b/cicd/deploy_ephemeral_env.sh @@ -7,6 +7,7 @@ source ${CICD_ROOT}/_common_deploy_logic.sh # -> use this PR as the template ref when downloading configurations for this component # -> use this PR's newly built image in the deployed configurations set -x +export BONFIRE_NS_REQUESTER="${JOB_NAME}-${BUILD_NUMBER}" export NAMESPACE=$(bonfire namespace reserve) bonfire deploy \ ${APP_NAME} \