Skip to content

Commit

Permalink
feat: update cohort-middleware setup script to setup everything in Je…
Browse files Browse the repository at this point in the history
…nkins (#2361)
  • Loading branch information
m0nhawk authored Sep 12, 2023
1 parent 20621c9 commit 00ba748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen3/bin/kube-setup-cohort-middleware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ setup_secrets() {
mkdir -p $(gen3_secrets_folder)/g3auto/cohort-middleware
credsFile="$(gen3_secrets_folder)/g3auto/cohort-middleware/development.yaml"

if [[ (! -f "$credsFile") && -z "$JENKINS_HOME" ]]; then
if [[ (! -f "$credsFile") ]]; then
DB_NAME=$(jq -r ".db_database" <<< "$dbcreds")
export DB_NAME
DB_USER=$(jq -r ".db_username" <<< "$dbcreds")
Expand Down

0 comments on commit 00ba748

Please sign in to comment.