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")