From e38be0576de6ae5a7ffbb445852c535937c7c412 Mon Sep 17 00:00:00 2001 From: Lai Jiang Date: Tue, 22 Jun 2021 13:51:26 -0400 Subject: [PATCH] Fix a GCB job description (#1215) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change is [Reviewable](https://reviewable.io/reviews/google/nomulus/1215) --- release/cloudbuild-delete.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/release/cloudbuild-delete.yaml b/release/cloudbuild-delete.yaml index 280f3e721..de6ef3976 100644 --- a/release/cloudbuild-delete.yaml +++ b/release/cloudbuild-delete.yaml @@ -20,9 +20,10 @@ # them for safe pattern matching during release. # See https://github.com/spinnaker/spinnaker/issues/3028 for more information. steps: -# Deploy the GAE config files. -# First authorize the gcloud tool to use the credential json file, then -# download and unzip the tarball that contains the relevant config files +# Delete unused GAE versions. +# GAE has a limit of ~250 versions per-project, including unused versions. We +# therefore need to periodically delete old versions. This GCB job finds all +# stopped versions and delete all but the last 3 (in case we need to rollback). - name: 'gcr.io/$PROJECT_ID/builder:latest' entrypoint: /bin/bash args: