Add support for mapping dirs into bubblewrap

I9a8a74a338a8a837913db5e2effeef1bd949a49c introduced these options.

Change-Id: I2e457e05ccee8da33cddf11deb47144c556a024f
This commit is contained in:
James E. Blair 2017-06-27 13:46:58 -07:00
parent 7028052386
commit d7a484b188
2 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,10 @@ class zuul (
$sites = [],
$nodes = [],
$connections = [],
$trusted_ro_dirs = [],
$trusted_rw_dirs = [],
$untrusted_ro_dirs = [],
$untrusted_rw_dirs = [],
$python_version = 2,
$zuulv3 = false,
$gearman_client_ssl_cert = undef,

View File

@ -49,6 +49,10 @@ log_config=/etc/zuul/executor-logging.conf
<% if @worker_private_key_file != "" -%>
private_key_file=<%= @worker_private_key_file %>
<% end -%>
trusted_ro_dirs=<%= @trusted_ro_dirs.join(':') %>
trusted_rw_dirs=<%= @trusted_rw_dirs.join(':') %>
untrusted_ro_dirs=<%= @untrusted_ro_dirs.join(':') %>
untrusted_rw_dirs=<%= @untrusted_rw_dirs.join(':') %>
<% @connections.each do |connection| -%>
[connection "<%= connection['name'] %>"]