Skip to content

Commit

Permalink
Use different requester id for db env
Browse files Browse the repository at this point in the history
  • Loading branch information
bsquizz committed Jan 11, 2022
1 parent 6d97beb commit 8332aff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cicd/deploy_ephemeral_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cicd/deploy_ephemeral_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit 8332aff

Please sign in to comment.