pipeline #5

Merged
mondo merged 28 commits from pipeline into main 2025-10-17 13:13:14 -05:00
2 changed files with 13 additions and 4 deletions
Showing only changes of commit 6508363c12 - Show all commits

View File

@@ -1,6 +1,7 @@
stages: stages:
- test - test
- build - build
- deploy
# Test stage # Test stage
test: test:
@@ -46,4 +47,12 @@ deploy_helm_charts:
script: script:
- kubectl config use-context $CONTEXT - 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

View File

@@ -12,7 +12,7 @@ postgres:
image: image:
repository: postgres repository: postgres
tag: 15-alpine tag: 15-alpine
pullPolicy: IfNotPresent pullPolicy: always
auth: auth:
username: user username: user
password: password password: password
@@ -38,7 +38,7 @@ minio:
image: image:
repository: minio/minio repository: minio/minio
tag: latest tag: latest
pullPolicy: IfNotPresent pullPolicy: always
auth: auth:
rootUser: minioadmin rootUser: minioadmin
rootPassword: minioadmin rootPassword: minioadmin
@@ -67,7 +67,7 @@ app:
image: image:
repository: warehouse13/app repository: warehouse13/app
tag: latest tag: latest
pullPolicy: IfNotPresent pullPolicy: always
replicas: 2 replicas: 2
env: env:
databaseUrl: "postgresql://user:password@warehouse13-postgres:5432/datalake" databaseUrl: "postgresql://user:password@warehouse13-postgres:5432/datalake"