Commit graph

5 commits

Author SHA1 Message Date
Pavel Raiskup
e646904fcd copr-be: fix && comment-out the cleanup-vms-aws command 2021-01-19 17:33:32 +01:00
Pavel Raiskup
d562bde01e copr: be: more careful periodic cleanup of VMs
Never remove CoprPurpose=infrastructure, only builders.
2020-04-24 21:34:26 +02:00
Pavel Raiskup
1125af4de2 copr: be: support --kill-also-unused in cleanup-vms-aws 2020-04-24 21:34:18 +02:00
Pavel Raiskup
55a363159e copr: be: don't cleanup new-enough AWS VMs by cron 2020-04-24 21:34:17 +02:00
Pavel Raiskup
fa604650ba copr: be: cleanup AWS builders periodically
Terminate copr-*-builder* VMs which are not tracked in redis database
periodically.

While we are on it, remove `cleanup_vm*` scripts which are no longer
needed, the up2date script is provided by `copr-backend` package.
2020-04-24 21:34:17 +02:00