mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2025-12-06 08:06:24 +00:00
add cicd
This commit is contained in:
parent
b074f9859c
commit
d637852b12
1
deployment/Jenkinsfile
vendored
1
deployment/Jenkinsfile
vendored
@ -150,6 +150,7 @@ testcontainers.reuse.enable=true'''
|
|||||||
sh """
|
sh """
|
||||||
export namespace=${namespace}
|
export namespace=${namespace}
|
||||||
export allowed_origins=${props.allowed_origins}
|
export allowed_origins=${props.allowed_origins}
|
||||||
|
export ingress_host=${props.ingress_host}
|
||||||
export jwt_secret_key=${props.jwt_secret_key}
|
export jwt_secret_key=${props.jwt_secret_key}
|
||||||
export postgres_user=${props.postgres_user}
|
export postgres_user=${props.postgres_user}
|
||||||
export postgres_password=${props.postgres_password}
|
export postgres_password=${props.postgres_password}
|
||||||
|
|||||||
@ -330,7 +330,7 @@ metadata:
|
|||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: nginx
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: dg0400.20.214.196.128.nip.io
|
- host: ${ingress_host}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /api/auth
|
- path: /api/auth
|
||||||
|
|||||||
@ -10,6 +10,7 @@ image_org=dg0400
|
|||||||
# Application Settings
|
# Application Settings
|
||||||
replicas=1
|
replicas=1
|
||||||
allowed_origins=http://20.214.195.54
|
allowed_origins=http://20.214.195.54
|
||||||
|
ingress_host=dg0400.20.214.196.128.nip.io
|
||||||
|
|
||||||
# Security Settings
|
# Security Settings
|
||||||
jwt_secret_key=8O2HQ13etL2BWZvYOiWsJ5uWFoLi6NBUG8divYVoCgtHVvlk3dqRksMl16toztDUeBTSIuOOPvHIrYq11G2BwQ
|
jwt_secret_key=8O2HQ13etL2BWZvYOiWsJ5uWFoLi6NBUG8divYVoCgtHVvlk3dqRksMl16toztDUeBTSIuOOPvHIrYq11G2BwQ
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user