forked from ibm-functions/runtime-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·36 lines (29 loc) · 837 Bytes
/
Copy pathbuild.sh
File metadata and controls
executable file
·36 lines (29 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
set -ex
# Build script for Travis-CI.
SCRIPTDIR=$(cd $(dirname "$0") && pwd)
ROOTDIR="$SCRIPTDIR/../.."
WHISKDIR="$ROOTDIR/../openwhisk"
IMAGE_PREFIX="testing"
export OPENWHISK_HOME=$WHISKDIR
# Build OpenWhisk
cd $WHISKDIR
# Pull down images
docker pull openwhisk/controller
docker tag openwhisk/controller ${IMAGE_PREFIX}/controller
docker pull openwhisk/invoker
docker tag openwhisk/invoker ${IMAGE_PREFIX}/invoker
docker pull openwhisk/nodejs6action
docker tag openwhisk/nodejs6action nodejs6action
docker pull openwhisk/python2action
docker tag openwhisk/python2action python2action
TERM=dumb ./gradlew \
:common:scala:install \
:core:controller:install \
:core:invoker:install \
:tests:install
# Build IBM nodejs runtime
cd $ROOTDIR
TERM=dumb ./gradlew \
:python3:distDocker \
-PdockerImagePrefix=${IMAGE_PREFIX}