aboutsummaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-04-17 10:00:53 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-04-17 10:00:53 +0000
commitd073f27c05d9b94e26e2ca09ee83d18b19567742 (patch)
treedf26a54fa91f784a327974611de5d19df2155b2a /tcwg-cleanup-stale-containers.yaml
parent223243f1bdf69b818a2927e4447fddee119d6820 (diff)
tcwg-cleanup-stale-containers: Convert to dynamic slave axis
Change-Id: I413e315a8bf8ce6f242e3b82de6f2997168ee2cc
Diffstat (limited to 'tcwg-cleanup-stale-containers.yaml')
-rw-r--r--tcwg-cleanup-stale-containers.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tcwg-cleanup-stale-containers.yaml b/tcwg-cleanup-stale-containers.yaml
index 2c079d20..49b9f3e3 100644
--- a/tcwg-cleanup-stale-containers.yaml
+++ b/tcwg-cleanup-stale-containers.yaml
@@ -18,6 +18,10 @@
option: project
parameters:
- string:
+ name: slave_list
+ default: 'tcwg-aarch64-build-01 tcwg-aarch64-build-02 tcwg-aarch64-test-02 tcwg-x86_64-build-01 tcwg-x86_64-build-02 tcwg-x86_64-build-03 tcwg-x86_64-build-04 tcwg-x86_64-build-05 tcwg-x86_64-build-06 tcwg-x86_64-build-07 tcwg-x86_64-build-08'
+ description: 'List of slaves to run on -- should be a subset of slave axis'
+ - string:
name: hours
default: '10'
description: 'Delete containers that are more then "hours" old. Use "0" to disable time check.'
@@ -76,7 +80,14 @@
- tcwg-x86_64-build-06
- tcwg-x86_64-build-07
- tcwg-x86_64-build-08
+ - axis:
+ type: dynamic
+ name: slave
+ values:
+ - slave_list
execution-strategy:
+ combination-filter: |
+ label==slave
sequential: false
wrappers:
- timeout: