aboutsummaryrefslogtreecommitdiff
path: root/ci/run-linux32-docker.sh
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2020-04-04 08:08:47 +0700
committerJunio C Hamano <gitster@pobox.com>2020-04-06 13:44:42 -0700
commit2bd1e2d273b69516a3c161671a39263589ccc9fc (patch)
tree8ea7c999df17fcb310c2f9f955348591539162f5 /ci/run-linux32-docker.sh
parentffce2ebdd9ad14d1ba315592157c03ce7ebd6212 (diff)
downloadgit-2bd1e2d273b69516a3c161671a39263589ccc9fc.tar.xz
ci/linux32: parameterise command to switch arch
In a later patch, the remaining of this command will be re-used for the CI job for linux with musl libc. Allow customisation of the emulator, now. Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/run-linux32-docker.sh')
-rwxr-xr-xci/run-linux32-docker.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/run-linux32-docker.sh b/ci/run-linux32-docker.sh
index ebb18fa747..54186b6aa7 100755
--- a/ci/run-linux32-docker.sh
+++ b/ci/run-linux32-docker.sh
@@ -9,6 +9,7 @@ docker pull daald/ubuntu32:xenial
# Use the following command to debug the docker build locally:
# $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial
+# root@container:/# export jobname=<jobname>
# root@container:/# /usr/src/git/ci/run-linux32-build.sh <host-user-id>
container_cache_dir=/tmp/travis-cache
@@ -21,6 +22,7 @@ docker run \
--env GIT_TEST_OPTS \
--env GIT_TEST_CLONE_2GB \
--env MAKEFLAGS \
+ --env jobname \
--env cache_dir="$container_cache_dir" \
--volume "${PWD}:/usr/src/git" \
--volume "$cache_dir:$container_cache_dir" \