e2e: Continuous rolling-update of runners while workflow jobs are running

This should help revealing issues like https://github.com/actions-runner-controller/actions-runner-controller/issues/1535 if any.
This commit is contained in:
Yusuke Kuoka
2022-08-26 01:28:00 +00:00
parent 6ef276b239
commit ebcd838501
3 changed files with 52 additions and 3 deletions

View File

@@ -49,6 +49,10 @@ spec:
labels:
- "${RUNNER_LABEL}"
env:
- name: ROLLING_UPDATE_PHASE
value: "${ROLLING_UPDATE_PHASE}"
#
# Non-standard working directory
#

View File

@@ -121,6 +121,8 @@ spec:
value: "${RUNNER_FEATURE_FLAG_EPHEMERAL}"
- name: GOMODCACHE
value: "/home/runner/.cache/go-mod"
- name: ROLLING_UPDATE_PHASE
value: "${ROLLING_UPDATE_PHASE}"
# PV-backed runner work dir
volumeMounts:
# Comment out the ephemeral work volume if you're going to test the kubernetes container mode