garm/runner
Gabriel Adrian Samfira 9a6770c3a3 Allow bypassing Unauthorized error when deleting runner
This change allows users to bypass GitHub Unauthorized errors when removing
github runners. This means that removing runners will now be possible even
if the pool manager is stopped.

There is a new flag added to the runner rm command and to the API that
tells GARM to bypass pool being stopped and any 401 error returned by
GitHub.

This means you will be able to remove the runners from garm and your
provider, but will mean that the runner will still exist in github as
"offline" if the credentials are not updated or the runner manually removed.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-03-10 15:21:39 +00:00
..
common Allow bypassing Unauthorized error when deleting runner 2024-03-10 15:21:39 +00:00
metrics fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
mocks Allow bypassing Unauthorized error when deleting runner 2024-03-10 15:21:39 +00:00
pool Allow bypassing Unauthorized error when deleting runner 2024-03-10 15:21:39 +00:00
providers fix: godoc linter warnings (TODOs) 2024-02-22 15:06:53 +01:00
common_test.go fix: goconst linter findings 2024-02-22 17:39:02 +01:00
enterprises.go fix: godoc linter findings (TODO comments) 2024-02-22 17:33:19 +01:00
enterprises_test.go fix: goconst linter findings 2024-02-22 17:39:02 +01:00
interfaces.go Slight refactor and fix tests 2023-07-05 09:46:19 +00:00
metadata.go fix: gocritic linter finding 2024-02-22 17:40:15 +01:00
organizations.go fix: godoc linter findings (TODO comments) 2024-02-22 17:33:19 +01:00
organizations_test.go fix: goconst linter findings 2024-02-22 17:39:02 +01:00
pools.go fix: godoc linter findings (TODO comments) 2024-02-22 17:33:19 +01:00
pools_test.go fix: godoc linter findings (TODO comments) 2024-02-22 17:33:19 +01:00
repositories.go fix: godoc linter findings (TODO comments) 2024-02-22 17:33:19 +01:00
repositories_test.go fix: goconst linter findings 2024-02-22 17:39:02 +01:00
runner.go Allow bypassing Unauthorized error when deleting runner 2024-03-10 15:21:39 +00:00
types.go Move code to external package 2023-07-21 15:34:18 +00:00