-
Notifications
You must be signed in to change notification settings - Fork 3
/
deploy-local.sh
executable file
·28 lines (22 loc) · 996 Bytes
/
deploy-local.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
source ./setup.sh
mkdir $LOG_DIR
unzip p-spring-cloud-services-*.zip -d $SCS_HOME
mkdir -p $SCS_BROKER_RELEASE
tar -zxvf $SCS_RELEASES/spring-cloud-broker*.tgz -C $SCS_BROKER_RELEASE
mkdir -p $SCS_BROKER
tar -zxvf $SCS_BROKER_PACKAGES/spring-cloud-service-broker.tgz -C $SCS_BROKER
echo '-------------------------------------------------------'
cd $SCS_BROKER
echo '-------------------------------------------------------'
echo ' Config Tile Environment '
source scripts/configureTileEnvironment.sh
echo '-------------------------------------------------------'
echo ' Deploy Broker Worker '
source $START_DIR/deployBrokerWorker.sh
echo '-------------------------------------------------------'
echo ' Register Service Broker '
chmod +x scripts/registerServiceBroker.sh
eval scripts/registerServiceBroker.sh
echo '-------------------------------------------------------'
cd $START_DIR