mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45: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 {
|
steps {
|
||||||
dir('infra/kube/workloads/staging') {
|
dir('infra/kube/workloads/staging') {
|
||||||
sh '''
|
sh '''
|
||||||
sed -i -e "s/pet-......./pet-\${IMAGE_TAG}/" deployment.yaml
|
sed -i -e "s/pc-......./pc-\${IMAGE_TAG}/" deployment.yaml
|
||||||
sed -i -e "s/pet-......./pet-\${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 file 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: pet-c55dfe3
|
version: pc-8353ba1
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: pet-clinic
|
- name: pet-clinic
|
||||||
image: "jenkinsdemosacr.azurecr.io/pet-c55dfe3"
|
image: "jenkinsdemosacr.azurecr.io/pet-clinic:pc-8353ba1"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
|
|
@ -4,11 +4,11 @@ metadata:
|
||||||
name: pet-clinic
|
name: pet-clinic
|
||||||
namespace: staging
|
namespace: staging
|
||||||
labels:
|
labels:
|
||||||
version: pet-c55dfe3
|
version: pc-8353ba1
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: auth-service
|
app: auth-service
|
||||||
version: pet-c55dfe3
|
version: pc-8353ba1
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
|
|
Loading…
Reference in a new issue