aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmocom-obs-sync.yml
blob: 3776688d27c2b8f3baac4eed52f17b4899194c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
- 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="
            Debian:10
            Debian:11
            Debian:12
            Debian:Next
            Raspbian:10
            Raspbian:11
            Raspbian:12
            Ubuntu:22.04
            Ubuntu:23.10
            Ubuntu:24.04
          "
          ./scripts/obs/sync_obs_projects.py \
            --docker \
            $DISTROS
    triggers:
      - timed: "H 18 * * *"
    wrappers:
    - ansicolor:
        colormap: xterm
    publishers:
      - email:
          notify-every-unstable-build: true
          recipients: 'jenkins-notifications@lists.osmocom.org'