From a5b053f81d24e323f73c7197383dda266d58aaa9 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 7 Feb 2020 16:00:11 +0100 Subject: [PATCH] scripts: dev_cli: Use a tmpfs mount for /tmp To mitigate Azure slow disk IO, we mount /tmp on tmpfs. This is a reproduction of our CI environment, as setup by the Jenkinsfile. Signed-off-by: Samuel Ortiz --- scripts/dev_cli.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dev_cli.sh b/scripts/dev_cli.sh index a8be7d1d9..e18ef4b40 100755 --- a/scripts/dev_cli.sh +++ b/scripts/dev_cli.sh @@ -248,6 +248,7 @@ cmd_tests() { --workdir "$CTR_CLH_ROOT_DIR" \ --rm \ --privileged \ + --mount type=tmpfs,destination=/tmp \ --volume /dev:/dev \ --volume "$CLH_ROOT_DIR:$CTR_CLH_ROOT_DIR" \ --volume "$CLH_INTEGRATION_WORKLOADS:$CTR_CLH_INTEGRATION_WORKLOADS" \