aboutsummaryrefslogtreecommitdiff
path: root/leg-kolla-remove-images.yaml
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-06-03 12:36:12 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-06-03 12:39:13 +0200
commite99290812f8606291a5ec4fae0cbda201ca6a260 (patch)
treeb5aab0e752a76b9fa1c5b5cd8376a5abab853929 /leg-kolla-remove-images.yaml
parent35ecb50db870d547cb48e7f4fddbaa1ae4b259ae (diff)
leg-kolla*: cleanup after build
Added leg-kolla-remove-images job which removes local images after build. It is called in two situations: 1. leg-kolla* build fails - remove images is triggered 2. leg-kolla* build went fine, triggered push job and then remove images gets triggered Fixed recipients to Fathi, Riku, Hrw and LDCG ML. Change-Id: I3346c983d9bb2e87bbca4e8bae0dbf63758b1673
Diffstat (limited to 'leg-kolla-remove-images.yaml')
-rw-r--r--leg-kolla-remove-images.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/leg-kolla-remove-images.yaml b/leg-kolla-remove-images.yaml
new file mode 100644
index 0000000000..bdffe3e12f
--- /dev/null
+++ b/leg-kolla-remove-images.yaml
@@ -0,0 +1,40 @@
+- job:
+ name: leg-kolla-remove-images
+ 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:
+ - file:
+ name: remove.parameters
+ description: "tag of images to remove"
+ disabled: false
+ node: leg-aarch64
+ concurrent: false
+ display-name: 'LEG Kolla images local removal'
+ 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-remove-images/build.sh
+ publishers:
+ - email:
+ recipients: 'marcin.juszkiewicz@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org ldcg-team@linaro.org'