kopia lustrzana https://github.com/jupyterhub/repo2docker
Pass cert_dir removal some of the time
rodzic
5aaf26aa9d
commit
9753570370
|
@ -48,7 +48,11 @@ def dind(registry, host_ip):
|
||||||
try:
|
try:
|
||||||
yield f"tcp://127.0.0.1:{port}", cert_dir
|
yield f"tcp://127.0.0.1:{port}", cert_dir
|
||||||
finally:
|
finally:
|
||||||
|
try:
|
||||||
shutil.rmtree(cert_dir)
|
shutil.rmtree(cert_dir)
|
||||||
|
except PermissionError:
|
||||||
|
# Sometimes this is owned by root in CI. is ok, let's let it go
|
||||||
|
pass
|
||||||
proc.terminate()
|
proc.terminate()
|
||||||
proc.wait()
|
proc.wait()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue