Skip to content

Commit

Permalink
get convox-0 host and password from cloudformation
Browse files Browse the repository at this point in the history
  • Loading branch information
nzoschke committed Sep 29, 2015
1 parent b39afd8 commit 6ed4d75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ci/tests/build-datascience.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
export CONVOX_HOST=$CONVOX_ZERO_HOST
export CONVOX_PASSWORD=$CONVOX_ZERO_PASSWORD
export CONVOX_HOST=$(aws cloudformation describe-stacks --stack-name convox-0 | jq -r '.Stacks[0].Outputs[] | select(.OutputKey == "Dashboard") | .OutputValue')
export CONVOX_PASSWORD=$(aws cloudformation describe-stacks --stack-name convox-0 | jq -r '.Stacks[0].Parameters[] | select(.ParameterKey == "Password") | .ParameterValue')

set -ex

Expand Down
4 changes: 2 additions & 2 deletions ci/tests/build-sinatra.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
export CONVOX_HOST=$CONVOX_ZERO_HOST
export CONVOX_PASSWORD=$CONVOX_ZERO_PASSWORD
export CONVOX_HOST=$(aws cloudformation describe-stacks --stack-name convox-0 | jq -r '.Stacks[0].Outputs[] | select(.OutputKey == "Dashboard") | .OutputValue')
export CONVOX_PASSWORD=$(aws cloudformation describe-stacks --stack-name convox-0 | jq -r '.Stacks[0].Parameters[] | select(.ParameterKey == "Password") | .ParameterValue')

set -ex

Expand Down

0 comments on commit 6ed4d75

Please sign in to comment.