cosmetic: gerrit-verifications: format docker cmd

Format the docker command lines just like they are formatted in
master-builds.yml. Most notably, this puts every environment variable on
its own line. This makes it much easier to compare both files side by
side.

Change-Id: I0adcb028be24c2e05189c15b85811777d6287387
This commit is contained in:
Oliver Smith 2018-11-30 15:15:16 +01:00
parent ffb3fa6286
commit 03d5f4c71c
1 changed files with 61 additions and 22 deletions

View File

@ -32,9 +32,14 @@
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" -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 PATH="$PATH:/build_bin" \
-w /build -i -u build \
-v "$PWD:/build" \
-v "$HOME/bin:/build_bin" \
osmocom:amd64 /build/contrib/jenkins.sh
- libasn1c
@ -64,11 +69,21 @@
# 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
- openggsn:
@ -80,10 +95,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 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
@ -120,9 +140,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
- osmo-msc:
@ -133,10 +159,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
@ -167,9 +200,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