aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/repo-install-test.yml
blob: d16b85253f7ccab710355f20db8612b97b7236e8 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
- project:
    name: Osmocom-repo-install
    jobs:
      - Osmocom-repo-install-{distro}
    distro:
      - debian:
          feeds: !!python/tuple [nightly, latest]
      - centos8:
          feeds: !!python/tuple [next, nightly]

- job-template:
    name: Osmocom-repo-install-{distro}
    project-type: matrix
    defaults: global
    description: |
        Install {distro} packages from the
          <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages">
            Osmocom binary packages repositories</a>, test if binaries and systemd services can be started.<br>
        <br>
        Related:<br>
        <ul>
          <li> <a href="https://osmocom.org/issues/3176">OS#3176</a>: install all Osmocom debian packages
          <li> <a href="https://osmocom.org/issues/3369">OS#3369</a>: check if systemd services start properly
          <li> <a href="https://osmocom.org/issues/4563">OS#4563</a>: extend for centos
        </ul>
    node: osmocom-master-debian9
    parameters:
      - string:
          name: BRANCH_CI
          description: |
                osmo-ci.git branch
          default: 'master'
      - string:
          name: BRANCH_DP
          description: |
                docker-playground.git branch
          default: 'master'
    axes:
      - axis:
          type: slave
          name: label
          # Force using "build2-deb9build-ansible": https://osmocom.org/issues/4563#note-10
          values: !!python/tuple [build2-deb9build-ansible]
      - axis:
          type: user-defined
          name: feed
          values: '{obj:feeds}'
    builders:
      - shell: |
          export OSMO_BRANCH_DOCKER_PLAYGROUND="$BRANCH_DP"
          export FEED="$feed"
          scripts/repo-install-test.sh "{distro}"
    scm:
      - git:
          branches:
            - '$BRANCH_CI'
          url: git://git.osmocom.org/osmo-ci
          git-config-name: 'Jenkins Builder'
          git-config-email: 'jenkins@osmocom.org'
    triggers:
      - timed: "H 04 * * *" # run after osmocom-obs.yml

    publishers:
      - email:
          notify-every-unstable-build: true
          recipients: 'jenkins-notifications@lists.osmocom.org'

# vim: expandtab tabstop=2 shiftwidth=2