aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-12-27 16:56:11 -0800
committerGravatar MarkKoz <[email protected]>2021-12-27 16:56:11 -0800
commitb02102b59aad2396ae651792ab5029262f819337 (patch)
tree1f93cc17897b6965bd17bd69a18de451a9b43a64 /tests
parentCI: 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