-
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.
Add HostStack Test nomad jenkins-config cloud configuration.
Change-Id: I5d95c1d02f0976a2ce875a904cb92ac5aa930371 Signed-off-by: Dave Wallace <[email protected]>
- Loading branch information
1 parent
00753ac
commit d24dd30
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-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,22 @@ | ||
--- | ||
Job: | ||
Constraints: | ||
- LTarget: ^${attr.cpu.arch} | ||
Operand: = | ||
RTarget: amd64 | ||
- LTarget: ^${node.class} | ||
Operand: = | ||
RTarget: hst | ||
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: | ||
# Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU | ||
CPU: 400000 | ||
|
4 changes: 4 additions & 0 deletions
4
jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-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: "hst-ubuntu2204-prod-x86_64" | ||
labels: "hst-ubuntu2204-prod-x86_64" |
34 changes: 34 additions & 0 deletions
34
jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-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,34 @@ | ||
--- | ||
Job: | ||
Constraints: | ||
- LTarget: ^${attr.cpu.arch} | ||
Operand: = | ||
RTarget: amd64 | ||
- LTarget: ^${node.class} | ||
Operand: = | ||
RTarget: hst | ||
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-ubuntu2204:sandbox-x86_64 | ||
volumes: | ||
- /tmp/ccache.ubuntu2204:/scratch/ccache | ||
- /scratch/nomad:/scratch/nomad:ro | ||
Artifacts: | ||
- GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar | ||
Resources: | ||
# Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU | ||
CPU: 400000 |
4 changes: 4 additions & 0 deletions
4
jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-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: "hst-ubuntu2204-sandbox-x86_64" | ||
labels: "hst-ubuntu2204-sandbox-x86_64" |