mirror of https://gerrit.osmocom.org/osmo-ci
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
---
|
|
- project:
|
|
name: Osmocom_OBS
|
|
jobs:
|
|
- Osmocom_OBS_{type}_{server}
|
|
type:
|
|
- master:
|
|
conflict_version: ""
|
|
- nightly:
|
|
# For nightly we don't provide ABI compatibility, make sure packages
|
|
# from different build dates are not mixed by accident
|
|
conflict_version: "$(date +%Y%m%d%H%M)"
|
|
- latest:
|
|
conflict_version: ""
|
|
server:
|
|
- obs.osmocom.org:
|
|
proj: "osmocom"
|
|
|
|
- job-template:
|
|
name: 'Osmocom_OBS_{type}_{server}'
|
|
project-type: freestyle
|
|
concurrent: false
|
|
defaults: global
|
|
description: |
|
|
See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages">Wiki: binary packages</a>
|
|
for more information.
|
|
node: obs
|
|
parameters:
|
|
- string:
|
|
name: BRANCH
|
|
description: osmo-ci.git branch
|
|
default: 'refs/remotes/origin/master'
|
|
builders:
|
|
- shell: |
|
|
export PYTHONUNBUFFERED=1
|
|
|
|
./scripts/obs/update_obs_project.py \
|
|
--apiurl {server} \
|
|
--conflict-version {conflict_version} \
|
|
--docker \
|
|
--feed {type} \
|
|
--meta \
|
|
{proj}:{type}
|
|
scm:
|
|
- git:
|
|
branches:
|
|
- '$BRANCH'
|
|
url: https://gerrit.osmocom.org/osmo-ci
|
|
git-config-name: 'Jenkins Builder'
|
|
git-config-email: 'jenkins@osmocom.org'
|
|
triggers:
|
|
- timed: "H 00 * * *" # run before repo-install-test.yml
|
|
|
|
publishers:
|
|
- email:
|
|
notify-every-unstable-build: true
|
|
recipients: 'jenkins-notifications@lists.osmocom.org'
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|