aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-09-06 13:13:33 +0200
committerOliver Smith <osmith@sysmocom.de>2023-09-07 13:53:00 +0200
commit3ed1368325a1a8422dce54a1cb9cf0b8357e8996 (patch)
tree71ae489be8e61f30f74c3f632f0d53f752551e7e
parentbee2304758302e366329b185c2de6807c032ab34 (diff)
jobs/osmocom-obs-sync: new jobosmith/wip-os-6165
-rw-r--r--jobs/osmocom-obs-sync.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/jobs/osmocom-obs-sync.yml b/jobs/osmocom-obs-sync.yml
new file mode 100644
index 0000000..2dd9888
--- /dev/null
+++ b/jobs/osmocom-obs-sync.yml
@@ -0,0 +1,54 @@
+---
+- job:
+ name: 'Osmocom_OBS_sync'
+ project-type: freestyle
+ concurrent: false
+ defaults: global
+ description: |
+ Sync base distributions (Debian:12 etc.) from openSUSE's OBS to our OBS
+ (<a href="https://osmocom.org/issues/6165">OS#6165</a>).
+ properties:
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ node: obs
+ parameters:
+ - string:
+ name: CI_BRANCH
+ description: osmo-ci.git branch
+ default: 'master'
+ scm:
+ - git:
+ branches:
+ - '$CI_BRANCH'
+ url: https://gerrit.osmocom.org/osmo-ci
+ git-config-name: 'Jenkins Builder'
+ git-config-email: 'jenkins@osmocom.org'
+ builders:
+ - shell: |
+ export PYTHONUNBUFFERED=1
+ export DISTROS="
+ AlmaLinux:8
+ Debian:10
+ Debian:11
+ Debian:12
+ Debian:Next
+ Debian:Testing
+ Raspbian:10
+ Raspbian:11
+ Ubuntu:20.04
+ Ubuntu:22.04
+ Ubuntu:23.04
+ "
+ ./scripts/obs/sync_obs_projects.py \
+ --docker \
+ $DISTROS
+ triggers:
+ - timed: "H H * * *"
+ wrappers:
+ - ansicolor:
+ colormap: xterm
+ publishers:
+ - email:
+ notify-every-unstable-build: true
+ recipients: 'jenkins-notifications@lists.osmocom.org'