feat: expose if docker is enabled and wait for docker to be ready (#962)

Resolves #897
Resolves #915
This commit is contained in:
Callum Tait
2021-12-29 01:23:35 +00:00
committed by GitHub
parent c5950d75fa
commit ad48851dc9
8 changed files with 54 additions and 12 deletions

View File

@@ -28,6 +28,7 @@ ToC:
- [Additional Tweaks](#additional-tweaks)
- [Runner Labels](#runner-labels)
- [Runner Groups](#runner-groups)
- [Runner Entrypoint Features](#runner-entrypoint-features)
- [Using IRSA (IAM Roles for Service Accounts) in EKS](#using-irsa-iam-roles-for-service-accounts-in-eks)
- [Stateful Runners](#stateful-runners)
- [Ephemeral Runners](#ephemeral-runners)
@@ -1044,6 +1045,29 @@ spec:
group: NewGroup
```
### Runner Entrypoint Features
> Environment variable values must all be strings
The entrypoint script is aware of a few environment variables for configuring features:
```yaml
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: example-runnerdeployment
spec:
template:
spec:
env:
# Issues a sleep command at the start of the entrypoint
- name: STARTUP_DELAY_IN_SECONDS
value: "2"
# Disables the wait for the docker daemon to be available check
- name: DISABLE_WAIT_FOR_DOCKER
value: "true"
```
### Using IRSA (IAM Roles for Service Accounts) in EKS
> This feature requires controller version => [v0.15.0](https://github.com/actions-runner-controller/actions-runner-controller/releases/tag/v0.15.0)