devops: updated gitlab ci configuration to include all files when pushing kubernetes manifests.

This commit is contained in:
Rebecca Valente 2025-07-08 11:50:31 -03:00
parent cc9fe2715f
commit e560622033

View File

@ -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: