chore: release prep part 3
This commit is contained in:
parent
ebbcc24af1
commit
ccd01a63a8
|
@ -8,9 +8,10 @@ steps:
|
||||||
secrets:
|
secrets:
|
||||||
- kubeconfig
|
- kubeconfig
|
||||||
commands:
|
commands:
|
||||||
- mkdir ~/.kube && echo \"$KUBECONFIG\" > ~/.kube/twhelp
|
- mkdir ~/.kube && echo "$KUBECONFIG" > ~/.kube/twhelp
|
||||||
- cd ./k8s/overlays/prod
|
- cd ./k8s/overlays/prod
|
||||||
- kustomize edit set image twhelp=gitea.dwysokinski.me/twhelp/core:${CI_COMMIT_TAG##v}
|
# yamllint disable rule:quoted-strings
|
||||||
|
- "kustomize edit set image twhelp=gitea.dwysokinski.me/twhelp/core:${CI_COMMIT_TAG##v}"
|
||||||
- cd ../../..
|
- cd ../../..
|
||||||
- kubectl --kubeconfig ~/.kube/twhelp -n twhelp delete jobs.batch twhelp-migrations-job || true
|
- kubectl --kubeconfig ~/.kube/twhelp -n twhelp delete jobs.batch twhelp-migrations-job || true
|
||||||
- kustomize build ./k8s/overlays/prod | kubectl --kubeconfig ~/.kube/twhelp apply -n twhelp -f -
|
- kustomize build ./k8s/overlays/prod | kubectl --kubeconfig ~/.kube/twhelp apply -n twhelp -f -
|
||||||
|
|
Loading…
Reference in New Issue
Block a user