test deploy
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -12,7 +12,7 @@ postgres:
|
||||
image:
|
||||
repository: postgres
|
||||
tag: 15-alpine
|
||||
pullPolicy: IfNotPresent
|
||||
pullPolicy: always
|
||||
auth:
|
||||
username: user
|
||||
password: password
|
||||
@@ -38,7 +38,7 @@ minio:
|
||||
image:
|
||||
repository: minio/minio
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
pullPolicy: always
|
||||
auth:
|
||||
rootUser: minioadmin
|
||||
rootPassword: minioadmin
|
||||
@@ -67,7 +67,7 @@ app:
|
||||
image:
|
||||
repository: warehouse13/app
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
pullPolicy: always
|
||||
replicas: 2
|
||||
env:
|
||||
databaseUrl: "postgresql://user:password@warehouse13-postgres:5432/datalake"
|
||||
|
||||
Reference in New Issue
Block a user