osmith submitted this change.

View Change

Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
testenv: podman: always mount osmo-dev dir

Prepare to be able to use osmo-dev for building some test components
from source even if running with --binary-packages. This is needed for
e.g. the bts testsuite, where we should always use master for both
trxcon and osmo-trx-proxy, regardless of the osmo-bts version
(nightly/latest/asan). These are part of the testsuite and not SUT.

Related: OS#6638#note-12
Change-Id: Ie470be84dd7b9f34dfe8ed461710c1964b481984
---
M _testenv/testenv/podman.py
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py
index 0293712..24ef731 100644
--- a/_testenv/testenv/podman.py
+++ b/_testenv/testenv/podman.py
@@ -264,7 +264,8 @@
"-e",
"TESTENV_BINARY_REPO=1",
]
- else:
+
+ if os.path.exists(osmo_dev_dir):
cmd += [
"--volume",
f"{osmo_dev_dir}:{osmo_dev_dir}",

To view, visit change 43771. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie470be84dd7b9f34dfe8ed461710c1964b481984
Gerrit-Change-Number: 43771
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>