Skip to content

Commit

Permalink
PAR-2491: More user switching
Browse files Browse the repository at this point in the history
  • Loading branch information
robwild-affinitydigital committed Aug 16, 2024
1 parent e7b7d36 commit 53a70f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devops/cf/check_opensearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ elif [[ $ENV == 'staging' ]] || [[ $ENV == staging-* ]]; then
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-staging"
else
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-development"
fi

Expand Down
2 changes: 1 addition & 1 deletion devops/cf/destroy.app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if [[ $ENV == 'staging' ]] || [[ $ENV =~ ^staging-.* ]]; then
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-staging"
else
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-development"
fi

Expand Down
2 changes: 1 addition & 1 deletion devops/cf/push.local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ elif [[ $ENV == 'staging' ]] || [[ $ENV =~ ^staging-.* ]]; then
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-staging"
else
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
-o office-for-product-safety-and-standards -s primary-authority-register-development
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/db-remote-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ elif [[ $NAME == 'staging' ]] || [[ $NAME == staging-* ]]; then
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-staging"
else
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-development"
fi

Expand Down

0 comments on commit 53a70f8

Please sign in to comment.