I’m running 1.0.0-rc5 on Kubernetes on GKE using the chart at helm/stable. Everything installs fine, I can see the job getting created, the services spinning up and running fine, but then I run into problems.
I’m trying to execute a script as part of my build, but it appears any script from my repo gets a Permission denied error with no further details. Looking at the logs, I see this:
{
arch: "amd64"
build: 27
error: "provision-elasticsearch : exit code 126"
level: "info"
machine: "gke-staging-preemptible-pool-edc959a7-wf24"
msg: "runner: execution failed"
os: "linux"
pipeline: "default"
repo: "myorg/myrepo"
stage: 1
}
The exit code suggests the script is not executable, but it definitely has the right file permissions. I thought I wasn’t root, but whoami said otherwise. This behaviour only started occurring since version 1.0.0, but worked fine in 0.8. I’ve also tried changing my workspace directory to /tmp as suggested elsewhere to no avail.
I’ve also tried changing the Kubernetes Node image to containerd as has been suggested elsewhere, but still no luck.
Please help!
However, would there be a use case where parallel workloads would need access to the same data?