File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,11 @@ pipeline {
3636 when { expression { return env. BUILD == ' true' }}
3737 steps {
3838 script {
39- docker. build(env. DOCKER_REPO_NAME , " --no-cache -f ./Dockerfile ./" )
39+ dir(' chp_api' ) {
40+ script {
41+ docker. build(env. DOCKER_REPO_NAME , " --no-cache -f ./Dockerfile ./" )
42+ }
43+ }
4044 sh ' docker login -u AWS -p $(aws ecr get-login-password --region us-east-1) 853771734544.dkr.ecr.us-east-1.amazonaws.com'
4145 docker. image(env. DOCKER_REPO_NAME ). push(" ${ BUILD_VERSION} " )
4246 sh ' cp deploy/chp-api/configs/nginx.conf deploy/chp-api/nginx/'
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ ingress:
8080
8181tolerations :
8282 - key : " transltr"
83- value : " managed-app "
83+ value : " chp "
8484 operator : " Equal"
8585 effect : " NoSchedule"
8686
@@ -90,10 +90,10 @@ affinity:
9090 requiredDuringSchedulingIgnoredDuringExecution :
9191 - labelSelector :
9292 matchExpressions :
93- - key : app
93+ - key : application
9494 operator : In
9595 values :
96- - managed-app
96+ - chp
9797 topologyKey : " kubernetes.io/hostname"
9898 # this ensures pod only runs on node with label application=managed-app
9999 nodeAffinity :
@@ -103,4 +103,4 @@ affinity:
103103 - key : application
104104 operator : In
105105 values :
106- - managed-app
106+ - chp
You can’t perform that action at this time.
0 commit comments