actions-runner-controller/testing
Yusuke Kuoka b5194fd75a
Enhance RunnerSet to optionally retain PVs accross restarts (#1340)
* Enhance RunnerSet to optionally retain PVs accross restarts

This is our initial attempt to bring back the ability to retain PVs across runner pod restarts when using RunnerSet.
The implementation is composed of two new controllers, `runnerpersistentvolumeclaim-controller` and `runnerpersistentvolume-controller`.
It all starts from our existing `runnerset-controller`. The controller now tries to mark any PVCs created by StatefulSets created for the RunnerSet.
Once the controller terminated statefulsets, their corresponding PVCs are clean up by `runnerpersistentvolumeclaim-controller`, then PVs are unbound from their corresponding PVCs by `runnerpersistentvolume-controller` so that they can be reused by future PVCs createf for future StatefulSets that shares the same same StorageClass.

Ref #1286

* Update E2E test suite to cover runner, docker, and go caching with RunnerSet + PVs

Ref #1286
2022-05-16 09:26:48 +09:00
..
runtime e2e: Cover RunnerDeployment (#668) 2021-06-29 17:52:43 +09:00
bash.go e2e: Cover RunnerDeployment (#668) 2021-06-29 17:52:43 +09:00
docker.go dockerfile,e2e: Use buildx and cache mounts for faster rebuilds in E2E 2022-03-02 19:03:20 +09:00
getenv.go e2e,acceptance: Cover enterprise runners (#1124) 2022-02-17 09:16:28 +09:00
git.go e2e,acceptance: Cover enterprise runners (#1124) 2022-02-17 09:16:28 +09:00
kubectl.go e2e: Cover RunnerDeployment (#668) 2021-06-29 17:52:43 +09:00
random.go e2e: Cover RunnerDeployment (#668) 2021-06-29 17:52:43 +09:00
testing.go e2e,acceptance: Cover enterprise runners (#1124) 2022-02-17 09:16:28 +09:00
workflow.go Enhance RunnerSet to optionally retain PVs accross restarts (#1340) 2022-05-16 09:26:48 +09:00