release
This commit is contained in:
parent
2e443a03bd
commit
2220ab7d79
2
deployment/Jenkinsfile
vendored
2
deployment/Jenkinsfile
vendored
@ -28,7 +28,7 @@ podTemplate(
|
||||
stage("Get Source") {
|
||||
checkout scm
|
||||
props = readProperties file: "deployment/deploy_env_vars"
|
||||
namespace = "${props.teamid}-${props.root_project}-ns"
|
||||
namespace = "${props.namespace}"
|
||||
}
|
||||
|
||||
stage("Setup AKS") {
|
||||
|
||||
@ -33,10 +33,12 @@ podTemplate(
|
||||
def imageTag = getImageTag()
|
||||
def manifestRepo = 'cna-bootcamp/lifesub-manifest'
|
||||
def manifestBranch = 'main'
|
||||
def namespace
|
||||
|
||||
stage("Get Source") {
|
||||
checkout scm
|
||||
props = readProperties file: "deployment/deploy_env_vars"
|
||||
namespace = "${props.namespace}"
|
||||
}
|
||||
|
||||
stage('Build & Push Image') {
|
||||
|
||||
@ -31,7 +31,7 @@ podTemplate(
|
||||
stage("Get Source") {
|
||||
checkout scm
|
||||
props = readProperties file: "deployment/deploy_env_vars"
|
||||
namespace = "${props.teamid}-${props.root_project}-ns"
|
||||
namespace = "${props.namespace}"
|
||||
}
|
||||
|
||||
stage('Code Analysis & Quality Gate') {
|
||||
|
||||
@ -48,7 +48,8 @@ spec:
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: backend-ingress
|
||||
name: lifesub
|
||||
namespace: ${namespace}
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
# Team Settings
|
||||
teamid=unicorn
|
||||
root_project=lifesub-web
|
||||
namespace=lifesub
|
||||
|
||||
# Container Registry Settings
|
||||
registry=unicorncr.azurecr.io
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user