osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29156 )
Change subject: repo-install-test: don't use next repository
......................................................................
repo-install-test: don't use next repository
For the conflict test, don't attempt to install packages from the next
feed for centos8. This was useful when we didn't have binary packages
for centos8 for latest yet, but we have them now. The next feed existed
temporarily and isn't updated anymore for a long time. We did not add it
to obs.osmocom.org.
This is in preparation for adjusting repo-install-test to use packages
from obs.osmocom.org, where we don't have a next feed.
Change-Id: I73a6c051c423eb30ddeab1688fc78fe959e60cf4
---
M scripts/repo-install-test.sh
1 file changed, 0 insertions(+), 4 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
neels: Looks good to me, approved
diff --git a/scripts/repo-install-test.sh b/scripts/repo-install-test.sh
index 6b14cf2..d34cf6e 100755
--- a/scripts/repo-install-test.sh
+++ b/scripts/repo-install-test.sh
@@ -50,10 +50,6 @@
;;
nightly)
PROJ_CONFLICT="network:osmocom:latest"
- if [ "$DISTRO" = "centos8" ]; then
- # Doesn't have packages built for "latest" yet
- PROJ_CONFLICT="network:osmocom:next"
- fi
;;
next)
PROJ_CONFLICT="network:osmocom:nightly"
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29156
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I73a6c051c423eb30ddeab1688fc78fe959e60cf4
Gerrit-Change-Number: 29156
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29155 )
Change subject: jobs/ttcn3: use new packages for 20YYqX testsuite
......................................................................
jobs/ttcn3: use new packages for 20YYqX testsuite
Drop _MIRROR variables, as both the testsuite packages and the packages
to test are now on downloads.osmocom.org. Previously these variables
were necessary as the testsuite packages were only on
download.opensuse.org (before we set up obs.osmocom.org, which publishes
packages to downloads.osmocom.org).
Change-Id: I34050da1e2444cf684ff8bd07673e3268b4dd497
---
M jobs/ttcn3-testsuites.yml
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
neels: Looks good to me, approved
diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
index e4de4a5..e8420ec 100644
--- a/jobs/ttcn3-testsuites.yml
+++ b/jobs/ttcn3-testsuites.yml
@@ -436,8 +436,6 @@
export IMAGE_SUFFIX="latest-centos7"
;;
TTCN3-centos-*-20*q*)
- export OSMOCOM_REPO_TESTSUITE_MIRROR="http://download.opensuse.org"
- export OSMOCOM_REPO_MIRROR="https://downloads.osmocom.org"
export OSMOCOM_REPO_PATH="osmo-maintained"
export OSMOCOM_REPO_VERSION="$(echo "{job-name}" | grep -o -P -- "20\d\dq.*$")" # e.g. "2021q1"
export IMAGE_SUFFIX="$OSMOCOM_REPO_VERSION-centos8"
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29155
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I34050da1e2444cf684ff8bd07673e3268b4dd497
Gerrit-Change-Number: 29155
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29154 )
Change subject: jobs/ttcn3: drop obs-mirror workaround for centos8
......................................................................
jobs/ttcn3: drop obs-mirror workaround for centos8
Get the centos8 packages directly from the package repository again
(https://downloads.osmocom.org/packages/) instead of getting them from
the delayed obs-mirror dir (https://downloads.osmocom.org/obs-mirror/).
Use the packages generated from obs.osmocom.org for the testsuite too.
This reverts 526f1e12d33a2f9edd8419210cb6f036abc00f68 and
I8201f34a0f9747eea78c358a626cc3981d7407c4 which set this up to work
around sporadically missing metadata files from download.opensuse.org.
Change-Id: Ic7920ad71a0cb6362883f8b9ed3dbc9bbb992988
---
M jobs/ttcn3-testsuites.yml
1 file changed, 0 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
neels: Looks good to me, approved
diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
index ba5b298..e4de4a5 100644
--- a/jobs/ttcn3-testsuites.yml
+++ b/jobs/ttcn3-testsuites.yml
@@ -445,9 +445,6 @@
;;
TTCN3-centos-*)
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos\-/ttcn3-/)"
- export OSMOCOM_REPO_TESTSUITE_MIRROR="http://download.opensuse.org"
- export OSMOCOM_REPO_MIRROR="https://downloads.osmocom.org"
- export OSMOCOM_REPO_PATH="obs-mirror/.previous"
export IMAGE_SUFFIX="master-centos8"
;;
TTCN3-centos7-*)
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29154
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ic7920ad71a0cb6362883f8b9ed3dbc9bbb992988
Gerrit-Change-Number: 29154
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29097 )
Change subject: obs: meaningful error if debian/changelog is empty
......................................................................
obs: meaningful error if debian/changelog is empty
If there's an empty debian/changelog, packaging needs to be fixed in the
git repository of the project. Print a meaningful error instead of:
File "/obs/lib/srcpkg.py", line 68, in get_version_for_feed
if ":" in ret:
TypeError: argument of type 'NoneType' is not iterable
Change-Id: I294d844ccccfa12599b6ba1def087e4a32d289e7
---
M scripts/obs/lib/debian.py
M scripts/obs/lib/srcpkg.py
2 files changed, 6 insertions(+), 8 deletions(-)
Approvals:
neels: Looks good to me, approved
daniel: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py
index 89153fb..3bba3ec 100644
--- a/scripts/obs/lib/debian.py
+++ b/scripts/obs/lib/debian.py
@@ -73,14 +73,15 @@
repo_path = lib.git.get_repo_path(project)
changelog_path = f"{repo_path}/debian/changelog"
- if not os.path.exists(changelog_path):
- return None
+ assert os.path.exists(changelog_path), f"{project}: missing debian/changelog"
changelog = open(changelog_path).read()
- if not changelog:
- return None
+ assert changelog, f"{project}: debian/changelog is empty"
- return changelog.split("(", 1)[1].split(")", 1)[0]
+ ret = changelog.split("(", 1)[1].split(")", 1)[0]
+ assert ret, f"{project}: couldn't find last version in debian/changelog"
+
+ return ret
def changelog_add_entry_if_needed(project, feed, version):
diff --git a/scripts/obs/lib/srcpkg.py b/scripts/obs/lib/srcpkg.py
index baf64a9..035cf81 100644
--- a/scripts/obs/lib/srcpkg.py
+++ b/scripts/obs/lib/srcpkg.py
@@ -70,9 +70,6 @@
if ":" in ret:
ret = ret.split(":")[1]
- if not ret:
- ret = "0.0.0"
-
# Append the conflict_version to increase the version even if the commit
# did not change (OS#5135)
if conflict_version:
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29097
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I294d844ccccfa12599b6ba1def087e4a32d289e7
Gerrit-Change-Number: 29097
Gerrit-PatchSet: 4
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged