From e4876bbaf12739b361eab86e214b5ca6bb45cef5 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 23 Oct 2019 06:29:01 +0000 Subject: [PATCH] Update staging file with 8353ba1 commit --- Jenkinsfile | 4 ++-- infra/kube/workloads/staging/deployment.yaml | 4 ++-- infra/kube/workloads/staging/service.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 07f4f8da4..44c50a18a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,8 +50,8 @@ pipeline { steps { dir('infra/kube/workloads/staging') { sh ''' - sed -i -e "s/pet-......./pet-\${IMAGE_TAG}/" deployment.yaml - sed -i -e "s/pet-......./pet-\${IMAGE_TAG}/" service.yaml + sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" deployment.yaml + sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" service.yaml git add * git commit -m "Update staging file with \${IMAGE_TAG} commit" git push origin ignite diff --git a/infra/kube/workloads/staging/deployment.yaml b/infra/kube/workloads/staging/deployment.yaml index 31c47a7cf..4ac7dc4c0 100644 --- a/infra/kube/workloads/staging/deployment.yaml +++ b/infra/kube/workloads/staging/deployment.yaml @@ -12,12 +12,12 @@ spec: metadata: labels: app: pet-clinic - version: pet-c55dfe3 + version: pc-8353ba1 spec: containers: - name: pet-clinic - image: "jenkinsdemosacr.azurecr.io/pet-c55dfe3" + image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-8353ba1" ports: - containerPort: 8080 imagePullSecrets: diff --git a/infra/kube/workloads/staging/service.yaml b/infra/kube/workloads/staging/service.yaml index 50f06da97..ff80fc84b 100644 --- a/infra/kube/workloads/staging/service.yaml +++ b/infra/kube/workloads/staging/service.yaml @@ -4,11 +4,11 @@ metadata: name: pet-clinic namespace: staging labels: - version: pet-c55dfe3 + version: pc-8353ba1 spec: selector: app: auth-service - version: pet-c55dfe3 + version: pc-8353ba1 ports: - port: 80 targetPort: 8080