summaryrefslogtreecommitdiff
path: root/tf-static-checks.yaml
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@linaro.org>2021-03-02 12:10:21 -0600
committerLeonardo Sandoval <leonardo.sandoval@linaro.org>2021-03-02 12:13:00 -0600
commita4feb55d5b294ae1e918eaadf0b329f847703a5f (patch)
treecfe1008a60971366c5ad3985ec15acee095391a5 /tf-static-checks.yaml
parent293e81a88096cc4ffb51c4eb5144e109287b0070 (diff)
build discarder: adjust days-to-keep and remove unnecessary num-to-keepHEADmaster
Besides aligning to build-discarder ARM job values, it keeps simpler the logic for TF-A CI build-discarder: for most jobs, expect tf-main, the only parameter to consider is days-to-keep and it is adjusted for realistic values (14 instead of 180), reducing job-storage footprint considerably. This patch also fixes the problem observed in current tf-main jobs: last-week tf-main builds pointed to non-existent tf-ci-gateway jobs because the num-to-keep limit reached first than days-to-keep, so these jobs were deleted which is an unwanted behavior. Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I65a404d6994b498abafcc1ae5896ce96df49736c
Diffstat (limited to 'tf-static-checks.yaml')
-rw-r--r--tf-static-checks.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tf-static-checks.yaml b/tf-static-checks.yaml
index 1f39b24..f261d28 100644
--- a/tf-static-checks.yaml
+++ b/tf-static-checks.yaml
@@ -34,7 +34,7 @@
description: Run static checks on Git repository
properties:
- build-discarder:
- days-to-keep: 7
+ days-to-keep: 14
- authorization:
!include: authorization.yaml.inc
parameters: