osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40942?usp=email )
Change subject: testenv: init podman: add --distro arg
......................................................................
testenv: init podman: add --distro arg
Allow building the podman image for another distribution. This was
mostly implemented already, but due to the missing --distro argument for
"./testenv.py init podman" it could not be used yet.
Change-Id: Iff59b5d403e88046a3f98438394e1e02a36e7c0a
---
M _testenv/testenv/__init__.py
1 file changed, 6 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
diff --git a/_testenv/testenv/__init__.py b/_testenv/testenv/__init__.py
index 3de7f0c..49f6368 100644
--- a/_testenv/testenv/__init__.py
+++ b/_testenv/testenv/__init__.py
@@ -69,6 +69,12 @@
action="store_true",
help="build image even if it is up-to-date",
)
+ sub_podman.add_argument(
+ "-d",
+ "--distro",
+ default=distro_default,
+ help=f"distribution for podman (default: {distro_default})",
+ )
sub_run = sub.add_parser("run", help="build components and run a
testsuite")
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40942?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iff59b5d403e88046a3f98438394e1e02a36e7c0a
Gerrit-Change-Number: 40942
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>