Previously, the spec doesn't update the package status if nothing in the spec file changed. Due to this, the failed package will always stay in the failed state. This PR adds a check to see whether a package is in the failed state. If yes, then changes the state to pending for builder manager to rebuild it.
13 lines
224 B
YAML
13 lines
224 B
YAML
apiVersion: fission.io/v1
|
|
kind: Environment
|
|
metadata:
|
|
name: go
|
|
namespace: default
|
|
spec:
|
|
version: 2
|
|
builder:
|
|
command: build
|
|
image: fission/go-builder-1.12:1.5.0
|
|
runtime:
|
|
image: fission/go-env-1.12:1.5.0
|