mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 22:35:49 +00:00
Update staging file with 8353ba1
commit
This commit is contained in:
parent
8353ba17f3
commit
e4876bbaf1
3 changed files with 6 additions and 6 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue