aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/jenkins/build_interop_stress_image.sh
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-30 07:33:47 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-30 07:33:47 -0700
commit026a3dda920335b08d9d970fbe29f72627113384 (patch)
tree6b44bc93431d95f230cffb08543e3945a6ecacf6 /tools/jenkins/build_interop_stress_image.sh
parent5595c759dd5197b5d317bbd856db089d9149cc3d (diff)
parent981bfb0fd372378177d410696c56cceb112ce7f6 (diff)
Merge github.com:grpc/grpc into accounting
Diffstat (limited to 'tools/jenkins/build_interop_stress_image.sh')
-rwxr-xr-xtools/jenkins/build_interop_stress_image.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/jenkins/build_interop_stress_image.sh b/tools/jenkins/build_interop_stress_image.sh
index 501dc5b7ca..b5dbcc5ce4 100755
--- a/tools/jenkins/build_interop_stress_image.sh
+++ b/tools/jenkins/build_interop_stress_image.sh
@@ -34,10 +34,12 @@
set -x
# Params:
-# INTEROP_IMAGE - name of tag of the final interop image
+# INTEROP_IMAGE - Name of tag of the final interop image
# INTEROP_IMAGE_TAG - Optional. If set, the created image will be tagged using
# the command: 'docker tag $INTEROP_IMAGE $INTEROP_IMAGE_REPOSITORY_TAG'
-# BASE_NAME - base name used to locate the base Dockerfile and build script
+# BASE_NAME - Base name used to locate the base Dockerfile and build script
+# BUILD_TYPE - The 'CONFIG' variable passed to the 'make' command (example:
+# asan, tsan. Default value: opt).
# TTY_FLAG - optional -t flag to make docker allocate tty
# BUILD_INTEROP_DOCKER_EXTRA_ARGS - optional args to be passed to the
# docker run command
@@ -71,6 +73,7 @@ CONTAINER_NAME="build_${BASE_NAME}_$(uuidgen)"
(docker run \
-e CCACHE_DIR=/tmp/ccache \
-e THIS_IS_REALLY_NEEDED='see https://github.com/docker/docker/issues/14203 for why docker is awful' \
+ -e BUILD_TYPE=${BUILD_TYPE:=opt} \
-i $TTY_FLAG \
$MOUNT_ARGS \
$BUILD_INTEROP_DOCKER_EXTRA_ARGS \