summaryrefslogtreecommitdiffstats
path: root/jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml')
-rw-r--r--jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml
new file mode 100644
index 000000000..cb5dabc2f
--- /dev/null
+++ b/jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml
@@ -0,0 +1,31 @@
+---
+Job:
+ Constraints:
+ - LTarget: ^${attr.cpu.arch}
+ Operand: =
+ RTarget: amd64
+ - LTarget: ^${node.class}
+ Operand: =
+ RTarget: builder
+ TaskGroups:
+ - Name: jenkins-worker-taskgroup
+ Tasks:
+ - Name: jenkins-worker
+ Config:
+ args:
+ - -cp
+ - /local/slave.jar
+ - hudson.remoting.jnlp.Main
+ - -headless
+ - -url
+ - https://jenkins.fd.io/sandbox
+ - -workDir
+ - /w/
+ - '%WORKER_SECRET%'
+ - '%WORKER_NAME%'
+ image: fdiotools/builder-debian12:sandbox-x86_64
+ volumes:
+ - /tmp/ccache.debian12:/scratch/ccache
+ - /scratch/nomad:/scratch/nomad:ro
+ Artifacts:
+ - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar