diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-05-15 19:13:35 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-05-15 19:13:35 +0200 |
commit | b7236db182770dca1c7767e9aed2c8f64756e6fb (patch) | |
tree | 6c5c14b35b444a1b192c3d6d6bc65f2b8a7e2cb2 /tools | |
parent | 3e95a38bdfb584f1a1ba97114d536704f127a5cf (diff) |
prevent out of disk space error
Diffstat (limited to 'tools')
-rw-r--r-- | tools/internal_ci/helper_scripts/prepare_build_linux_rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/internal_ci/helper_scripts/prepare_build_linux_rc b/tools/internal_ci/helper_scripts/prepare_build_linux_rc index c8cb5a0c40..7f6e093408 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_linux_rc +++ b/tools/internal_ci/helper_scripts/prepare_build_linux_rc @@ -33,6 +33,10 @@ # Need to increase open files limit for c tests ulimit -n 32768 +# Move docker's storage location to scratch disk so we don't run out of space. +echo 'DOCKER_OPTS="${DOCKER_OPTS} --graph=/tmpfs/docker"' | sudo tee --append /etc/default/docker +sudo service docker restart + # Download Docker images from DockerHub export DOCKERHUB_ORGANIZATION=grpctesting |