Skip to content

mcaballeropinto/kustomize-github-action-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test for issue when running kustomize on a GitHub action

Description

  • 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

Repo

  • You can find a result of the GitHub action execution here
  • Alternatively, you can trigger a new action by pushing against this repo

Observations

  • 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 --version successfully and finds the path to git using whereis

About

Test case for kustomize issue when running on a GitHub action

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages