Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(infra.ci) using arm64 VM AllInOne agent #7027

Merged
merged 11 commits into from
Mar 6, 2024
36 changes: 1 addition & 35 deletions Jenkinsfile_k8s
Original file line number Diff line number Diff line change
@@ -1,41 +1,7 @@

pipeline {
agent {
kubernetes {
yaml '''
apiVersion: "v1"
kind: "Pod"
metadata:
labels:
jenkins: "agent"
job: "jenkins-io"
spec:
tolerations:
- key: "os"
operator: "Equal"
value: "linux"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
restartPolicy: "Never"
automountServiceAccountToken: false
containers:
- name: "jnlp"
image: "jenkinsciinfra/builder:3.1.25"
resources:
limits: {}
requests:
memory: "4Gi"
cpu: "2"
'''
}
label 'linux-arm64-docker'
}

environment {
Expand Down
1 change: 0 additions & 1 deletion scripts/awestruct
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ else
exit 1
fi
fi

Loading