Forced builds to build and deploy to arm64 nodes.

This commit is contained in:
2023-01-11 18:40:09 +02:00
parent e8e3432855
commit 2716a18615
4 changed files with 8 additions and 0 deletions

2
cicd/Jenkinsfile vendored
View File

@@ -10,6 +10,8 @@ kind: Pod
metadata: metadata:
name: wedding-fe-"""+BRANCH_NAME+"""-build name: wedding-fe-"""+BRANCH_NAME+"""-build
spec: spec:
nodeSelector:
kubernetes.io/arch: arm64
serviceAccountName: jenkins-admin serviceAccountName: jenkins-admin
containers: containers:
- name: kaniko - name: kaniko

View File

@@ -35,6 +35,8 @@ spec:
app: wedding-fe-main app: wedding-fe-main
delpoymentDate: "{{replaceMe}}" delpoymentDate: "{{replaceMe}}"
spec: spec:
nodeSelector:
kubernetes.io/arch: arm64
containers: containers:
- name: wedding-fe-main - name: wedding-fe-main
image: 192.168.195.195:30000/wedding-fe:main image: 192.168.195.195:30000/wedding-fe:main

View File

@@ -35,6 +35,8 @@ spec:
app: wedding-fe-prod app: wedding-fe-prod
delpoymentDate: "{{replaceMe}}" delpoymentDate: "{{replaceMe}}"
spec: spec:
nodeSelector:
kubernetes.io/arch: arm64
containers: containers:
- name: wedding-fe-prod - name: wedding-fe-prod
image: 192.168.195.195:30000/wedding-fe:prod image: 192.168.195.195:30000/wedding-fe:prod

View File

@@ -35,6 +35,8 @@ spec:
app: wedding-fe-stage app: wedding-fe-stage
delpoymentDate: "{{replaceMe}}" delpoymentDate: "{{replaceMe}}"
spec: spec:
nodeSelector:
kubernetes.io/arch: arm64
containers: containers:
- name: wedding-fe-stage - name: wedding-fe-stage
image: 192.168.195.195:30000/wedding-fe:stage image: 192.168.195.195:30000/wedding-fe:stage