osmith has uploaded this change for review.

View Change

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

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/38849/1
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 change 38849. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia88906147e2e579145e3c8d04090c58f533febd5
Gerrit-Change-Number: 38849
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>