[MERGED] osmo-ci[master]: jobs: cosmetic: readability: docker one-arg-per-line

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Dec 15 18:32:19 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: jobs: cosmetic: readability: docker one-arg-per-line
......................................................................


jobs: cosmetic: readability: docker one-arg-per-line

Change-Id: I8b18a5bc54a879002b40b0fc51cd295e82beba4f
---
M jobs/master-builds.yml
1 file changed, 53 insertions(+), 19 deletions(-)



diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index 05fcb00..16e2a7c 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -85,21 +85,36 @@
            # keep first line with less indent to preserve newlines
             ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
             mkdir -p "$ARTIFACT_STORE"
-            docker run --rm=true -e HOME=/build -e ARTIFACT_STORE=/artifact_store \
-              -e JOB_NAME="$JOB_NAME" -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-              -e IU="$IU" -e SMPP="$SMPP" -e MGCP="$MGCP" -e PATH="$PATH:/build_bin" \
-              -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build -i -u build -v "$PWD:/build" \
-              -v "$HOME/bin:/build_bin" -v "$ARTIFACT_STORE:/artifact_store" \
+            docker run --rm=true \
+              -e HOME=/build \
+              -e ARTIFACT_STORE=/artifact_store \
+              -e JOB_NAME="$JOB_NAME" \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e IU="$IU" \
+              -e SMPP="$SMPP" \
+              -e MGCP="$MGCP" \
+              -e PATH="$PATH:/build_bin" \
+              -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
+              -w /build -i -u build \
+              -v "$PWD:/build" \
+              -v "$HOME/bin:/build_bin" \
+              -v "$ARTIFACT_STORE:/artifact_store" \
               osmocom:amd64 /build/contrib/jenkins.sh
 
       - osmo-bsc:
           concurrent: true
           cmd: >
            # keep first line with less indent to preserve newlines
-            docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-            -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build -i -u build \
-            -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-            osmocom:amd64 /build/contrib/jenkins.sh
+            docker run --rm=true \
+              -e HOME=/build \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e PATH="$PATH:/build_bin" \
+              -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
+              -w /build -i -u build \
+              -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+              osmocom:amd64 /build/contrib/jenkins.sh
 
       - osmo-bts:
           a1_name: FIRMWARE_VERSION
@@ -152,9 +167,15 @@
           concurrent: true
           cmd: >
            # keep first line with less indent to preserve newlines
-            docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-              -e MGCP="$MGCP" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build \
-              -i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+            docker run --rm=true \
+              -e HOME=/build \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e MGCP="$MGCP" \
+              -e PATH="$PATH:/build_bin" \
+              -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
+              -w /build -i -u build \
+              -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
               osmocom:amd64 /build/contrib/jenkins.sh
           trigger: master-osmo-msc, master-osmo-bsc
 
@@ -166,10 +187,17 @@
            # keep first line with less indent to preserve newlines
             ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
             mkdir -p "$ARTIFACT_STORE"
-            docker run --rm=true -i -e HOME=/build -e ARTIFACT_STORE=/artifact_store \
-              -e JOB_NAME="$JOB_NAME" -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-              -e IU="$IU" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-              -w /build -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+            docker run --rm=true -i \
+              -e HOME=/build \
+              -e ARTIFACT_STORE=/artifact_store \
+              -e JOB_NAME="$JOB_NAME" \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e IU="$IU" \
+              -e PATH="$PATH:/build_bin" \
+              -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
+              -w /build -u build \
+              -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
               -v "$ARTIFACT_STORE:/artifact_store" \
               osmocom:amd64 /build/contrib/jenkins.sh
 
@@ -201,9 +229,15 @@
           concurrent: true
           cmd: >
            # keep first line with less indent to preserve newlines
-            docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-              -e IU="$IU" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build \
-              -i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+            docker run --rm=true \
+              -e HOME=/build \
+              -e MAKE=make \
+              -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+              -e IU="$IU" \
+              -e PATH="$PATH:/build_bin" \
+              -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
+              -w /build -i -u build \
+              -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
               osmocom:amd64 /build/contrib/jenkins.sh
 
       - osmo-sip-connector

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8b18a5bc54a879002b40b0fc51cd295e82beba4f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list