actions-runner-controller/controllers
Cory Miller c91e76f169
Add golangci-lilnt to CI (#1794)
This introduces a linter to PRs to help with code reviews and code hygiene. I've also gone ahead and fixed (or ignored) the existing lints.

I've only setup the default linters right now. There are many more options that are documented at https://golangci-lint.run/.

The GitHub Action should add appropriate annotations to the lint job for the PR. Contributors can also lint locally using `make lint`.
2022-09-21 09:08:22 +09:00
..
metrics Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
testdata test: Add tests with self-hosted label for #953 (#1030) 2022-01-07 08:50:26 +09:00
autoscaling.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
autoscaling_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
constants.go Fix PercentageRunnersBusy scaling delay (#1579) 2022-06-29 20:49:21 +09:00
horizontal_runner_autoscaler_batch_scale.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
horizontal_runner_autoscaler_webhook.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
horizontal_runner_autoscaler_webhook_on_check_run.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
horizontal_runner_autoscaler_webhook_on_pull_request.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
horizontal_runner_autoscaler_webhook_on_push.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
horizontal_runner_autoscaler_webhook_test.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
horizontal_runner_autoscaler_webhook_worker.go Make webhook-based scale race-free (#1477) 2022-06-27 18:31:48 +09:00
horizontal_runner_autoscaler_webhook_worker_test.go Make webhook-based scale race-free (#1477) 2022-06-27 18:31:48 +09:00
horizontalrunnerautoscaler_controller.go Remove github-api-cache-duration flag and code (#1631) 2022-07-12 20:37:24 +09:00
integration_test.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
multi_githubclient.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
new_runner_pod_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
persistent_volume_claim_controller.go Fix confusing logs from pv and pvc controllers (#1487) 2022-05-26 18:21:23 +09:00
persistent_volume_controller.go Enhance RunnerSet to optionally retain PVs accross restarts (#1340) 2022-05-16 09:26:48 +09:00
pod_runner_token_injector.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runner_controller.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
runner_graceful_stop.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
runner_pod.go fix: force restartPolicy "Never" to prevent runner pods from stucking in Terminating when the container disappeared (#1395) 2022-05-14 09:07:17 +01:00
runner_pod_controller.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runner_pod_owner.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
runnerdeployment_controller.go Fix excessive runnerreplicaset update issue since 0.25.0 (#1650) 2022-07-17 19:43:24 +09:00
runnerdeployment_controller_test.go Clean up import list (#645) 2021-06-22 17:55:06 +09:00
runnerreplicaset_controller.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runnerreplicaset_controller_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runnerset_controller.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
schedule.go Experimental support for ScheduledOverrides (#515) 2021-05-03 23:31:17 +09:00
schedule_test.go test: add fuzzing to the test suite (#1463) 2022-05-19 13:34:23 +01:00
suite_test.go Clean up import list (#645) 2021-06-22 17:55:06 +09:00
sync_volumes.go Add TODO comment to the PVC reconciler 2022-08-27 07:14:16 +00:00
testresourcereader.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
testresourcereader_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
utils.go feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00
utils_test.go `containerMode` option to allow running jobs in k8's instead of docker (#1546) 2022-06-28 14:12:40 +09:00