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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Mon Jul 12 08:04:39 UTC 2021


osmith has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved; Verified



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: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210712/0205cb7c/attachment.htm>


More information about the gerrit-log mailing list