Code Review
/
yaml_builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update MAAS url in deploy_site output
[yaml_builds.git]
/
tools
/
single_step_deploy.sh
diff --git
a/tools/single_step_deploy.sh
b/tools/single_step_deploy.sh
index
cb2d8bb
..
e76bc9d
100755
(executable)
--- a/
tools/single_step_deploy.sh
+++ b/
tools/single_step_deploy.sh
@@
-31,8
+31,8
@@
TIMESTAMP=$(date +"%Y%m%d%H%M")
echo "TIMESTAMP=$TIMESTAMP"
echo "Validating the setup and generating the tar file"
echo "TIMESTAMP=$TIMESTAMP"
echo "Validating the setup and generating the tar file"
-mkdir -p /var/log/
yaml_builds
-bash $YAML_BUILDS/tools/1prom-gen.sh $SITE
> /var/log/yaml_builds/1prom-gen-$TIMESTAMP.log 2>&1
+mkdir -p /var/log/
akraino
+bash $YAML_BUILDS/tools/1prom-gen.sh $SITE
if [ $? -ne 0 ]
then
echo "Error:Could not generate tar file. So stopping here"
if [ $? -ne 0 ]
then
echo "Error:Could not generate tar file. So stopping here"
@@
-40,7
+40,7
@@
then
fi
echo "Bringing up the genesis node"
fi
echo "Bringing up the genesis node"
-bash $YAML_BUILDS/tools/2genesis.sh $SITE
> /var/log/yaml_builds/2genesis-$TIMESTAMP.log 2>&1
+bash $YAML_BUILDS/tools/2genesis.sh $SITE
if [ $? -ne 0 ]
then
echo "Error:Could not bringup the genesis nodes. So stopping here"
if [ $? -ne 0 ]
then
echo "Error:Could not bringup the genesis nodes. So stopping here"
@@
-48,7
+48,7
@@
then
fi
echo "Deploying the site"
fi
echo "Deploying the site"
-bash $YAML_BUILDS/tools/3deploy_site.sh $SITE
> /var/log/yaml_builds/3deploy-$TIMESTAMP.log 2>&1
+bash $YAML_BUILDS/tools/3deploy_site.sh $SITE
if [ $? -ne 0 ]
then
echo "Error:Could not deploy the site."
if [ $? -ne 0 ]
then
echo "Error:Could not deploy the site."