Skip to content

Commit 028a150

Browse files
committed
Add new mount point to the example GithubActionRunner runner-pool kustomization 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 <[email protected]>
1 parent 5907df5 commit 028a150

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/samples/garo_v1alpha1_githubactionrunner.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ spec:
7272
name: runner-diag
7373
- mountPath: /home/runner/_work
7474
name: runner-work
75+
- mountPath: /home/runner/externals
76+
name: runner-externals
7577
- mountPath: /home/runner/.m2
7678
name: mvn-repo
7779
- mountPath: /home/runner/.m2/settings.xml
@@ -95,6 +97,8 @@ spec:
9597
name: docker-certs
9698
- mountPath: /home/runner/_work
9799
name: runner-work
100+
- mountPath: /home/runner/externals
101+
name: runner-externals
98102
- name: exporter
99103
image: quay.io/evryfs/github-actions-runner-metrics:v0.0.3
100104
ports:
@@ -109,6 +113,8 @@ spec:
109113
name: runner-work
110114
- emptyDir: {}
111115
name: runner-diag
116+
- emptyDir: {}
117+
name: runner-externals
112118
- emptyDir: {}
113119
name: mvn-repo
114120
- emptyDir: {}

0 commit comments

Comments
 (0)