-
Notifications
You must be signed in to change notification settings - Fork 1.7k
skaffold dev/run fails on files not added to git diff #471
Copy link
Copy link
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Issues without logs and details are more complicated to fix.
Please help us!
Expected behavior
- Create a skaffold pipeline file and name it anything other than 'skaffold.yaml'
- skaffold dev/run
- Skaffold successfully builds and deploys
Actual behavior
Skaffold errors with:
Error: running skaffold steps: build: build step: generating tag: reading diff: open /Users/tariqislam/opt/hello-go/skaffold.yaml: no such file or directory
Information
This occurs with any file that is not added by git add after creation or file name change
Skaffold version: version... 0.5.0
Operating system: ... OSX
Content of skaffold.yaml: ...
apiVersion: skaffold/v1alpha2
kind: Config
build:
artifacts:
- imageName: <redacted>
workspace: .
docker: {}
local: {}
deploy:
kubectl:
manifests:
- hello-go*
Steps to reproduce the behavior
- In examples/getting-started
- Change name of skaffold.yaml to anything else
- Run skaffold dev/run
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working