diff options
author | Peter Mikus <peter.mikus@protonmail.ch> | 2023-03-27 07:53:42 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-03-27 08:17:30 +0000 |
commit | 1abe46f0a19f5f115344689468cd2a5d0d144dde (patch) | |
tree | f9cc622c15048bce64170a11aefaa11a35eb9fcf /jenkins-config | |
parent | ce96f2c945b4f57d643c15f2d7fde618e64b4d90 (diff) |
feat(core): Introduce S class executor
- Add small resource footprint executor.
- Suitable for various jobs to save resources.
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: I1d27be68362c2b4db369fdeffcda2e27b5ea30cd
Diffstat (limited to 'jenkins-config')
4 files changed, 60 insertions, 0 deletions
diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-prod-aarch64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-prod-aarch64.yaml new file mode 100644 index 000000000..11cab4840 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/s-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: 4000 + memory: 4096 + labels: "s-builder-ubuntu2204-prod-aarch64" + prefix: "s-builder-ubuntu2204-prod-aarch64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-prod-x86_64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-prod-x86_64.yaml new file mode 100644 index 000000000..352e4e7a0 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/s-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: 4000 + memory: 4096 + labels: "s-builder-ubuntu2204-prod-x86_64" + prefix: "s-builder-ubuntu2204-prod-x86_64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-sandbox-aarch64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-sandbox-aarch64.yaml new file mode 100644 index 000000000..8787e7ef4 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/s-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: 4000 + memory: 4096 + labels: "s-builder-ubuntu2204-sandbox-aarch64" + prefix: "s-builder-ubuntu2204-sandbox-aarch64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-sandbox-x86_64.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/s-builder-ubuntu2204-sandbox-x86_64.yaml new file mode 100644 index 000000000..adc707877 --- /dev/null +++ b/jenkins-config/clouds/nomad/FDIONOMAD/s-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: 4000 + memory: 4096 + labels: "s-builder-ubuntu2204-sandbox-x86_64" + prefix: "s-builder-ubuntu2204-sandbox-x86_64" + hostVolumes: "/tmp/ccache.ubuntu2204:/scratch/ccache,/scratch/nomad:/scratch/nomad:ro" |