Bound Docker client runtime within provisioning resource ceiling
Deploy Canina / deploy (push) Failing after 1m38s
Deploy Canina / deploy (push) Failing after 1m38s
This commit is contained in:
1 parent
1858eba3e6
commit
19583c5ad8
1 file changed
+1
-1
@@ -12,7 +12,7 @@ resource.setrlimit(resource.RLIMIT_AS, (1536*1024*1024, 1536*1024*1024))
|
||||
resource.setrlimit(resource.RLIMIT_CPU, (60, 60))
|
||||
resource.setrlimit(resource.RLIMIT_FSIZE, (64*1024*1024, 64*1024*1024))
|
||||
def docker(*args):
|
||||
return subprocess.check_output(['docker', *args], text=True, timeout=45)
|
||||
return subprocess.check_output(['docker', *args], text=True, timeout=45, env={**os.environ, 'GOMAXPROCS':'2', 'GOMEMLIMIT':'256MiB'})
|
||||
spec=importlib.util.spec_from_file_location('provision','scripts/provision-stage-runtime.py')
|
||||
m=importlib.util.module_from_spec(spec);spec.loader.exec_module(m)
|
||||
m.ci_gate()
|
||||
|
||||
Reference in new issue
Block a user