Change in docker-playground[master]: jenkins-common.sh: add NO_LIST_OSMO_PACKAGES

osmith gerrit-no-reply at lists.osmocom.org
Fri Jul 9 13:26:51 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/24902 )


Change subject: jenkins-common.sh: add NO_LIST_OSMO_PACKAGES
......................................................................

jenkins-common.sh: add NO_LIST_OSMO_PACKAGES

Allow to optionally skip listing the installed packages. This is useful
to speed up tests when running locally.

Related: osmo-dev I3d9976d07f088e2d106d23259889a4bffe1abbcb
Change-Id: Iaafb81e9ee94850ae3b6318574ad5370d74a2838
---
M jenkins-common.sh
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/02/24902/1

diff --git a/jenkins-common.sh b/jenkins-common.sh
index 2cf5c50..ef6fad9 100644
--- a/jenkins-common.sh
+++ b/jenkins-common.sh
@@ -67,6 +67,10 @@
 	local image="$2"
 	local docker_run_sh="docker run --rm --entrypoint=/bin/sh $REPO_USER/$image -c"
 
+	if [ -n "$NO_LIST_OSMO_PACKAGES" ]; then
+		return
+	fi
+
 	# Don't run on all images
 	case "$image" in
 	osmo-*) ;;

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/24902
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Iaafb81e9ee94850ae3b6318574ad5370d74a2838
Gerrit-Change-Number: 24902
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210709/970b0d49/attachment.htm>


More information about the gerrit-log mailing list