Change in osmo-ci[master]: OBS: add --noservice to osc ci command

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
Fri May 22 09:56:25 UTC 2020


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


Change subject: OBS: add --noservice to osc ci command
......................................................................

OBS: add --noservice to osc ci command

Prevent the following error:

ERROR: please install obs-service-format_spec_file or use the --noservice option
Build step 'Execute shell' marked build as failure

Related: https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_latest/976/console
Change-Id: Ib2fbaace47b3c12462860419f19b01a5b4d192e8
---
M scripts/osmocom-latest-packages.sh
M scripts/osmocom-nightly-packages.sh
2 files changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh
index ddf5359..5e35659 100755
--- a/scripts/osmocom-latest-packages.sh
+++ b/scripts/osmocom-latest-packages.sh
@@ -207,7 +207,7 @@
   #build osmo-uecups
 
   cd "$TOP/$PROJ"
-  osc ci -m "Latest Tagged versions of $DT"
+  osc ci -m "Latest Tagged versions of $DT" --noservice
 }
 
 build_osmocom
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 8f36377..a79a754 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -126,7 +126,7 @@
   cd "$oscdir"
   osc add -- *.tar* *.dsc
   osmo_obs_add_rpm_spec "$oscdir" "$repodir" "$name"
-  osc ci -m "Snapshot $name $DT"
+  osc ci -m "Snapshot $name $DT" --noservice
 }
 
 post() {

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ib2fbaace47b3c12462860419f19b01a5b4d192e8
Gerrit-Change-Number: 18392
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/20200522/34c60a55/attachment.htm>


More information about the gerrit-log mailing list