mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +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}/" service.yaml
|
||||
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
|
||||
'''
|
||||
}
|
||||
|
@ -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}/" service.yaml
|
||||
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
|
||||
'''
|
||||
}
|
||||
|
|
|
@ -12,12 +12,12 @@ spec:
|
|||
metadata:
|
||||
labels:
|
||||
app: pet-clinic
|
||||
version: pc-55d6000
|
||||
version: pc-1b2914a
|
||||
|
||||
spec:
|
||||
containers:
|
||||
- name: pet-clinic
|
||||
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-55d6000"
|
||||
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-1b2914a"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
imagePullSecrets:
|
||||
|
|
|
@ -4,12 +4,12 @@ metadata:
|
|||
name: pet-clinic
|
||||
namespace: staging
|
||||
labels:
|
||||
version: pc-55d6000
|
||||
version: pc-1b2914a
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: pet-clinic
|
||||
version: pc-55d6000
|
||||
version: pc-1b2914a
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
welcome=Welcome to ignite
|
||||
welcome=Welcome!
|
||||
required=is required
|
||||
notFound=has not been found
|
||||
duplicate=is already in use
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<body>
|
||||
|
||||
<h2 th:text="#{welcome}">Welcome!!!</h2>
|
||||
<h2 th:text="#{welcome}">Welcome</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<img class="img-responsive" src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
|
||||
|
|
Loading…
Reference in a new issue