- When running a kustomize configuration that uses a remote resource, it fails with this error:
Error: accumulating resources: accumulateFile "accumulating resources from '[email protected]:mcaballeropinto/kustomize-github-action-test//remote-k8s': evalsymlink failure on '/home/runner/work/kustomize-github-action-test/kustomize-github-action-test/k8s/[email protected]:mcaballeropinto/kustomize-github-action-test/remote-k8s' : lstat /home/runner/work/kustomize-github-action-test/kustomize-github-action-test/k8s/[email protected]:mcaballeropinto: no such file or directory", loader.New "no 'git' program on path: exec: \"git\": executable file not found in $PATH" - The error states that it can't find the git executable
- You can find a result of the GitHub action execution here
- Alternatively, you can trigger a new action by pushing against this repo
- This issue did not reproduce before 09/01/2020
- This issue does not reproduce locally
- kustomize is built using Go and the line of code that throws the error is this one
- There is a Go script in this repo that executes that same function, the file is
test.go. This script is executed as part of the GitHub test action and it does not return an error - The test GitHub action also calls
git --versionsuccessfully and finds the path to git usingwhereis