File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ deploy:
4545 all_branches : true
4646 repo : apache/openwhisk-runtime-python
4747 - provider : script
48- script : " ./tools/travis/publish.sh openwhisk 3 nightly && ./tools/travis/publish.sh openwhisk 3-ai nightly && ./tools/travis/publish.sh openwhisk 3-loop nightly"
48+ script : " ./tools/travis/publish.sh openwhisk 3 nightly && ./tools/travis/publish.sh openwhisk 3-ai nightly && ./tools/travis/publish.sh openwhisk 3-loop nightly && ./tools/travis/publish.sh openwhisk 3-loopai nightly "
4949 on :
5050 branch : master
5151 repo : apache/openwhisk-runtime-python
Original file line number Diff line number Diff line change 1717
1818# build go proxy from source
1919FROM golang:1.12 AS builder_source
20- # RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main && mv /go/bin/main /bin/proxy
21- RUN git clone --branch dev \
22- https://github.com/nimbella-corp/openwhisk-runtime-go /src ;\
20+ ARG GO_PROXY_GITHUB_USER=apache
21+ ARG GO_PROXY_GITHUB_BRANCH=master
22+ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
23+ https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go /src ;\
2324 cd /src ; env GO111MODULE=on CGO_ENABLED=0 go build main/proxy.go && \
2425 mv proxy /bin/proxy
2526
Original file line number Diff line number Diff line change 1616#
1717# build go proxy from source
1818FROM golang:1.12 AS builder_source
19- # RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main && mv /go/bin/main /bin/proxy
20- RUN git clone --branch dev \
21- https://github.com/nimbella-corp/openwhisk-runtime-go /src ;\
19+ ARG GO_PROXY_GITHUB_USER=apache
20+ ARG GO_PROXY_GITHUB_BRANCH=master
21+ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
22+ https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go /src ;\
2223 cd /src ; env GO111MODULE=on CGO_ENABLED=0 go build main/proxy.go && \
2324 mv proxy /bin/proxy
2425
Original file line number Diff line number Diff line change 1717
1818# build go proxy from source
1919FROM golang:1.12 AS builder_source
20- # RUN env CGO_ENABLED=0 go get github.com/apache/openwhisk-runtime-go/main && mv /go/bin/main /bin/proxy
21- RUN git clone --branch dev \
22- https://github.com/nimbella-corp/openwhisk-runtime-go /src ;\
20+ ARG GO_PROXY_GITHUB_USER=apache
21+ ARG GO_PROXY_GITHUB_BRANCH=master
22+ RUN git clone --branch ${GO_PROXY_GITHUB_BRANCH} \
23+ https://github.com/${GO_PROXY_GITHUB_USER}/openwhisk-runtime-go /src ;\
2324 cd /src ; env GO111MODULE=on CGO_ENABLED=0 go build main/proxy.go && \
2425 mv proxy /bin/proxy
2526
2627# or build it from a release
2728FROM golang:1.12 AS builder_release
2829ARG GO_PROXY_RELEASE_VERSION=1.12@1.15.0
2930RUN curl -sL \
30- https://github.com/apache/openwhisk-runtime-go/archive/{$ GO_PROXY_RELEASE_VERSION}.tar.gz\
31+ https://github.com/apache/openwhisk-runtime-go/archive/${ GO_PROXY_RELEASE_VERSION}.tar.gz\
3132 | tar xzf -\
3233 && cd openwhisk-runtime-go-*/main\
3334 && GO111MODULE=on go build -o /bin/proxy
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ tasks.withType(ScalaCompile) {
4444}
4545
4646task testPython3 (type : Test ) {
47+ // python2 is end-of-life and the runtime not built by default
48+ exclude ' scala/runtime/actionContainers/Python2ActionLoopContainerTests'
4749}
4850
4951task buildArtifacts (type :Exec ) {
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ elif [ ${RUNTIME_VERSION} == "3-ai" ]; then
3636 RUNTIME=" python3AiAction"
3737elif [ ${RUNTIME_VERSION} == " 3-loop" ]; then
3838 RUNTIME=" pythonActionLoop"
39+ elif [ ${RUNTIME_VERSION} == " 3-loopai" ]; then
40+ RUNTIME=" python3AiActionLoop"
3941fi
4042
4143if [[ ! -z ${DOCKER_USER} ]] && [[ ! -z ${DOCKER_PASSWORD} ]]; then
You can’t perform that action at this time.
0 commit comments