Change in ...osmo-ci[master]: jobs: add osmocom-release-tarballs.yml

osmith gerrit-no-reply at lists.osmocom.org
Wed Jul 3 11:41:13 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ci/+/14653 )

Change subject: jobs: add osmocom-release-tarballs.yml
......................................................................

jobs: add osmocom-release-tarballs.yml

Related: OS#3870
Depends: I991fe41a1f55ccd6a66815ec3d7f239850397d9a (docker-playground)
Change-Id: I994da5c27f9198e5bcf2d567dd473f9ed078d9c0
---
A jobs/osmocom-release-tarballs.yml
1 file changed, 54 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved; Verified



diff --git a/jobs/osmocom-release-tarballs.yml b/jobs/osmocom-release-tarballs.yml
new file mode 100644
index 0000000..56f5777
--- /dev/null
+++ b/jobs/osmocom-release-tarballs.yml
@@ -0,0 +1,54 @@
+---
+- project:
+    name: Osmocom-release-tarballs
+    jobs:
+      - Osmocom-release-tarballs
+
+- job-template:
+    name: 'Osmocom-release-tarballs'
+    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>).
+    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
+          default: 'master'
+    builders:
+      - shell: |
+          export OSMO_BRANCH_DOCKER_PLAYGROUND="$BRANCH_DOCKER_PLAYGROUND"
+          . scripts/common.sh
+          docker_images_require "debian-stretch-build" "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
+    scm:
+      - git:
+          branches:
+            - '$BRANCH_OSMO_CI'
+          url: git://git.osmocom.org/osmo-ci
+          git-config-name: 'Jenkins Builder'
+          git-config-email: 'jenkins at osmocom.org'
+          # Don't wipe workspace to keep generated release tarballs
+          wipe-workspace: false
+    triggers:
+      - timed: "@midnight"
+    # Limit to one specific builder (so we don't regenerate all tarballs when switching to another builder)
+    node: build2-deb9build-ansible
+    publishers:
+       - email:
+          notify-every-unstable-build: true
+          recipients: 'jenkins-notifications at lists.osmocom.org'
+
+# vim: expandtab tabstop=2 shiftwidth=2

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/14653
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I994da5c27f9198e5bcf2d567dd473f9ed078d9c0
Gerrit-Change-Number: 14653
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190703/ce46ff47/attachment.html>


More information about the gerrit-log mailing list