Oliver Smith | e3ce3b6 | 2020-05-27 11:31:06 +0200 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: Osmocom-repo-install |
| 4 | jobs: |
| 5 | - Osmocom-repo-install-{distro} |
| 6 | distro: |
| 7 | - debian: |
| 8 | feeds: !!python/tuple [nightly, latest] |
| 9 | - centos: |
| 10 | feeds: !!python/tuple [next, nightly] |
| 11 | |
| 12 | - job-template: |
| 13 | name: Osmocom-repo-install-{distro} |
| 14 | project-type: matrix |
| 15 | defaults: global |
| 16 | description: | |
| 17 | Install {distro} packages from the |
| 18 | <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages"> |
| 19 | Osmocom binary packages repositories</a>, test if binaries and systemd services can be started.<br> |
| 20 | <br> |
| 21 | Related:<br> |
| 22 | <ul> |
| 23 | <li> <a href="https://osmocom.org/issues/3176">OS#3176</a>: install all Osmocom debian packages |
| 24 | <li> <a href="https://osmocom.org/issues/3369">OS#3369</a>: check if systemd services start properly |
| 25 | <li> <a href="https://osmocom.org/issues/4563">OS#4563</a>: extend for centos |
| 26 | </ul> |
| 27 | node: osmocom-master-debian9 |
| 28 | parameters: |
| 29 | - string: |
| 30 | name: BRANCH_CI |
| 31 | description: | |
| 32 | osmo-ci.git branch |
| 33 | default: 'master' |
| 34 | - string: |
| 35 | name: BRANCH_DP |
| 36 | description: | |
| 37 | docker-playground.git branch |
| 38 | default: 'master' |
| 39 | axes: |
| 40 | - axis: |
| 41 | type: slave |
| 42 | name: label |
| 43 | values: !!python/tuple [osmocom-master-debian9] |
| 44 | - axis: |
| 45 | type: user-defined |
| 46 | name: feed |
| 47 | values: '{obj:feeds}' |
| 48 | builders: |
| 49 | - shell: | |
| 50 | export OSMO_BRANCH_DOCKER_PLAYGROUND="$BRANCH_DP" |
| 51 | export FEED="$feed" |
| 52 | scripts/repo-install-test.sh "{distro}" |
| 53 | scm: |
| 54 | - git: |
| 55 | branches: |
| 56 | - '$BRANCH_CI' |
| 57 | url: git://git.osmocom.org/osmo-ci |
| 58 | git-config-name: 'Jenkins Builder' |
| 59 | git-config-email: 'jenkins@osmocom.org' |
| 60 | triggers: |
| 61 | - timed: "H 04 * * *" # run after osmocom-obs.yml |
| 62 | |
| 63 | publishers: |
| 64 | - email: |
| 65 | notify-every-unstable-build: true |
| 66 | recipients: 'jenkins-notifications@lists.osmocom.org' |
| 67 | |
| 68 | # vim: expandtab tabstop=2 shiftwidth=2 |