Skip to content

Commit c7c0925

Browse files
authored
Merge pull request #85 from malcsaunders/declare-sonar-password
declare test standalone password
2 parents f55ca8e + c2d362a commit c7c0925

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ci/pipeline.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ jobs:
225225
file: sonarqube-boshrelease/ci/tasks/test-sonarqube.yml
226226
params:
227227
BOSH_DEPLOYMENT: *deployment-name
228-
TEST_STANDALONE_PASSWORD: ((test_user_password))
229228
<<: *slack-alert
230229

231230
- name: release-final

ci/tasks/test-sonarqube.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ run:
1313
- |
1414
pushd bbl-state/bbl-state
1515
source <(bbl print-env)
16+
TEST_STANDALONE_PASSWORD=$(credhub get --name /bosh-sonarqube-boshrelease/sonarqube/test_user_password | grep -e value | awk -F: '{print $2}'|awk '{ sub(/^[ \t]+/, ""); print }')
17+
export TEST_STANDALONE_PASSWORD
1618
JUMPBOX_USER="jumpbox"; export JUMPBOX_USER
1719
JUMPBOX_HOST=$(bosh int <(bbl outputs) --path /jumpbox_url | cut -d: -f1); export JUMPBOX_HOST
1820
# set up jumpbox ssh tunnel

0 commit comments

Comments
 (0)