diff options
Diffstat (limited to 'jenkins-config/clouds/nomad/FDIONOMAD/csit-builder-ubuntu2404-sandbox-aarch64-jobtemplate.yaml')
-rw-r--r-- | jenkins-config/clouds/nomad/FDIONOMAD/csit-builder-ubuntu2404-sandbox-aarch64-jobtemplate.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/csit-builder-ubuntu2404-sandbox-aarch64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/csit-builder-ubuntu2404-sandbox-aarch64-jobtemplate.yaml new file mode 100644 index 000000000..9f34823e3 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/csit-builder-ubuntu2404-sandbox-aarch64-jobtemplate.yaml @@ -0,0 +1,31 @@ +--- +Job: + Constraints: + - LTarget: ^${attr.cpu.arch} + Operand: = + RTarget: arm64 + - LTarget: ^${node.class} + Operand: = + RTarget: csitarm + 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-ubuntu2404:sandbox-aarch64 + volumes: + - /tmp/ccache.ubuntu2404:/scratch/ccache + - /scratch/nomad:/scratch/nomad:ro + Artifacts: + - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar |