osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/41371?usp=email )


Change subject: OBS: configure Osmocom pyhss fork
......................................................................

OBS: configure Osmocom pyhss fork

Add the Osmocom fork of PyHSS to scripts/obs/lib/config.py, so the
Osmocom_OBS_* jobs build source packages for it and push them to our OBS
where binary packages get built. We need to use a fork for now, as the
official repository can't run outside of a git tree yet and doesn't have
debian packaging. These changes are being upstreamed, the goal is that
we don't need to use our fork in the long run.

Related: SYS#6819
Change-Id: I8fc7ef9dc242248770711da2893492fae8a84522
---
M scripts/obs/lib/config.py
1 file changed, 7 insertions(+), 2 deletions(-)



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

diff --git a/scripts/obs/lib/config.py b/scripts/obs/lib/config.py
index 0a8d60d..b1384fd 100644
--- a/scripts/obs/lib/config.py
+++ b/scripts/obs/lib/config.py
@@ -100,6 +100,7 @@
 projects_other = [
     "neocon",
     "open5gs",
+    "pyhss",
 ]

 git_url_default = "https://gerrit.osmocom.org";  # /project gets appended
@@ -111,24 +112,28 @@
     "rtl-sdr": "https://gitea.osmocom.org/sdr/rtl-sdr";,
     "strongswan-epdg": 
"https://gitea.osmocom.org/ims-volte-vowifi/strongswan-epdg";,
     "libosmo-sccp-legacy": 
"https://gitea.osmocom.org/osmocom/libosmo-sccp-legacy";,
+    "pyhss": "https://gitea.osmocom.org/osmocom/pyhss";,
 }

 git_branch_default = "master"
 git_branch_other = {
     "open5gs": "main",
+    "pyhss": "osmocom/master",
 }

 def tag_pattern(prefix: str = '',
                 a: str = r'\d+',
                 b: str = r'\.\d+',
-                c: str = r'\.\d+') -> str:
-    return rf'^{prefix}{a}{b}{c}$'
+                c: str = r'\.\d+',
+                suffix: str = '') -> str:
+    return rf'^{prefix}{a}{b}{c}{suffix}$'

 git_latest_tag_pattern_default = tag_pattern()
 git_latest_tag_pattern_other = {
         "gapk": tag_pattern('v', c=r'(\.\d+)?'),
         "open5gs": tag_pattern('v'),
         "osmo-fl2k": tag_pattern('v'),
+        "pyhss": tag_pattern(suffix='-osmocom\\d+'),
         "rtl-sdr": tag_pattern('v'),
         "strongswan-epdg": tag_pattern('osmo-epdg-', c=r'\.[0-9a-z]+'),
         "wireshark": tag_pattern('v', c=r'\.[0-9a-z]+'),

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

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I8fc7ef9dc242248770711da2893492fae8a84522
Gerrit-Change-Number: 41371
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to