aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmocom-release-tarballs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/osmocom-release-tarballs.yml')
-rw-r--r--jobs/osmocom-release-tarballs.yml40
1 files changed, 11 insertions, 29 deletions
diff --git a/jobs/osmocom-release-tarballs.yml b/jobs/osmocom-release-tarballs.yml
index 4ff1c1c..4b3c8dc 100644
--- a/jobs/osmocom-release-tarballs.yml
+++ b/jobs/osmocom-release-tarballs.yml
@@ -6,54 +6,36 @@
- job-template:
name: 'Osmocom-release-tarballs'
+ node: osmocom-master
project-type: freestyle
defaults: global
description: |
For each relevant Osmocom repository and its tags, build release tarballs (<a href="https://osmocom.org/issues/3870">OS#3870</a>).
<br><br>
Publishes to: <a href="https://ftp.osmocom.org/releases/">https://ftp.osmocom.org/releases</a>
+ properties:
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
parameters:
- string:
name: BRANCH_OSMO_CI
description: |
- osmo-ci.git branch where the osmocom-release-tarballs.sh gets pulled from
- default: 'master'
- - string:
- name: BRANCH_DOCKER_PLAYGROUND
- description: |
- docker-playground.git branch where the Dockerfile gets pulled from
+ osmo-ci.git branch with scripts/tarballs/publish-tarballs-for-tags.sh
default: 'master'
builders:
- shell: |
- export OSMO_BRANCH_DOCKER_PLAYGROUND="$BRANCH_DOCKER_PLAYGROUND"
- . scripts/common.sh
- docker_images_require \
- "debian-stretch-obs-latest" \
- "debian-stretch-build-dist"
-
- docker run \
- --rm=true \
- -v "$PWD:/osmo-ci" \
- -w /osmo-ci \
- -e KEEP_TEMP="$KEEP_TEMP" \
- "$USER/debian-stretch-build-dist" /osmo-ci/scripts/osmocom-release-tarballs.sh
-
- SSH_COMMAND="ssh -p 48"
- cd _release_tarballs
- rsync -avz --delete -e "$SSH_COMMAND" . releases@rita.osmocom.org:web-files/
+ PUBLISH=1 scripts/tarballs/publish-tarballs-for-tags.sh
scm:
- git:
branches:
- '$BRANCH_OSMO_CI'
- 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'
- # Don't wipe workspace to keep generated release tarballs
- wipe-workspace: false
+ wipe-workspace: true
triggers:
- - timed: "@midnight"
- # Limit to one specific builder (so we don't regenerate all tarballs when switching to another builder)
- node: build2-deb9build-ansible
+ - timed: "H 05 * * *"
publishers:
- email:
notify-every-unstable-build: true
@@ -61,6 +43,6 @@
wrappers:
- ssh-agent-credentials:
users:
- - releases
+ - releases_ftp.osmocom.org
# vim: expandtab tabstop=2 shiftwidth=2