From 74c1ba73ba557991521523aaa97ae15868c20d71 Mon Sep 17 00:00:00 2001 From: Tobias Henkel Date: Tue, 4 Jun 2019 14:09:15 +0200 Subject: [PATCH] Mount tmpfs on ansible tmp dir We explicitly set the ansible local_tmp dir to {work}/tmp. Since ansible writes many small files in there we should mount a tmpfs there to save iops. Change-Id: Ia17d9dac8e7f5d8fb8e294c37a7b0a6621ee7c7c --- zuul/driver/bubblewrap/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zuul/driver/bubblewrap/__init__.py b/zuul/driver/bubblewrap/__init__.py index 5133030739..a11c0e7ad6 100644 --- a/zuul/driver/bubblewrap/__init__.py +++ b/zuul/driver/bubblewrap/__init__.py @@ -199,6 +199,7 @@ class BubblewrapDriver(Driver, WrapperInterface): '--ro-bind', '/etc/localtime', '/etc/localtime', '--ro-bind', '{ssh_auth_sock}', '{ssh_auth_sock}', '--bind', '{work_dir}', '{work_dir}', + '--tmpfs', '{work_dir}/tmp', '--proc', '/proc', '--dev', '/dev', '--chdir', '{work_dir}',