aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2017-05-15 19:32:43 +0200
committerGravatar GitHub <noreply@github.com>2017-05-15 19:32:42 +0200
commit0397f7b05e85c6771a864fb016fbd2979fb4648d (patch)
treee1968488d4eb39cbc2ff7a9cc7cfe2d98d932eef
parentec3fb9dc241e2212ed054eebb841dee3e3202c04 (diff)
parentb7236db182770dca1c7767e9aed2c8f64756e6fb (diff)
Merge pull request #11137 from jtattermusch/internal_ci_move_docker_graph
Prevent out of disk space error on internal_ci
-rw-r--r--tools/internal_ci/helper_scripts/prepare_build_linux_rc4
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