Debug
This commit is contained in:
parent
e2d5c0c48d
commit
95cab0cfd0
@ -63,6 +63,7 @@ steps:
|
|||||||
- yq 'del(.spec.generators[].list.elements[] | select(.name == "$ARGO_APP_BRANCH"))' /tmp/old_appset.yaml > /tmp/clean_appset.yaml
|
- yq 'del(.spec.generators[].list.elements[] | select(.name == "$ARGO_APP_BRANCH"))' /tmp/old_appset.yaml > /tmp/clean_appset.yaml
|
||||||
- envsubst < ./kube/template.yaml > /tmp/elements.yaml
|
- envsubst < ./kube/template.yaml > /tmp/elements.yaml
|
||||||
- yq '.spec.generators[].list.elements + load("/tmp/elements.yaml")' /tmp/clean_appset.yaml > /tmp/new_appset.yaml
|
- yq '.spec.generators[].list.elements + load("/tmp/elements.yaml")' /tmp/clean_appset.yaml > /tmp/new_appset.yaml
|
||||||
|
- cat /tmp/new_appset.yaml
|
||||||
- kubectl apply -f /tmp/new_appset.yaml
|
- kubectl apply -f /tmp/new_appset.yaml
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user