devops: updated gitlab ci configuration to include all files when pushing kubernetes manifests.
This commit is contained in:
parent
cc9fe2715f
commit
e560622033
@ -20,7 +20,7 @@ Generate and Push Kubernetes Manifests:
|
|||||||
--output-dir /tmp/manifests
|
--output-dir /tmp/manifests
|
||||||
- mv /tmp/manifests/${HELM_CHART_NAME}/templates/*.yaml .k8s/${ENVIRONMENT}/manifests/
|
- mv /tmp/manifests/${HELM_CHART_NAME}/templates/*.yaml .k8s/${ENVIRONMENT}/manifests/
|
||||||
- rm -rf /tmp/manifests/${HELM_CHART_NAME}
|
- rm -rf /tmp/manifests/${HELM_CHART_NAME}
|
||||||
- git add .k8s/${ENVIRONMENT}/manifests
|
- git add --all
|
||||||
- git commit -m "[${ENVIRONMENT}] manifests updated, [ci skip]"
|
- git commit -m "[${ENVIRONMENT}] manifests updated, [ci skip]"
|
||||||
- git push -o ci.skip
|
- git push -o ci.skip
|
||||||
only:
|
only:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user