Coder Social home page Coder Social logo

kustomize-github-action-test's Introduction

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

kustomize-github-action-test's People

Contributors

mcaballeropinto avatar

Forkers

darleev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.