Spec validator, better errors, apply waits for previous build (#560)
Adds a validator, invoked through `fission spec validate` and before `fission spec apply`. The validator checks for duplicate names, dangling references, and unused resources. Also attempts to fix a race between CLI and builder. Avoids replacing a package while it's building, instead waiting for the build status to change from pending before updating it.
This commit is contained in:
@@ -60,3 +60,5 @@ import:
|
||||
version: ~1.1.0
|
||||
- package: github.com/imdario/mergo
|
||||
version: ~0.3.2
|
||||
- package: github.com/hashicorp/go-multierror
|
||||
- package: github.com/hashicorp/errwrap
|
||||
|
||||
Reference in New Issue
Block a user