osmith submitted this change.

View Change


Approvals: osmith: Looks good to me, approved; Verified
ttcn3: run_docker: remove :ro

Don't mount usr_local, var_local as read-only, so the environment is
more similar to our jenkins.

Fix for:
+ /data/upfd-setup.sh
+ command -v open5gs-upfd
+ upfd_bin=/usr/local/bin/open5gs-upfd
+ setcap cap_net_raw+ep /usr/local/bin/open5gs-upfd
Failed to set capabilities on file '/usr/local/bin/open5gs-upfd': Read-only file system

Change-Id: I52d2989d91119f0f1673f49723f1055fe7428d15
---
M ttcn3/ttcn3.sh
1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh
index 38a5c37..a07295a 100755
--- a/ttcn3/ttcn3.sh
+++ b/ttcn3/ttcn3.sh
@@ -450,8 +450,8 @@
cd "$(get_testsuite_dir_docker)"
DOCKER_ARGS="\
-e LD_LIBRARY_PATH=/usr/local/lib \
- -v "$DIR_USR_LOCAL":/usr/local:ro \
- -v "$DIR_VAR_LOCAL":/var/local:ro \
+ -v "$DIR_USR_LOCAL":/usr/local \
+ -v "$DIR_VAR_LOCAL":/var/local \
-v $hacks:/osmo-ttcn3-hacks:ro \
"
if [ -n "$ARG_TEST_NAME" ]; then

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

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I52d2989d91119f0f1673f49723f1055fe7428d15
Gerrit-Change-Number: 35117
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-MessageType: merged