aboutsummaryrefslogtreecommitdiff
path: root/leg-kolla-rocky-ldc.yaml
diff options
context:
space:
mode:
authorJorge Niedbalski <jorge.niedbalski@linaro.org>2018-08-14 11:32:12 -0300
committerJorge Niedbalski <jorge.niedbalski@linaro.org>2018-08-14 11:52:54 -0300
commit3dc4fb7e7465b8b2e16daf545e1ca13938b35a48 (patch)
treebdf6b0b4dddcbc53b44db317cf0d885e51475b90 /leg-kolla-rocky-ldc.yaml
parentfe926e9023b3d2683e66222aaa3b5dfeb8b1ac3c (diff)
Add leg-kolla-rocky-ldc job.
Added a job to build ldc images from master passing the patches + ldc=1 flags. Modified the leg-kolla/build.sh script to modify kolla_tag based on the current branch and if LDC is enabled. Change-Id: I7df277112c303e749a8428d6d2da30c3899d43a7 Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
Diffstat (limited to 'leg-kolla-rocky-ldc.yaml')
-rw-r--r--leg-kolla-rocky-ldc.yaml66
1 files changed, 66 insertions, 0 deletions
diff --git a/leg-kolla-rocky-ldc.yaml b/leg-kolla-rocky-ldc.yaml
new file mode 100644
index 0000000000..522d76c299
--- /dev/null
+++ b/leg-kolla-rocky-ldc.yaml
@@ -0,0 +1,66 @@
+- job:
+ name: leg-kolla
+ 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 master"
+ - string:
+ name: BRANCH
+ default: 'master'
+ 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 (Rocky 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"
+ publishers:
+ - archive:
+ artifacts: 'push.parameters'
+ - email:
+ recipients: 'marcin.juszkiewicz@linaro.org gema.gomez-solano@linaro.org jorge.niedbalski@linaro.org'