mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update staging file with 55d6000
commit
This commit is contained in:
parent
55d60002e9
commit
1b2914ae34
7 changed files with 9 additions and 9 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -26,7 +26,7 @@ pipeline {
|
||||||
|
|
||||||
stage('build') {
|
stage('build') {
|
||||||
when {
|
when {
|
||||||
changeset "src/*"
|
changeset "src/**"
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
|
|
@ -12,12 +12,12 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: pet-clinic
|
app: pet-clinic
|
||||||
version: pc-5fb7fbc
|
version: pc-55d6000
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: pet-clinic
|
- name: pet-clinic
|
||||||
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-5fb7fbc"
|
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-55d6000"
|
||||||
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-5fb7fbc
|
version: pc-55d6000
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: pet-clinic
|
app: pet-clinic
|
||||||
version: pc-5fb7fbc
|
version: pc-55d6000
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -25,6 +25,6 @@ class WelcomeController {
|
||||||
|
|
||||||
@GetMapping("/")
|
@GetMapping("/")
|
||||||
public String welcome() {
|
public String welcome() {
|
||||||
return "Welcome";
|
return "welcome";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
welcome=Welcome
|
welcome=Welcome to ignite
|
||||||
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
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
<p th:text="${message}">Exception message</p>
|
<p th:text="${message}">Exception message</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h2 th:text="#{welcome}">Hello Ignite</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