Fix a GCB job description (#1215)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1215)
<!-- Reviewable:end -->
This commit is contained in:
Lai Jiang 2021-06-22 13:51:26 -04:00 committed by GitHub
parent e4e7c5ead2
commit e38be0576d

View file

@ -20,9 +20,10 @@
# them for safe pattern matching during release. # them for safe pattern matching during release.
# See https://github.com/spinnaker/spinnaker/issues/3028 for more information. # See https://github.com/spinnaker/spinnaker/issues/3028 for more information.
steps: steps:
# Deploy the GAE config files. # Delete unused GAE versions.
# First authorize the gcloud tool to use the credential json file, then # GAE has a limit of ~250 versions per-project, including unused versions. We
# download and unzip the tarball that contains the relevant config files # 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' - name: 'gcr.io/$PROJECT_ID/builder:latest'
entrypoint: /bin/bash entrypoint: /bin/bash
args: args: