diff options
| author | dd <dd@wx.tnyzeq.icu> | 2025-03-07 14:41:07 +0100 |
|---|---|---|
| committer | dd <dd@wx.tnyzeq.icu> | 2025-03-07 14:41:07 +0100 |
| commit | 3337d11af857467e891ee5b787b65cea3fef1daa (patch) | |
| tree | cc0b0116b636005ed1dde2e7fa741fdb57a5e131 /new/lib/github.py | |
| parent | 2a919538ed75d17fd3f2387d765e74e9f41a7d0e (diff) | |
| download | vyos-jenkins-3337d11af857467e891ee5b787b65cea3fef1daa.tar.gz vyos-jenkins-3337d11af857467e891ee5b787b65cea3fef1daa.zip | |
fixed frozen circinus build
Diffstat (limited to 'new/lib/github.py')
| -rw-r--r-- | new/lib/github.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/new/lib/github.py b/new/lib/github.py index ef0ceaf..ff922dd 100644 --- a/new/lib/github.py +++ b/new/lib/github.py @@ -24,7 +24,7 @@ class GitHub: 3) construct package metadata from workflow definition """ - def __init__(self): + def __init__(self, vyos_stream_mode=False): # Some repositories have defined workflow, yet we don't want to build them # because they are for example obsolete and replaced by another package. self.blacklist = { @@ -63,6 +63,10 @@ class GitHub: "change_patterns": ["*"], "git_url": "https://github.com/vyos/libnss-mapuser.git", }, + }, + } + if vyos_stream_mode: + self.extra_packages["circinus"].update({ "vyos-build-libpam-radius-auth": { "repo_name": "vyos-build", "branch": "circinus", @@ -72,8 +76,7 @@ class GitHub: "change_patterns": ["scripts/package-build/libpam-radius-auth/**"], "git_url": "https://github.com/vyos/vyos-build.git", }, - }, - } + }) def analyze_repositories_workflow(self, org_name, repositories, branch): my_blacklist = self.blacklist[branch] if branch in self.blacklist else [] |
