File tree Expand file tree Collapse file tree
ansible/environments/local Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ before_install:
2020 - " ./tools/travis/setup.sh"
2121install : true
2222script :
23- - " ./tools/travis/build.sh && ./tools/travis/build_sdk.sh && ./tools/travis/deploy.sh
24- && ./tools/travis/test.sh"
23+ - " ./tools/travis/build.sh && ./tools/travis/build_sdk.sh && ./tools/travis/test.sh"
2524before_deploy :
2625 - " ./tools/travis/rename_sdk.sh ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
2726deploy :
@@ -33,7 +32,7 @@ deploy:
3332 condition : " ${TRAVIS_TAG%@*} = dockerskeleton || ${TRAVIS_TAG%@*} = example"
3433 repo : apache/incubator-openwhisk-runtime-docker
3534 - provider : script
36- script : " ./tools/travis/publish.sh openwhisk dockerskeleton master && ./tools/travis/publish.sh openwhisk example master "
35+ script : " ./tools/travis/publish.sh openwhisk dockerskeleton latest && ./tools/travis/publish.sh openwhisk example latest "
3736 on :
3837 branch : master
3938 repo : apache/incubator-openwhisk-runtime-docker
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,25 +27,17 @@ UTILDIR="$ROOTDIR/../incubator-openwhisk-utilities"
2727
2828export OPENWHISK_HOME=$WHISKDIR
2929
30- IMAGE_PREFIX=" testing"
31-
3230# run scancode using the ASF Release configuration
3331cd $UTILDIR
3432scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR
3533
36- # Build OpenWhisk
34+ # Build OpenWhisk deps before we run tests
3735cd $WHISKDIR
38-
39- # pull down images
40- docker pull openwhisk/controller
41- docker tag openwhisk/controller ${IMAGE_PREFIX} /controller
42- docker pull openwhisk/invoker
43- docker tag openwhisk/invoker ${IMAGE_PREFIX} /invoker
44- docker pull openwhisk/nodejs6action
45- docker tag openwhisk/nodejs6action nodejs6action
46-
4736TERM=dumb ./gradlew install
37+ # Mock file (works around bug upstream)
38+ echo " openwhisk.home=$WHISKDIR " > whisk.properties
39+ echo " vcap.services.file=" >> whisk.properties
4840
4941# Build runtime
5042cd $ROOTDIR
51- TERM=dumb ./gradlew distDocker -PdockerImagePrefix= ${IMAGE_PREFIX}
43+ TERM=dumb ./gradlew distDocker
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,4 +31,5 @@ git clone https://github.com/apache/incubator-openwhisk-utilities.git
3131# clone main openwhisk repo. for testing purposes
3232git clone --depth=1 https://github.com/apache/incubator-openwhisk.git openwhisk
3333cd openwhisk
34+
3435./tools/travis/setup.sh
Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ ROOTDIR="$SCRIPTDIR/../.."
2525WHISKDIR=" $ROOTDIR /../openwhisk"
2626
2727export OPENWHISK_HOME=$WHISKDIR
28-
2928cd ${ROOTDIR}
3029TERM=dumb ./gradlew :tests:checkScalafmtAll
3130TERM=dumb ./gradlew :tests:test
32-
33-
34-
You can’t perform that action at this time.
0 commit comments