jobs: gerrit: fix missing indents in 4 jobs

fixed in osmo-bsc, osmo-mgw, osmo-sgsn, cellmgr-ng:

Spanning a single shell command across several lines with backslashes in the
end breaks when the newlines are not preserved: the backslashes escape a
following space, which is joined to the following cmdline arg.

Add the leading less-indented comments that curiously lead to preserving the
newline characters in the cmd sections.

Change-Id: Icfd6cfb7ca4172795620e1d7ee60610db4f7226b
This commit is contained in:
Neels Hofmeyr 2017-11-01 01:26:29 +01:00
parent c758c4e1d4
commit fb06801fee
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@
- cellmgr-ng:
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" \
@ -85,6 +86,7 @@
- osmo-bsc:
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" \
@ -120,6 +122,7 @@
a1_name: MGCP
a1: !!python/tuple [--enable-mgcp-transcoding, --disable-mgcp-transcoding]
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" \
@ -161,6 +164,7 @@
a1_name: IU
a1: !!python/tuple [--enable-iu, --disable-iu]
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" \