-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nomad): add debian-12 cloud configuration
Change-Id: Idad02b386091236a05abfc7a227a1dc4ac6b41a1 Signed-off-by: Dave Wallace <[email protected]>
- Loading branch information
1 parent
0baab0c
commit 96ae1af
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-prod-x86_64-jobtemplate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
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-debian12:prod-x86_64 | ||
volumes: | ||
- /tmp/ccache.debian12:/scratch/ccache | ||
- /scratch/nomad:/scratch/nomad:ro |
4 changes: 4 additions & 0 deletions
4
jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-prod-x86_64.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
templates: | ||
- prefix: "builder-debian12-prod-x86_64" | ||
labels: "builder-debian12-prod-x86_64" |
31 changes: 31 additions & 0 deletions
31
jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64-jobtemplate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
4 changes: 4 additions & 0 deletions
4
jenkins-config/clouds/nomad/FDIONOMAD/builder-debian12-sandbox-x86_64.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
templates: | ||
- prefix: "builder-debian12-sandbox-x86_64" | ||
labels: "builder-debian12-sandbox-x86_64" |