Change in osmo-ci[master]: Cosmetic: OBS: describe build() parameters

osmith gerrit-no-reply at lists.osmocom.org
Thu Apr 29 14:08:36 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/23970 )

Change subject: Cosmetic: OBS: describe build() parameters
......................................................................

Cosmetic: OBS: describe build() parameters

Change-Id: Ib50499d6d3bd862879eaff58c9bf2260afc97ff8
---
M scripts/osmocom-latest-packages.sh
M scripts/osmocom-nightly-packages.sh
2 files changed, 9 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  osmith: Verified



diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh
index 8eef259..8c979ef 100755
--- a/scripts/osmocom-latest-packages.sh
+++ b/scripts/osmocom-latest-packages.sh
@@ -61,6 +61,9 @@
   fi
 }
 
+# Generate a source package and upload it to OBS
+# $1: package name (e.g. "libosmocore")
+# $2: arguments to pass to "gbp buildpackage"
 build() {
   project=$1
   gitbpargs="$2"
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index bc45188..a51ef55 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -112,6 +112,12 @@
   cd -
 }
 
+# Generate a source package and upload it to OBS
+# $1: package name (e.g. "libosmocore")
+# $2: update debian dir when set to "commit" (default):
+#     * add dependency on osmocom-$FEED package
+#     * add new version to changelog (e.g. "1.5.1.96.c96d7.202104281354")
+# $3: arguments to pass to "gbp buildpackage"
 build() {
   local name=$1
   local changelog=$2

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ib50499d6d3bd862879eaff58c9bf2260afc97ff8
Gerrit-Change-Number: 23970
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210429/5081ee0f/attachment.htm>


More information about the gerrit-log mailing list