Skip to content

Commit

Permalink
Add new mount point to the example GithubActionRunner runner-pool kus…
Browse files Browse the repository at this point in the history
…tomization to allow docker container (dind) access to the action runners `externals` directory in the runner container. This is required to stop the docker container from failing at actions/checkout with the error

```
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/__e/node12/bin/node\": stat /__e/node12/bin/node: no such file or directory": unknown
```

Signed-off-by: Dean Tedesco <dean@verified.com.au>
  • Loading branch information
developerdino committed Oct 6, 2021
1 parent 5907df5 commit 028a150
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/samples/garo_v1alpha1_githubactionrunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ spec:
name: runner-diag
- mountPath: /home/runner/_work
name: runner-work
- mountPath: /home/runner/externals
name: runner-externals
- mountPath: /home/runner/.m2
name: mvn-repo
- mountPath: /home/runner/.m2/settings.xml
Expand All @@ -95,6 +97,8 @@ spec:
name: docker-certs
- mountPath: /home/runner/_work
name: runner-work
- mountPath: /home/runner/externals
name: runner-externals
- name: exporter
image: quay.io/evryfs/github-actions-runner-metrics:v0.0.3
ports:
Expand All @@ -109,6 +113,8 @@ spec:
name: runner-work
- emptyDir: {}
name: runner-diag
- emptyDir: {}
name: runner-externals
- emptyDir: {}
name: mvn-repo
- emptyDir: {}
Expand Down

0 comments on commit 028a150

Please sign in to comment.