test deploy

This commit is contained in:
Armando Diaz
2025-10-16 18:54:18 -05:00
parent 80242b9602
commit 6508363c12
2 changed files with 13 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
stages:
- test
- build
- deploy
# Test stage
test:
@@ -46,4 +47,12 @@ deploy_helm_charts:
script:
- kubectl config use-context $CONTEXT
- |
helm upgrade --install gitlab-servicedesk-agent-$ENV ./helm --namespace $NAMESPACE -f $VALUES_FILE --set image.repository=$CI_REGISTRY_IMAGE --set image.tag=$CI_COMMIT_REF
helm upgrade --install warehouse13-$CI_COMMIT_REF \
./helm/warehouse13 --namespace $NAMESPACE \
-f $VALUES_FILE \
--set api.image=$CI_REGISTRY_IMAGE \
--set api.image.tag=$CI_COMMIT_REF \
--set postgres.image.repository=containers.global.bsf.tools/postgres \
--set postgres.image.tag=15-alpine \
--set minio.image.repository=containers.global.bsf.tools/minio \
--set minio.image.tag=latest