diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2019-06-07 10:00:24 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2019-06-17 06:32:53 +0000 |
commit | 000019b7062736f4afaf0527e59b039f442d7459 (patch) | |
tree | 7325d941c0a6efcb56d4deb41b57f432a013ad28 /swarm-demo-factory.yaml | |
parent | e5fbf5ba2eb09c92cf213c48dbf75efa76afd7c2 (diff) |
swarm-demo: test swarm scheduler
A factory job to submit builds to the new swarm, and the job
to run in the swarm.
Change-Id: Ia8c035de7aec1ed2a79dc3888c2e5a7c3f565799
Diffstat (limited to 'swarm-demo-factory.yaml')
-rw-r--r-- | swarm-demo-factory.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/swarm-demo-factory.yaml b/swarm-demo-factory.yaml new file mode 100644 index 00000000..d59deca0 --- /dev/null +++ b/swarm-demo-factory.yaml @@ -0,0 +1,41 @@ +- job: + name: swarm-demo-factory + project-type: freestyle + defaults: global + properties: + - authorization: + anonymous: + - job-discover + linaro: + - job-read + - job-extended-read + - job-build + - build-discarder: + days-to-keep: 10 + num-to-keep: 10 + disabled: false + display-name: 'Test swarm' + parameters: + - string: + name: jobs + description: 'number of jobs to submit' + default: "10" + wrappers: + - timestamps + builders: + - shell: | + #!/bin/bash + # + rm -f swarm_*_build.txt + for number in $(seq 1 ${jobs}) + do + echo "number=${number}" > swarm_${number}_build.txt + done + - trigger-builds: + - project: swarm-demo + parameter-factories: + - factory: filebuild + file-pattern: swarm_*_build.txt + publishers: + - email: + recipients: linaro-infrastructure-errors@lists.linaro.org |