diff options
| author | 2021-12-27 16:56:11 -0800 | |
|---|---|---|
| committer | 2021-12-27 16:56:11 -0800 | |
| commit | b02102b59aad2396ae651792ab5029262f819337 (patch) | |
| tree | 1f93cc17897b6965bd17bd69a18de451a9b43a64 /tests | |
| parent | CI: fix pre-commit logs step condition (diff) | |
CI: clean up Docker stuff in self-hosted runner
Use docker-compose run instead of docker-compose up. This is more
appropriate since the container is only needed for one command. The
latter was actually starting the whole snekbox server. Furthermore,
the former has the --rm option to remove the container when the command
finishes.
As an extra precaution, use docker-compose down in the self-hosted
runner to also remove images, volumes, networks, and any other
containers that were somehow missed. Removing images will also prevent
the disk usage from building up. This is not necessary for the GH-hosted
runner since a new VM is used for each run.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions