GoogleContainerTools / GoogleContainerTools/skaffold

dev should not error out on introduced error to skaffold.yaml

Open
#4,225 0 comments 0 reactions 0 assignees View on GitHub
area/cli area/dev kind/feature-request priority/p2
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

Follow-on to #4158: skaffold dev shouldn't error out on a typo to `skaffold.yaml`. I made a mistake while uncommenting and forgot to uncomment a line to produce an invalid yaml:
```
Pruning images...
WARN[0217] builder cleanup: pruning images: could not remove image after 5 retries
parsing skaffold config: unable to parse config: yaml: unmarshal errors:
line 7: cannot unmarshal !!seq into v2beta3.KubectlDeploy
```

and Skaffold then exited.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.