osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/33986 )
Change subject: Cosmetic: jobs/gerrit: update pipeline comment
......................................................................
Cosmetic: jobs/gerrit: update pipeline comment
Change-Id: If06af0e955240e1b9d678f1020767bbfb70b1d96
---
M jobs/gerrit-verifications.yml
1 file changed, 11 insertions(+), 6 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 7b6c1f8..2bbe261 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -24,7 +24,8 @@
# NOTE: after updating the job with Jenkins Job Builder as usual, check if a
# new pipeline script was generated and approve it here:
# https://jenkins.osmocom.org/jenkins/scriptApproval/
-# This happens when changing the pipeline script, when adding new projects etc.
+# This used to be necessary when changing the pipeline script, adding new
+# projects etc. But it seems to get auto-approved now.
- project:
name: gerrit
@@ -466,11 +467,6 @@
name: PIPELINE_ENDIANNESS
description: Run struct_endianness.py from libosmocore.git
default: '{obj:pipeline_endianness}'
- # NOTE: jenkins pipelines don't run unless the dsl-script was approved.
- # Sadly this doesn't happen automatically when updating the job with
- # Jenkins Job Builder. So if you change the pipeline script, update the job
- # as usually with JJB and then approve the scripts here:
- # https://jenkins.osmocom.org/jenkins/scriptApproval/
dsl: |
pipeline {{
agent none
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/33986
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: If06af0e955240e1b9d678f1020767bbfb70b1d96
Gerrit-Change-Number: 33986
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/33989 )
Change subject: jobs/gerrit-verifications: fix binpkgs for libusrp
......................................................................
jobs/gerrit-verifications: fix binpkgs for libusrp
Don't build libusrp for centos8/almalinux. libusrp does have a .spec.in
file, but it needs SDCC for the build and SDCC is not available there.
In theory we could build the rpm in CI for opensuse tumbleweed, but it
requires adding support for building for opensuse in
scripts/obs/data/build_binpkg.Dockerfile and
scripts/obs/data/build_rpm.sh first, and since it works quite
differently than centos8 and libusrp changes rarely (last code change in
2021) I've decided to not do that now.
Fixes: OS#5898
Change-Id: If61765fe628321cae004307f4845d8927a1c7019
---
M jobs/gerrit-verifications.yml
1 file changed, 23 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index f2c8bec..7fbc328 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -128,7 +128,9 @@
- libtelnet:
pipeline_binpkgs: ""
- - libusrp
+ - libusrp:
+ # centos8/almalinux doesn't have SDCC (OS#5898)
+ pipeline_binpkgs: "debian:11"
- openbsc:
docker_img: '$USER/debian-bullseye-jenkins' # needs python2 (OS#5950)
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/33989
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: If61765fe628321cae004307f4845d8927a1c7019
Gerrit-Change-Number: 33989
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/33991 )
Change subject: scripts/jenkins-gerrit: make assert more verbose
......................................................................
scripts/jenkins-gerrit: make assert more verbose
Change-Id: I0ea40663220f7eb8ee72e43f3f6b776be5835db2
---
M scripts/jenkins-gerrit/comment_generate.py
1 file changed, 11 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/scripts/jenkins-gerrit/comment_generate.py b/scripts/jenkins-gerrit/comment_generate.py
index e96893c..147faac 100755
--- a/scripts/jenkins-gerrit/comment_generate.py
+++ b/scripts/jenkins-gerrit/comment_generate.py
@@ -97,7 +97,8 @@
assert stage in ret, f"found result for stage {stage}, but" \
" didn't find where it was started. The" \
" re_start_build regex probably needs to be adjusted" \
- " to match the related gerrit-*-build job."
+ " to match the related gerrit-*-build job.\n\n" \
+ f"ret: {ret}"
ret[stage]["passed"] = (match.group(2) == "SUCCESS")
return ret
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/33991
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I0ea40663220f7eb8ee72e43f3f6b776be5835db2
Gerrit-Change-Number: 33991
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged