Change in osmo-ci[master]: repo-install-test: tweak FEED syntax

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
Wed Jan 20 13:32:26 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/22327 )


Change subject: repo-install-test: tweak FEED syntax
......................................................................

repo-install-test: tweak FEED syntax

Use the shorter form, before adding another variable with default value.

Related: OS#4733
Change-Id: Icb36da91a6dc52529c2087b0961c1b698076eea1
---
M scripts/repo-install-test.sh
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/27/22327/1

diff --git a/scripts/repo-install-test.sh b/scripts/repo-install-test.sh
index 0c08e15..a30c36d 100755
--- a/scripts/repo-install-test.sh
+++ b/scripts/repo-install-test.sh
@@ -15,7 +15,7 @@
 DISTRO="$1"
 docker_images_require "$DISTRO-repo-install-test"
 
-[ -z "$FEED" ] && FEED="nightly"
+FEED="${FEED:-nightly}"
 CONTAINER="$DISTRO-repo-install-test-$FEED"
 
 # Try to run "systemctl status" 10 times, kill the container on failure

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/22327
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Icb36da91a6dc52529c2087b0961c1b698076eea1
Gerrit-Change-Number: 22327
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/20210120/0fec7e7b/attachment.htm>


More information about the gerrit-log mailing list