aboutsummaryrefslogtreecommitdiff
path: root/leg-kolla-train-ldc.yaml
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-01-07 10:21:38 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-01-10 11:47:42 +0000
commit624dfc8ae1c501a825fb812c28e22a799283d3e2 (patch)
tree669db419ee8beadc0ecbaa7de76bb9aae33ec1f6 /leg-kolla-train-ldc.yaml
parentabff0e66abd449add90c535471cf1ad73af237ec (diff)
leg-kolla: add job building Train images for LDC
Use Python 3 for everything newer than Rocky. Change-Id: I82060d32dda677e4db21e01196bfe385cb9fb48b
Diffstat (limited to 'leg-kolla-train-ldc.yaml')
-rw-r--r--leg-kolla-train-ldc.yaml69
1 files changed, 69 insertions, 0 deletions
diff --git a/leg-kolla-train-ldc.yaml b/leg-kolla-train-ldc.yaml
new file mode 100644
index 00000000..ee43802d
--- /dev/null
+++ b/leg-kolla-train-ldc.yaml
@@ -0,0 +1,69 @@
+- job:
+ name: leg-kolla-train-ldc
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-discover
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ parameters:
+ - string:
+ name: DEVCLOUD
+ default: '1'
+ description: 'build images for developer cloud'
+ - string:
+ name: DEVCLOUD_EXTRA_PATCHES
+ default: ''
+ description: "comma separated list of patches ids to apply to the ldc branch not merged into stable/train"
+ - string:
+ name: BRANCH
+ default: 'stable/train'
+ description: 'branch to use'
+ - string:
+ name: THREADS_OPT
+ default: '24'
+ description: 'number of threads (default: 24)'
+ - string:
+ name: RETRIES_OPT
+ default: '3'
+ description: 'number of retries (default: 3)'
+ disabled: false
+ node: leg-aarch64
+ concurrent: false
+ display-name: 'LEG Kolla images build (train images for Linaro Developer Cloud)'
+ wrappers:
+ - timestamps
+ - copy-to-slave:
+ includes:
+ - config.json
+ relative-to: 'somewhereElse'
+ - credentials-binding:
+ - text:
+ credential-id: DOCKER_AUTH
+ variable: DOCKER_AUTH
+ builders:
+ - shell:
+ !include-raw: leg-kolla/build.sh
+ - linaro-publish-token
+ - shell:
+ !include-raw: leg-kolla/publishers.sh
+ - trigger-builds:
+ - project:
+ - 'leg-kolla-push-images'
+ property-file: "push.parameters"
+ - project:
+ - 'leg-kolla-remove-images'
+ property-file: "remove.parameters"
+ publishers:
+ - archive:
+ artifacts: 'push.parameters'
+ - email:
+ recipients: 'marcin.juszkiewicz@linaro.org kevin.zhao@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org ldcg-team@linaro.org'