Change in osmo-ci[master]: repo-install-test: update jenkins job

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Wed May 27 10:35:07 UTC 2020


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/18515 )


Change subject: repo-install-test: update jenkins job
......................................................................

repo-install-test: update jenkins job

Rename osmocom-debian-install.yml to repo-install-test.yml to get debian
out of the name. Extend it with a new distro parameter and update the
description. Adjust the shell section to run the script from its new
location (in osmo-ci.git, not docker-playground.git). Turn it into a
matrix job, so we can have two parameters (distro, feed) for each job.

Related: OS#4563
Change-Id: I777098f19d75f7efbd68b837ccdcd83309429c39
---
D jobs/osmocom-debian-install.yml
A jobs/repo-install-test.yml
2 files changed, 68 insertions(+), 44 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/15/18515/1

diff --git a/jobs/osmocom-debian-install.yml b/jobs/osmocom-debian-install.yml
deleted file mode 100644
index 26b7fa0..0000000
--- a/jobs/osmocom-debian-install.yml
+++ /dev/null
@@ -1,44 +0,0 @@
----
-- project:
-    name: Osmocom-Debian-install
-    jobs:
-      - Osmocom-Debian-install-{type}
-    type:
-      - nightly
-      - latest
-
-- job-template:
-    name: 'Osmocom-Debian-install-{type}'
-
-    project-type: freestyle
-    defaults: global
-    description: |
-        <ul>
-          <li> Install all Osmocom debian packages (<a href="https://osmocom.org/issues/3176">OS#3176</a>)
-          <li> Check if Osmocom systemd services start properly (<a href="https://osmocom.org/issues/3369">OS#3369</a>)
-        </ul>
-    node: osmocom-master-debian9
-    parameters:
-      - string:
-          name: BRANCH
-          description: |
-                docker-playground.git branch
-          default: '*/master'
-    builders:
-      - shell:
-          cd debian-repo-install-test && FEED={type} ./jenkins.sh
-    scm:
-      - git:
-          branches:
-            - '$BRANCH'
-          url: git://git.osmocom.org/docker-playground
-          git-config-name: 'Jenkins Builder'
-          git-config-email: 'jenkins at osmocom.org'
-    triggers:
-      - timed: "H 04 * * *" # run after osmocom-obs.yml
-    publishers:
-      - email:
-          notify-every-unstable-build: true
-          recipients: 'jenkins-notifications at lists.osmocom.org'
-
-# vim: expandtab tabstop=2 shiftwidth=2
diff --git a/jobs/repo-install-test.yml b/jobs/repo-install-test.yml
new file mode 100644
index 0000000..19a0b5f
--- /dev/null
+++ b/jobs/repo-install-test.yml
@@ -0,0 +1,68 @@
+---
+- project:
+    name: Osmocom-repo-install
+    jobs:
+      - Osmocom-repo-install-{distro}
+    distro:
+      - debian:
+          feeds: !!python/tuple [nightly, latest]
+      - centos:
+          feeds: !!python/tuple [next, nightly]
+
+- job-template:
+    name: Osmocom-repo-install-{distro}
+    project-type: matrix
+    defaults: global
+    description: |
+        Install {distro} packages from the
+          <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages">
+            Osmocom binary packages repositories</a>, test if binaries and systemd services can be started.<br>
+        <br>
+        Related:<br>
+        <ul>
+          <li> <a href="https://osmocom.org/issues/3176">OS#3176</a>: install all Osmocom debian packages
+          <li> <a href="https://osmocom.org/issues/3369">OS#3369</a>: check if systemd services start properly
+          <li> <a href="https://osmocom.org/issues/4563">OS#4563</a>: extend for centos
+        </ul>
+    node: osmocom-master-debian9
+    parameters:
+      - string:
+          name: BRANCH_CI
+          description: |
+                osmo-ci.git branch
+          default: 'master'
+      - string:
+          name: BRANCH_DP
+          description: |
+                docker-playground.git branch
+          default: 'master'
+    axes:
+      - axis:
+          type: slave
+          name: label
+          values: !!python/tuple [osmocom-master-debian9]
+      - axis:
+          type: user-defined
+          name: feed
+          values: '{obj:feeds}'
+    builders:
+      - shell: |
+          export OSMO_BRANCH_DOCKER_PLAYGROUND="$BRANCH_DP"
+          export FEED="$feed"
+          scripts/repo-install-test.sh "{distro}"
+    scm:
+      - git:
+          branches:
+            - '$BRANCH_CI'
+          url: git://git.osmocom.org/osmo-ci
+          git-config-name: 'Jenkins Builder'
+          git-config-email: 'jenkins at osmocom.org'
+    triggers:
+      - timed: "H 04 * * *" # run after osmocom-obs.yml
+
+    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/+/18515
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I777098f19d75f7efbd68b837ccdcd83309429c39
Gerrit-Change-Number: 18515
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200527/02a76a24/attachment.htm>


More information about the gerrit-log mailing list