From 08ef10d3029f7f34f83c9e627447935805002ecf Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 17 May 2017 10:14:02 +0200 Subject: reproducible: DRY the logrotate property Signed-off-by: Mattia Rizzolo Signed-off-by: Holger Levsen --- job-cfg/reproducible.yaml | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index 5be0ab98..6850263a 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -19,7 +19,7 @@ description: &desc '{my_description}
Job configuration source is reproducible.yaml.
Results are available at https://tests.reproducible-builds.org.' triggers: - timed: '{my_timed}' - logrotate: + logrotate: &logrotate daysToKeep: 90 numToKeep: 150 artifactDaysToKeep: -1 @@ -46,11 +46,7 @@ - timed: '{my_timed}' - pollscm: cron: '{my_scmpoll}' - logrotate: - daysToKeep: 90 - numToKeep: 150 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + logrotate: *logrotate builders: - shell: '{my_shell}' publishers: @@ -111,11 +107,7 @@ properties: *sidebar triggers: - timed: '{my_timed}' - logrotate: - daysToKeep: 90 - numToKeep: 150 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + logrotate: *logrotate builders: - shell: '{my_shell}' publishers: @@ -138,11 +130,7 @@ - timed: '{my_timed}' - pollscm: cron: '*/6 * * * *' - logrotate: - daysToKeep: 90 - numToKeep: 150 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + logrotate: *logrotate builders: - shell: '{my_shell}' publishers: @@ -173,11 +161,7 @@ properties: *sidebar triggers: - timed: '{my_timed}' - logrotate: - daysToKeep: 90 - numToKeep: 150 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + logrotate: *logrotate builders: - shell: '{my_shell}' publishers: @@ -200,11 +184,7 @@ properties: *sidebar triggers: - timed: '{my_timed}' - logrotate: - daysToKeep: 90 - numToKeep: 150 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + logrotate: *logrotate builders: - shell: '{my_shell}' publishers: -- cgit v1.2.3-70-g09d2