dubeejw closed pull request #9: Renaming skip deploy variable
URL: https://github.com/apache/incubator-openwhisk-package-deploy/pull/9
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/packages/installCatalog.sh b/packages/installCatalog.sh
index 098a0ff..0a79955 100755
--- a/packages/installCatalog.sh
+++ b/packages/installCatalog.sh
@@ -20,7 +20,7 @@ AUTH="$1"
EDGE_HOST="$2"
WSK_CLI="$3"
DOCKER="$4"
-SKIP_DEPLOY="${SKIP_DEPLOY:-True}"
+INSTALL_WEB_ONLY="${INSTALL_WEB_ONLY:-True}"
# If docker is not provided, set to default version.
if [ -z "$4" ]
@@ -74,7 +74,7 @@ $WSK_CLI -i --apihost "$EDGE_HOST" action update --auth
"$AUTH" "deployWeb/wskde
cd actions
-if [ $SKIP_DEPLOY = False ]
+if [ $INSTALL_WEB_ONLY = False ]
then
if [ -e deploy.zip ]
then
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index 19f6208..c980eee 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -37,7 +37,7 @@ $ANSIBLE_CMD openwhisk.yml
# Set Environment
export OPENWHISK_HOME=$WHISKDIR
-export SKIP_DEPLOY="True"
+export INSTALL_WEB_ONLY="True"
cd $WHISKDIR
@@ -59,7 +59,7 @@ cd $ROOTDIR/packages
# Test
cd $ROOTDIR
-if [ $SKIP_DEPLOY = True ]
+if [ $INSTALL_WEB_ONLY = True ]
then
TERM=dumb ./gradlew :tests:test --tests "packages.DeployWebTests"
else
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services