actions-runner-controller/controllers
Hiroshi Muraoka 11e58fcc41
Manage runner with label (#355)
* Update RunnerDeploymentSpec to have Selector field

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Update RunnerReplicaSetSpec to have Selector field

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Add CloneSelectorAndAddLabel to add Selector field

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Fix tests

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Use label to find RunnerReplicaSet/Runner

Signed-off-by: binoue <banji-inoue@cybozu.co.jp>

* Update controller-gen versions in CRD

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Update autoscaler to list Pods with labels

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Add debug log

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Modify RunnerDeployment tests

Signed-off-by: binoue <banji-inoue@cybozu.co.jp>

* Modify RunnerReplicaset test

Signed-off-by: binoue <banji-inoue@cybozu.co.jp>

* Modify integration test

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Use RunnerDeployment Template Labels as the default selector for backward compatibility

* Fix labeling

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Update func in Eventually to return (int, error)

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Update RunnerDeployment controller not to use label selector

Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>

* Fix potential replicaset controller breakage on replicaset created before v0.17.0

* Fix errors on existing runner replica sets

* Ensure RunnerReplicaSet Spec Selector addition does not break controller

* Ensure RunnerDeployment Template.Spec.Labels change does result in template hash change

* Fix comment

Co-authored-by: binoue <banji-inoue@cybozu.co.jp>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2021-03-05 10:15:39 +09:00
..
testdata Fix panic on webhook for user-owned repository (#344) 2021-02-23 08:05:25 +09:00
autoscaling.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
autoscaling_test.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
horizontal_runner_autoscaler_webhook.go Use patch instead of update to alleviate HRA conflict on webhook (#358) 2021-02-26 10:17:09 +09:00
horizontal_runner_autoscaler_webhook_on_check_run.go feat: HorizontalRunnerAutoscaler Webhook server (#282) 2021-02-07 17:37:27 +09:00
horizontal_runner_autoscaler_webhook_on_pull_request.go feat: HorizontalRunnerAutoscaler Webhook server (#282) 2021-02-07 17:37:27 +09:00
horizontal_runner_autoscaler_webhook_on_push.go feat: HorizontalRunnerAutoscaler Webhook server (#282) 2021-02-07 17:37:27 +09:00
horizontal_runner_autoscaler_webhook_test.go Fix old HRA capacity reservations not cleaned up (#354) 2021-02-25 11:08:00 +09:00
horizontalrunnerautoscaler_controller.go Use patch instead of update to alleviate HRA conflict on webhook (#358) 2021-02-26 10:17:09 +09:00
horizontalrunnerautoscaler_controller_test.go Fix HRA expired cache entries not cleaned up (#357) 2021-02-26 09:54:24 +09:00
integration_test.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
runner_controller.go Handle offline runners gracefully (#341) 2021-02-22 10:08:04 +09:00
runnerdeployment_controller.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
runnerdeployment_controller_test.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
runnerreplicaset_controller.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
runnerreplicaset_controller_test.go Manage runner with label (#355) 2021-03-05 10:15:39 +09:00
suite_test.go feat: HorizontalRunnerAutoscaler Webhook server (#282) 2021-02-07 17:37:27 +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 feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00