summaryrefslogtreecommitdiff
path: root/tcwg-start-container.sh
AgeCommit message (Collapse)Author
2021-06-19tcwg-start-container.sh: Restart stopped or restarting containersMaxim Kuvyrkov
Change-Id: Ib1b426dd043cb3a1899205456c8ce2c77f667528
2021-04-17tcwg-start-container.sh: Handle starting QEMU-based containersMaxim Kuvyrkov
... so that we can run SVE tcwg-llvmbot containers on x86_64 machines. Change-Id: Iaad0ba8e8012c4144b3672d547bc449bdf6b982b
2021-03-22start-container-docker.sh: Move workaround for dockerhub's limitsMaxim Kuvyrkov
... to dockerfiles.git/tcwg-base/tcwg-host/docker-wrapper . Our workaround to dockerhub's pull limits in start-container-docker.sh works well, but with one exception -- it doesn't properly work when container is started on a remote host, which we do a lot in tcwg-benchmark-* jobs. To solve this we migrate workaround logic to docker wrapper script, and add a new docker command for it -- "maybepull". Change-Id: I131f1adc56052164a76c5dfaf9d07a4d2f24ec43
2021-01-04Docker image pull: Fix removing previously untagged imagesMaxim Kuvyrkov
... and update "pull" timestamps in tcwg-start-container.sh Change-Id: Ib5638a9fb22c341527443fd3ff2f8431f7aa1fe0
2021-01-03Docker image pull/use: Fix and improveMaxim Kuvyrkov
Change-Id: Ieb39c841151533d7553786f78f80fbb7a62857e2
2020-12-19tcwg-start-container.sh: Make more robustMaxim Kuvyrkov
Change-Id: I49f6044d75396357347f6a09e6345b6a54f7f523
2020-06-22tcwg-start-container.sh: Handle containers stuck in restart loopMaxim Kuvyrkov
Change-Id: I6e32f290ba92449905ca0c215ec13d0384ada938
2020-05-13tcwg-start-container.sh: Support restarting container from itselfMaxim Kuvyrkov
... which is useful for "host" and "jenkins" containers. Change-Id: Id1b4ff181d31de791b3f8934ebcd3889a0d16610
2020-05-13tcwg-update-*-containers.sh: Restart containers only on image updateMaxim Kuvyrkov
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
2020-05-06tcwg-start-container.sh: Use temp fileMaxim Kuvyrkov
Change-Id: I4b645d4731f35c1b168dfffdf7bd3800a6eb98e5
2020-04-28Shellcheck fixes round 3David Spickett
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
2020-04-22Various shellcheck warning fixesDavid Spickett
First round of low hanging fruit from the files with the fewest warnings. Change-Id: I60ad57b5bfb2f0be9bb6506252c820f44d055200
2020-02-10tcwg-start-container.sh: Reduce container downtimeMaxim Kuvyrkov
... by first downloading the image, and then restarting the container. Change-Id: I2193bdfed21e06bb6d4165efb7b9746552622000
2018-11-30tcwg-update-host-containers.sh, tcwg-start-container.sh: Refactor code.Maxim Kuvyrkov
Move generic stuff to tcwg-start-container.sh from tcwg-update-host-containers.sh. Change-Id: Ie7b53dce0ec16a182aef5e18f009e25f61c72be2
2018-11-30tcwg-start-container.sh: New script, copy of tcwg-update-host-containers.shMaxim Kuvyrkov
Change-Id: I1fd6956915efae6a878fd83e7c9268427b783a5b