Age | Commit message (Collapse) | Author |
|
Change-Id: I10e660351a0930fe554d8de7b568898985d59d03
|
|
Restart host, jenkins node and llvmbot containers only if underlying
docker image has changed. This allows us to simplify management of
persistent infrastructure containers (host, jenkins node and llvmbot
containers) by triggering update job, say, every day, instead of
monitoring dockerfiles.git repo for changes.
Change-Id: I27ecb27a9d1d4266d68e6fdfcdae98772fa7884d
|
|
Now using the version that's
present in the bionic images.
Meaning we have more warnings
but can also set the minimum
level to ignore a lot of them.
Fix the check for whether
shellcheck supports --severity.
(we have pipefail on, but we
expect shellcheck to fail in
this case)
Change-Id: I296b8554591b7d327c75393e3924184abc6512b7
|
|
With switch to JNLP jenkins client we no longer need "jenkins"
containers, so rework to handle "host" and "node" containers.
Change-Id: Ideed8f38bce88519083cec809505f95e3007fcd8
|
|
Move generic stuff to tcwg-start-container.sh from
tcwg-update-host-containers.sh.
Change-Id: Ie7b53dce0ec16a182aef5e18f009e25f61c72be2
|
|
Replace ${var:-default} with ${var-default}.
I learned something new about shell scripting today. From bash manual:
===
When not performing substring expansion, using the form described
below (e.g., ‘:-’), Bash tests for a parameter that is unset or null.
Omitting the colon results in a test only for a parameter that is
unset. Put another way, if the colon is included, the operator tests
for both parameter’s existence and that its value is not null; if
the colon is omitted, the operator tests only for existence.
===
The immediate problem I need to fix is handling of
host_aarchXX_excludecheck and host_x86_64_excludecheck parameters
in tcwg-buildfarm.sh. With ":-" syntax the empty ("null") values are
replaced by defaults, causing GCC testsuite to be ignored on aarchXX
hosts when "--host_aarchXX_excludecheck ''" is given.
There happens to be a single usage ":-" in ${rw:-rw} in
start-container-qemu.sh, where ":-" is actually needed.
Change-Id: Ibc8e070b698e1c76e2161eb65d40639b8cdec1f3
|
|
Turns out "host" is a valid object for "docker inspect" by itself,
so the check returns OK even when there is no "host" container.
Change-Id: Ie8fefc77ca9c6e1c040b119b2a0e20e630d4145d
|
|
Change-Id: Ib4c62cf1d95202cfba8519b6a03de3a526369637
|
|
... to automate restarts of "host" and "jenkins" containers.
Change-Id: Ia033674ccf256e8dbc3ac97bb7f5bb8f779084a4
|