summaryrefslogtreecommitdiffstats
path: root/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-prod-x86_64-jobtemplate.yaml
blob: 5b196457bb87a21b6e69f44b72dd7047511b1f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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:
            image: fdiotools/builder-ubuntu2204:prod-x86_64
            volumes:
              - /tmp/ccache.ubuntu2204:/scratch/ccache
              - /scratch/nomad:/scratch/nomad:ro
          Resources:
            CPU: 4000
            MemoryMB: 4096