osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38849?usp=email )
Change subject: testenv: pass env var for --binary-repo
......................................................................
testenv: pass env var for --binary-repo
Pass TESTENV_BINARY_REPO=1 to the podman container if the --binary-repo
argument is set. This will be used for the BTS testsuite to figure out
from where we need to run fake-trx.
Change-Id: Ia88906147e2e579145e3c8d04090c58f533febd5
---
M _testenv/testenv/podman.py
1 file changed, 6 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py
index 1281b3b..f8812e4 100644
--- a/_testenv/testenv/podman.py
+++ b/_testenv/testenv/podman.py
@@ -243,7 +243,12 @@
"PODMAN=1",
]
- if not testenv.args.binary_repo:
+ if testenv.args.binary_repo:
+ cmd += [
+ "-e",
+ "TESTENV_BINARY_REPO=1",
+ ]
+ else:
cmd += [
"--volume",
f"{osmo_dev_dir}:{osmo_dev_dir}",
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38849?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: Ia88906147e2e579145e3c8d04090c58f533febd5
Gerrit-Change-Number: 38849
Gerrit-PatchSet: 1
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>