diff options
Diffstat (limited to 'jobs/osmocom-obs.yml')
-rw-r--r-- | jobs/osmocom-obs.yml | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/jobs/osmocom-obs.yml b/jobs/osmocom-obs.yml index 4d165d6..eb77f4d 100644 --- a/jobs/osmocom-obs.yml +++ b/jobs/osmocom-obs.yml @@ -4,21 +4,27 @@ jobs: - Osmocom_OBS_{type} type: - - nightly - - latest - - next + - 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: "" - job-template: name: 'Osmocom_OBS_{type}' project-type: freestyle + concurrent: false defaults: global description: | - <ul> - <li><a href="https://build.opensuse.org/project/show/network:osmocom:{type}">osmocom:{type} home page</a> - <li><a href="https://build.opensuse.org/project/monitor/network:osmocom:{type}">osmocom:{type} build monitor</a> - <li><a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages">Wiki: binary packages</a> - </ul> - (Generated by job-builder) + See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages">Wiki: binary packages</a> + for more information. + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 30 node: obs parameters: - string: @@ -26,17 +32,25 @@ description: osmo-ci.git branch default: 'refs/remotes/origin/master' builders: - - shell: - ./scripts/osmocom-{type}-packages.sh + - shell: | + export PYTHONUNBUFFERED=1 + + ./scripts/obs/update_obs_project.py \ + --apiurl https://obs.osmocom.org \ + --conflict-version {conflict_version} \ + --docker \ + --feed {type} \ + --meta \ + osmocom:{type} scm: - git: branches: - '$BRANCH' - url: git://git.osmocom.org/osmo-ci + 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 + - timed: "H 20 * * *" publishers: - email: |