diff options
author | Peter Mikus <peter.mikus@protonmail.ch> | 2023-03-27 08:15:24 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-03-27 12:18:27 +0000 |
commit | 4624ac41439c00a1403da635580f12de2c527deb (patch) | |
tree | 326aa88b41cf1ba7bc34283341e8e8101af3181a /jenkins-config | |
parent | ed1c058df13ab4741c506aa02969487f1d67c246 (diff) |
feat(core): Introduce M class executor
- Add medium resource footprint executor.
- Suitable for various jobs to save resources.
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: Ia356c0bfe0864643ca836b4d214929eec534ebb4
Diffstat (limited to 'jenkins-config')
4 files changed, 60 insertions, 0 deletions
diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-prod-aarch64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-prod-aarch64.yaml new file mode 100644 index 000000000..8d25c3af5 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-prod-aarch64.yaml @@ -0,0 +1,15 @@ +--- +templates: + - constraints: + - ltarget: "^${attr.cpu.arch}" + operand: "=" + rtarget: "arm64" + - ltarget: "^${node.class}" + operand: "=" + rtarget: "builder" + image: "fdiotools/builder-ubuntu2204:prod-aarch64" + cpu: 8000 + memory: 8192 + labels: "m-builder-ubuntu2204-prod-aarch64" + prefix: "m-builder-ubuntu2204-prod-aarch64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-prod-x86_64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-prod-x86_64.yaml new file mode 100644 index 000000000..160119fa2 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-prod-x86_64.yaml @@ -0,0 +1,15 @@ +--- +templates: + - constraints: + - ltarget: "^${attr.cpu.arch}" + operand: "=" + rtarget: "amd64" + - ltarget: "^${node.class}" + operand: "=" + rtarget: "builder" + image: "fdiotools/builder-ubuntu2204:prod-x86_64" + cpu: 8000 + memory: 8192 + labels: "m-builder-ubuntu2204-prod-x86_64" + prefix: "m-builder-ubuntu2204-prod-x86_64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-sandbox-aarch64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-sandbox-aarch64.yaml new file mode 100644 index 000000000..0137b27ac --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-sandbox-aarch64.yaml @@ -0,0 +1,15 @@ +--- +templates: + - constraints: + - ltarget: "^${attr.cpu.arch}" + operand: "=" + rtarget: "arm64" + - ltarget: "^${node.class}" + operand: "=" + rtarget: "builder" + image: "fdiotools/builder-ubuntu2204:sandbox-aarch64" + cpu: 8000 + memory: 8192 + labels: "m-builder-ubuntu2204-sandbox-aarch64" + prefix: "m-builder-ubuntu2204-sandbox-aarch64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-sandbox-x86_64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-sandbox-x86_64.yaml new file mode 100644 index 000000000..c73c5aa7c --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/m-builder-ubuntu2204-sandbox-x86_64.yaml @@ -0,0 +1,15 @@ +--- +templates: + - constraints: + - ltarget: "^${attr.cpu.arch}" + operand: "=" + rtarget: "amd64" + - ltarget: "^${node.class}" + operand: "=" + rtarget: "builder" + image: "fdiotools/builder-ubuntu2204:sandbox-x86_64" + cpu: 8000 + memory: 8192 + labels: "m-builder-ubuntu2204-sandbox-x86_64" + prefix: "m-builder-ubuntu2204-sandbox-x86_64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" |