Skip to content

Commit

Permalink
Merge pull request #85 from malcsaunders/declare-sonar-password
Browse files Browse the repository at this point in the history
declare test standalone password
  • Loading branch information
malcsaunders authored Nov 2, 2018
2 parents f55ca8e + c2d362a commit c7c0925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ jobs:
file: sonarqube-boshrelease/ci/tasks/test-sonarqube.yml
params:
BOSH_DEPLOYMENT: *deployment-name
TEST_STANDALONE_PASSWORD: ((test_user_password))
<<: *slack-alert

- name: release-final
Expand Down
2 changes: 2 additions & 0 deletions ci/tasks/test-sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ run:
- |
pushd bbl-state/bbl-state
source <(bbl print-env)
TEST_STANDALONE_PASSWORD=$(credhub get --name /bosh-sonarqube-boshrelease/sonarqube/test_user_password | grep -e value | awk -F: '{print $2}'|awk '{ sub(/^[ \t]+/, ""); print }')
export TEST_STANDALONE_PASSWORD
JUMPBOX_USER="jumpbox"; export JUMPBOX_USER
JUMPBOX_HOST=$(bosh int <(bbl outputs) --path /jumpbox_url | cut -d: -f1); export JUMPBOX_HOST
# set up jumpbox ssh tunnel
Expand Down

0 comments on commit c7c0925

Please sign in to comment.