[PATCH] osmo-ci[master]: jenkins: add osmo-gsm-tester-build jobs

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Mar 27 11:30:31 UTC 2018


Hello Pau Espin Pedrol, Neels Hofmeyr, Harald Welte,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/7019

to look at the new patch set (#5).

jenkins: add osmo-gsm-tester-build jobs

The build jobs building all osmocom components which will be used by the
osmo-gsm-tester. A .tgz archive will be used as artefact which is copied
later by the osmo-gsm-tester test run.

Change-Id: Ic49c94e9e6639e43f6ae14b868bc826af3ce2085
---
A jobs/osmo-gsm-tester-builder.yml
1 file changed, 99 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/19/7019/5

diff --git a/jobs/osmo-gsm-tester-builder.yml b/jobs/osmo-gsm-tester-builder.yml
new file mode 100644
index 0000000..8f3ce61
--- /dev/null
+++ b/jobs/osmo-gsm-tester-builder.yml
@@ -0,0 +1,99 @@
+---
+# All job in here builds the binaries
+# which will be used by the runner jobs
+#
+- project:
+    name: osmo-gsm-tester-builder
+
+    repo:
+      - osmo-bsc
+      - osmo-bts
+      - osmo-ggsn
+      - osmo-hlr
+      - osmo-mgw
+      - osmo-msc
+      - osmo-pcu
+      - osmo-sgsn
+      - osmo-trx
+      - osmo-nitb:
+          triggered-by: master-openbsc
+      - osmo-stp:
+          triggered-by: master-libosmo-sccp
+      - osmo-bts-sysmo:
+          triggered-by: master-osmo-bts
+      - osmo-pcu-sysmo:
+          triggered-by: master-osmo-pcu
+    triggered-by: 'master-{repo}'
+
+    jobs:
+      - 'osmo-gsm-tester_build-{repo}'
+
+- parameter:
+    name: add_param_build_branch
+    parameters:
+      - string:
+          name: "{name}"
+          default: ""
+          description: "Default: leave empty. Branch to build from, in the form my/branch or origin/my/branch (do not prepend 'refs/heads/')"
+
+- job-template:
+    name: 'osmo-gsm-tester_build-{repo}'
+    project-type: freestyle
+    node: osmo-gsm-tester-build
+    builders:
+      - shell: |
+          set -e -x
+          ./osmo-gsm-tester/contrib/jenkins-build-{repo}.sh
+    triggers:
+      - reverse:
+            jobs: '{triggered-by}'
+    publishers:
+      - archive:
+          artifacts: '*.tgz, *.md5'
+          only-if-success: 'true'
+          default-excludes: false
+    properties:
+      - build-discarder:
+          num-to-keep: 20
+    parameters:
+      - string:
+          name: "OSMO_GSM_TESTER_BRANCH"
+          default: "origin/master"
+          description: "Which branch/sha should be used for testing"
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_libosmo-abis
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_libosmocore
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_libosmo-netif
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_libosmo_sccp
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_octphy_2g_headers
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_osmo_bts
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_osmo_mgw
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_osmo-mgw
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_osmo_msc
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_osmo_pcu
+      - add_param_build_branch:
+         name: OSMO_GSM_TESTER_BUILD_osmo_trx
+    scm:
+      - osmo-gsm-tester-repo
+
+# The repo must be used seperate to workaround the bug "Can not expand OSMO_GSM_TESTER_BRANCH".
+# The safe-guard check to not use un-defined variables seems to be broken.
+- scm:
+    name: osmo-gsm-tester-repo
+    scm:
+      - git:
+          url: git://git.osmocom.org/osmo-gsm-tester
+          branches:
+            - ${OSMO_GSM_TESTER_BRANCH}
+          wipe-workspace: false
+          skip-tag: true
+          basedir: osmo-gsm-tester

-- 
To view, visit https://gerrit.osmocom.org/7019
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic49c94e9e6639e43f6ae14b868bc826af3ce2085
Gerrit-PatchSet: 5
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>



More information about the gerrit-log mailing list