commit 9e23a1e87b102873204abaaeccc62c4d5fb7efb2 parent 34a5c69d8105a488c9fdd0b36e8650ecf2812f48 Author: MTRNord <MTRNord@users.noreply.github.com> Date: Fri, 10 Apr 2026 03:08:43 +0200 another try Signed-off-by: MTRNord <MTRNord@users.noreply.github.com> Diffstat:
| M | apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy | | | 41 | ++++++++++++++++++++++++++++++++++++++++- |
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy b/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy @@ -20,7 +20,46 @@ pipelineJob('gitops-multiarch-builds') { pipeline { agent { kubernetes { - label 'build-agent' + yaml ''' + apiVersion: v1 + kind: Pod + metadata: + labels: + jenkins: agent + job: gitops-multiarch-builds + spec: + serviceAccountName: jenkins + containers: + - name: jnlp + image: jenkins/inbound-agent:3248.v65ecb_254c298-6 + args: ['\$(JENKINS_SECRET)', '\$(JENKINS_NAME)'] + env: + - name: JENKINS_TUNNEL + value: jenkins-operator-slave-jenkins.jenkins.svc.cluster.local:50000 + - name: JENKINS_URL + value: http://jenkins:8080/ + - name: DOCKER_HOST + value: unix:///var/run/docker.sock + volumeMounts: + - name: docker-sock + mountPath: /var/run + - name: dind + image: docker:dind + securityContext: + privileged: true + args: + - --storage-driver=overlay2 + env: + - name: DOCKER_TLS_CERTDIR + value: "" + volumeMounts: + - name: docker-sock + mountPath: /var/run + volumes: + - name: docker-sock + emptyDir: {} + restartPolicy: Never + ''' } }