mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2025-12-05 23:56:23 +00:00
add cicd
This commit is contained in:
parent
b074f9859c
commit
d637852b12
3
deployment/Jenkinsfile
vendored
3
deployment/Jenkinsfile
vendored
@ -150,6 +150,7 @@ testcontainers.reuse.enable=true'''
|
||||
sh """
|
||||
export namespace=${namespace}
|
||||
export allowed_origins=${props.allowed_origins}
|
||||
export ingress_host=${props.ingress_host}
|
||||
export jwt_secret_key=${props.jwt_secret_key}
|
||||
export postgres_user=${props.postgres_user}
|
||||
export postgres_password=${props.postgres_password}
|
||||
@ -183,4 +184,4 @@ testcontainers.reuse.enable=true'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -330,7 +330,7 @@ metadata:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
spec:
|
||||
rules:
|
||||
- host: dg0400.20.214.196.128.nip.io
|
||||
- host: ${ingress_host}
|
||||
http:
|
||||
paths:
|
||||
- path: /api/auth
|
||||
@ -353,4 +353,4 @@ spec:
|
||||
service:
|
||||
name: recommend-service
|
||||
port:
|
||||
number: 80
|
||||
number: 80
|
||||
@ -10,6 +10,7 @@ image_org=dg0400
|
||||
# Application Settings
|
||||
replicas=1
|
||||
allowed_origins=http://20.214.195.54
|
||||
ingress_host=dg0400.20.214.196.128.nip.io
|
||||
|
||||
# Security Settings
|
||||
jwt_secret_key=8O2HQ13etL2BWZvYOiWsJ5uWFoLi6NBUG8divYVoCgtHVvlk3dqRksMl16toztDUeBTSIuOOPvHIrYq11G2BwQ
|
||||
@ -20,4 +21,4 @@ postgres_password=Hi5Jessica!
|
||||
resources_requests_cpu=256m
|
||||
resources_requests_memory=256Mi
|
||||
resources_limits_cpu=1024m
|
||||
resources_limits_memory=1024Mi
|
||||
resources_limits_memory=1024Mi
|
||||
Loading…
x
Reference in New Issue
Block a user