Change in ...osmo-ci[master]: gerrit, master builds: concurrent OsmoPCU builds

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 Sep 18 14:08:35 UTC 2019


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


Change subject: gerrit, master builds: concurrent OsmoPCU builds
......................................................................

gerrit, master builds: concurrent OsmoPCU builds

Re-enable concurrent builds for OsmoPCU, and run all builds in
docker. This should prevent previous problems with VTY/CTRL test
collisions, which lead to the concurrent builds being disabled
in I23d5b75825a667e4f043d16a12b841cd8f01af5e.

Related: OS#4204
Change-Id: I4f90a601e41dca18a6fcbab56bdf5663167d2353
---
M jobs/gerrit-verifications.yml
M jobs/master-builds.yml
2 files changed, 32 insertions(+), 3 deletions(-)



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

diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index abd8090..c5aae68 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -200,7 +200,7 @@
           a3: !!python/tuple [sysmo, lc15, oc2g, none]
           a4_name: WITH_MANUALS
           a4: !!python/tuple ["1", "0"]
-          sequential: true
+          concurrent: true
           combination_filter: >
             (with_vty == "True" && with_dsp == "sysmo" && FIRMWARE_VERSION=="master" && WITH_MANUALS == "0") ||
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="master" && WITH_MANUALS == "0") ||
@@ -208,6 +208,20 @@
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="litecell15" && WITH_MANUALS == "0") ||
             (with_vty == "True" && with_dsp == "oc2g" && FIRMWARE_VERSION=="oc2g" && WITH_MANUALS == "0") ||
             (with_vty == "False" && with_dsp == "none" && FIRMWARE_VERSION=="master" && WITH_MANUALS == "1")
+          cmd: |
+            docker run --rm=true \
+              -e HOME=/build \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e FIRMWARE_VERSION="$FIRMWARE_VERSION" \
+              -e with_vty="$with_vty" \
+              -e with_dsp="$with_dsp" \
+              -e WITH_MANUALS="$WITH_MANUALS" \
+              -e PATH="$PATH:/build_bin" \
+              -w /build -i -u build \
+              -v "$PWD:/build" \
+              -v "$HOME/bin:/build_bin" \
+              osmocom:amd64 /build/contrib/jenkins.sh
 
       - osmo-python-tests:
           repos_url: 'ssh://jenkins@gerrit.osmocom.org:29418/python/{repos}'
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index ed180a4..9358d82 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -302,14 +302,29 @@
           a3: !!python/tuple [sysmo, lc15, none]
           a4_name: WITH_MANUALS
           a4: !!python/tuple ["1", "0"]
-          sequential: true
+          concurrent: true
           combination_filter: >
             (with_vty == "True" && with_dsp == "sysmo" && FIRMWARE_VERSION=="master" && WITH_MANUALS == "0") ||
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="master" && WITH_MANUALS == "0") ||
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="v2017.01" && WITH_MANUALS == "0") ||
             (with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="origin/nrw/litecell15" && WITH_MANUALS == "0") ||
             (with_vty == "False" && with_dsp == "none" && FIRMWARE_VERSION=="master" && WITH_MANUALS == "1")
-          cmd: PUBLISH=1 ASCIIDOC_WARNINGS_CHECK=1 ./contrib/jenkins.sh
+          cmd: |
+            docker run --rm=true \
+              -e HOME=/build \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e FIRMWARE_VERSION="$FIRMWARE_VERSION" \
+              -e with_vty="$with_vty" \
+              -e with_dsp="$with_dsp" \
+              -e WITH_MANUALS="$WITH_MANUALS" \
+              -e PATH="$PATH:/build_bin" \
+              -e PUBLISH="1" \
+              -e ASCIIDOC_WARNINGS_CHECK="1" \
+              -w /build -i -u build \
+              -v "$PWD:/build" \
+              -v "$HOME/bin:/build_bin" \
+              osmocom:amd64 /build/contrib/jenkins.sh
 
       - osmo-sgsn:
           a1_name: IU

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I4f90a601e41dca18a6fcbab56bdf5663167d2353
Gerrit-Change-Number: 15566
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/20190918/83c7df8e/attachment.htm>


More information about the gerrit-log mailing list