houshengbo closed pull request #95: Pull the openwhisk image instead of building it URL: https://github.com/apache/incubator-openwhisk-cli/pull/95
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/tools/travis/test_openwhisk.sh b/tools/travis/test_openwhisk.sh index 29ac6bc1..699c2df3 100755 --- a/tools/travis/test_openwhisk.sh +++ b/tools/travis/test_openwhisk.sh @@ -15,7 +15,7 @@ WHISKDIR="$HOMEDIR/incubator-openwhisk" cd $WHISKDIR ./tools/travis/setup.sh -ANSIBLE_CMD="ansible-playbook -i environments/local -e docker_image_prefix=testing" +ANSIBLE_CMD="ansible-playbook -i environments/local -e docker_image_prefix=openwhisk" cd $WHISKDIR/ansible $ANSIBLE_CMD setup.yml @@ -24,17 +24,16 @@ $ANSIBLE_CMD couchdb.yml $ANSIBLE_CMD initdb.yml $ANSIBLE_CMD apigateway.yml -cd $WHISKDIR -GRADLE_PROJS_SKIP="-x :core:pythonAction:distDocker -x :core:python2Action:distDocker -x :core:swift3Action:distDocker -x :core:javaAction:distDocker" -TERM=dumb ./gradlew distDocker -PdockerImagePrefix=testing $GRADLE_PROJS_SKIP +cd $TRAVIS_BUILD_DIR +TERM=dumb ./gradlew buildBinaries cd $WHISKDIR/ansible $ANSIBLE_CMD wipe.yml -$ANSIBLE_CMD openwhisk.yml +$ANSIBLE_CMD openwhisk.yml -e openwhisk_cli_home=$TRAVIS_BUILD_DIR # Copy the binary generated into the OPENWHISK_HOME/bin, so that the test cases will run based on it. mkdir -p $WHISKDIR/bin -cp $TRAVIS_BUILD_DIR/wsk $WHISKDIR/bin +cp $TRAVIS_BUILD_DIR/bin/wsk $WHISKDIR/bin # Run the test cases under openwhisk to ensure the quality of the binary. cd $TRAVIS_BUILD_DIR ---------------------------------------------------------------- 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
