osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/29596 )


Change subject: obs: run_in_docker_and_exit: --rm on extra line
......................................................................

obs: run_in_docker_and_exit: --rm on extra line

Put it on an extra line like the other arguments to prevent it from
getting overlooked.

Related: OS#2385
Change-Id: Ie7dea2734e7c47766dfe64b7091bc4f5f72d53a5
---
M scripts/obs/lib/docker.py
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/96/29596/1

diff --git a/scripts/obs/lib/docker.py b/scripts/obs/lib/docker.py
index a5dbcd9..b4ec157 100644
--- a/scripts/obs/lib/docker.py
+++ b/scripts/obs/lib/docker.py
@@ -47,9 +47,10 @@
     lib.set_cmds_verbose(args.verbose)

     cmd = ["docker", "run",
+           "--rm",
            "-e", "INSIDE_DOCKER=1",
            "-e", "PYTHONUNBUFFERED=1",
-           "--rm", "-v", f"{lib.config.path_top}:/obs"]
+           "-v", f"{lib.config.path_top}:/obs"]

     if oscrc:
         cmd += ["-v", f"{oscrc}:/home/user/.oscrc"]

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29596
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ie7dea2734e7c47766dfe64b7091bc4f5f72d53a5
Gerrit-Change-Number: 29596
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to