garm/runner
Gabriel Adrian Samfira 49fbc110d5
Don't remove foreign runners
When garm starts up, it attempts to cleanup any orphaned runners from
github. This, unfortunately ends up deleting manually set up runners.
This change looks for our controller ID in the labels of the runners and
only deleted runners that we created.

Fixes: #40

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-10-17 18:45:48 +03:00
..
common Attempt to fetch runner name from API 2022-09-20 14:46:44 +03:00
mocks Add more organizations.go unit testing 2022-09-06 18:04:51 +03:00
pool Don't remove foreign runners 2022-10-17 18:45:48 +03:00
providers Always lookup images in simplestreams 2022-07-16 13:47:17 +00:00
interfaces.go Add PoolManagerController mocks 2022-09-01 16:08:56 +03:00
organizations.go Refactor code to allow more unit testing 2022-08-18 17:47:05 +03:00
organizations_test.go Cleanup unused struct field 2022-09-15 19:11:37 +03:00
pools.go Make runner-bootstrap-timeout optional 2022-07-06 17:37:18 +00:00
repositories.go Refactor code to allow more unit testing 2022-08-18 17:47:05 +03:00
repositories_test.go Cleanup unused struct field 2022-09-15 19:11:37 +03:00
runner.go Refactor code to allow more unit testing 2022-08-18 17:47:05 +03:00
types.go Add license headers 2022-05-05 13:25:50 +00:00