From d6dcf2d621e61bc18d3fbf8c48855f79cff29ff9 Mon Sep 17 00:00:00 2001 From: Francois Andrieu Date: Sat, 4 Nov 2023 12:45:04 +0100 Subject: [PATCH] websites: set build policy to LatestOnly --- roles/openshift-apps/websites/templates/buildconfig.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/openshift-apps/websites/templates/buildconfig.yml b/roles/openshift-apps/websites/templates/buildconfig.yml index fe5cef4308..077df6fb50 100644 --- a/roles/openshift-apps/websites/templates/buildconfig.yml +++ b/roles/openshift-apps/websites/templates/buildconfig.yml @@ -5,6 +5,7 @@ metadata: labels: environment: "websites" spec: + runPolicy: SerialLatestOnly failedBuildsHistoryLimit: 2 successfulBuildsHistoryLimit: 1 source: