Update staging file with 8353ba1 commit

This commit is contained in:
Jenkins 2019-10-23 06:29:01 +00:00 committed by gavinfish
parent 8353ba17f3
commit e4876bbaf1
3 changed files with 6 additions and 6 deletions

4
Jenkinsfile vendored
View file

@ -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

View file

@ -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:

View file

@ -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