mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update staging file with 1b2914a
commit
This commit is contained in:
parent
1b2914ae34
commit
a307c4608b
5 changed files with 8 additions and 8 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -64,7 +64,7 @@ pipeline {
|
||||||
sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" deployment.yaml
|
sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" deployment.yaml
|
||||||
sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" service.yaml
|
sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" service.yaml
|
||||||
git add *
|
git add *
|
||||||
git commit -m "Update staging file with \${IMAGE_TAG} commit"
|
git commit -m "Update staging config with \${IMAGE_TAG} commit"
|
||||||
git push origin ignite
|
git push origin ignite
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ pipeline {
|
||||||
sed -i -e "s/v[0-9]\\.[0-9]\\.[0-9]/\${IMAGE_TAG}/" deployment.yaml
|
sed -i -e "s/v[0-9]\\.[0-9]\\.[0-9]/\${IMAGE_TAG}/" deployment.yaml
|
||||||
sed -i -e "s/v[0-9]\\.[0-9]\\.[0-9]/\${IMAGE_TAG}/" service.yaml
|
sed -i -e "s/v[0-9]\\.[0-9]\\.[0-9]/\${IMAGE_TAG}/" service.yaml
|
||||||
git add *
|
git add *
|
||||||
git commit -m "Update production file with \${IMAGE_TAG} commit"
|
git commit -m "Update production config with \${IMAGE_TAG} commit"
|
||||||
git push origin ignite
|
git push origin ignite
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,12 +12,12 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: pet-clinic
|
app: pet-clinic
|
||||||
version: pc-55d6000
|
version: pc-1b2914a
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: pet-clinic
|
- name: pet-clinic
|
||||||
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-55d6000"
|
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-1b2914a"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
|
|
@ -4,12 +4,12 @@ metadata:
|
||||||
name: pet-clinic
|
name: pet-clinic
|
||||||
namespace: staging
|
namespace: staging
|
||||||
labels:
|
labels:
|
||||||
version: pc-55d6000
|
version: pc-1b2914a
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: pet-clinic
|
app: pet-clinic
|
||||||
version: pc-55d6000
|
version: pc-1b2914a
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
welcome=Welcome to ignite
|
welcome=Welcome!
|
||||||
required=is required
|
required=is required
|
||||||
notFound=has not been found
|
notFound=has not been found
|
||||||
duplicate=is already in use
|
duplicate=is already in use
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h2 th:text="#{welcome}">Welcome!!!</h2>
|
<h2 th:text="#{welcome}">Welcome</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
|
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
|
||||||
|
|
Loading…
Reference in a new issue