mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-06-20 05:46:00 +00:00
BUILDBOT: Use user provided network when creating workers
This commit is contained in:
1 parent
e209c99777
commit
7c17752a8f
1 file changed
+2
-2
@@ -32,7 +32,7 @@ def StandardBuilderWorker(name, **kwargs):
|
||||
'{0}/bshomes:/data/bshomes'.format(config.data_dir),
|
||||
],
|
||||
hostconfig={
|
||||
'network_mode': 'workers-net',
|
||||
'network_mode': config.docker_workers_net,
|
||||
'read_only': True,
|
||||
'mounts': [tmpfs],
|
||||
},
|
||||
@@ -52,7 +52,7 @@ def FetcherWorker(name, **kwargs):
|
||||
'{0}/triggers:/data/triggers'.format(config.data_dir),
|
||||
],
|
||||
hostconfig={
|
||||
'network_mode': 'workers-net',
|
||||
'network_mode': config.docker_workers_net,
|
||||
'read_only': True,
|
||||
'mounts': [tmpfs],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user