File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ function checkDeploymentRequirements() {
90
90
91
91
function checkSolaceReleases() {
92
92
93
- SOLACE_PUBSUB_RELEASE_FOUND_COUNT=` bosh releases | grep -v solace-pubsub-broker | grep solace-pubsub | wc -l`
93
+ SOLACE_PUBSUB_RELEASE_FOUND_COUNT=$( bosh releases | grep -v solace-pubsub-broker | grep solace-pubsub | wc -l)
94
94
95
95
if [ " $SOLACE_PUBSUB_RELEASE_FOUND_COUNT " -eq " 0" ]; then
96
96
echo " solace-pubsub release seem to be missing from bosh, please upload-release to bosh"
@@ -99,7 +99,7 @@ function checkSolaceReleases() {
99
99
exit 1
100
100
fi
101
101
102
- SOLACE_MESSAGING_RELEASE_FOUND_COUNT=` bosh releases | grep solace-pubsub-broker | wc -l`
102
+ SOLACE_MESSAGING_RELEASE_FOUND_COUNT=$( bosh releases | grep solace-pubsub-broker | wc -l)
103
103
104
104
if [ " $SOLACE_MESSAGING_RELEASE_FOUND_COUNT " -eq " 0" ]; then
105
105
echo " solace-pubsub-broker release seem to be missing from bosh, please upload-release to bosh"
@@ -344,5 +344,10 @@ if [ -f "$RELEASE_VARS_FILE" ]; then
344
344
fi
345
345
fi
346
346
347
+ # # Handle addiotnal bosh release detected variables
348
+ if [ -f " $WORKSPACE /releases/release-vars.yml" ]; then
349
+ RELEASE_VARS=" $RELEASE_VARS -l $WORKSPACE /releases/release-vars.yml"
350
+ fi
351
+
347
352
BOSH_PARAMS=" $OPS_BASE $MYSQL_OPS $FEATURES_OPS -o $CF_SOLACE_MESSAGING_DEPLOYMENT_HOME /operations/is_${VMR_EDITION} .yml $VARS_STORE $CMD_VARS -l $VARS_FILE $FEATURES_VARS $RELEASE_VARS $MISC_VARS $EXTRA_BOSH_PARAMS "
348
353
Original file line number Diff line number Diff line change @@ -128,5 +128,6 @@ unzip -o -d $WORKSPACE $TILE_FILE releases/*.tgz
128
128
cd ./solace_pubsub_broker/
129
129
SOLACE_SERVICE_BROKER_VERSION=$( ls * .jar)
130
130
echo " Found Solace Service Broker [ $SOLACE_SERVICE_BROKER_VERSION ]"
131
+ echo " solace_service_broker_jar: $SOLACE_SERVICE_BROKER_VERSION " > $WORKSPACE /releases/release-vars.yml
131
132
)
132
133
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ if [ -f $WORKSPACE/bosh_env.sh ]; then
11
11
fi
12
12
13
13
source $SCRIPTPATH /bosh-common.sh
14
+
14
15
loadStemcells
15
16
16
- for RELEASE_FILE in ` ls $WORKSPACE /releases/* .tgz` ; do
17
+ for RELEASE_FILE in $( ls $WORKSPACE /releases/* .tgz) ; do
17
18
RELEASE=$( basename $RELEASE_FILE )
18
19
echo " Uploading release $RELEASE "
19
20
bosh upload-release $RELEASE_FILE
You can’t perform that action at this time.
0 commit comments