pipeline #5
@@ -1,19 +1,7 @@
|
|||||||
stages:
|
stages:
|
||||||
- test
|
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
# Test stage
|
|
||||||
test:
|
|
||||||
stage: test
|
|
||||||
allow_failure: true
|
|
||||||
image: containers.global.bsf.tools/node:20.11-alpine3.19
|
|
||||||
script:
|
|
||||||
- cd frontend
|
|
||||||
- npm config set registry https://deps.global.bsf.tools/artifactory/api/npm/registry.npmjs.org/
|
|
||||||
- npm config set strict-ssl false
|
|
||||||
- npm config fix
|
|
||||||
- npm install
|
|
||||||
|
|
||||||
build_container:
|
build_container:
|
||||||
stage: build
|
stage: build
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ postgres:
|
|||||||
storageClass: ""
|
storageClass: ""
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "512Mi"
|
||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
limits:
|
limits:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
@@ -48,7 +48,7 @@ minio:
|
|||||||
storageClass: ""
|
storageClass: ""
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "512Mi"
|
memory: "1Gi"
|
||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
limits:
|
limits:
|
||||||
memory: "1Gi"
|
memory: "1Gi"
|
||||||
@@ -75,7 +75,7 @@ app:
|
|||||||
minioEndpoint: "warehouse13-minio:9000"
|
minioEndpoint: "warehouse13-minio:9000"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "384Mi"
|
memory: "768Mi"
|
||||||
cpu: "350m"
|
cpu: "350m"
|
||||||
limits:
|
limits:
|
||||||
memory: "768Mi"
|
memory: "768Mi"
|
||||||
@@ -96,20 +96,20 @@ app:
|
|||||||
|
|
||||||
# Ingress
|
# Ingress
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: true
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
annotations:
|
annotations:
|
||||||
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
cert-manager.io/cluster-issuer: "letsencrypt"
|
||||||
hosts:
|
hosts:
|
||||||
- host: warehouse13.example.com
|
- host: warehouse13.common.global.bsf.tools
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend: app # All traffic goes to unified app (serves both API and frontend)
|
backend: app # All traffic goes to unified app (serves both API and frontend)
|
||||||
tls: []
|
tls:
|
||||||
# - secretName: warehouse13-tls
|
- secretName: warehouse13-tls
|
||||||
# hosts:
|
hosts:
|
||||||
# - warehouse13.example.com
|
- warehouse13.common.global.bsf.tools
|
||||||
|
|
||||||
# Service Account
|
# Service Account
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
|
|||||||
Reference in New Issue
Block a user