We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc5b149 + a406279 commit ed671b6Copy full SHA for ed671b6
infra/gcp/ensure-prod-storage.sh
@@ -402,6 +402,14 @@ color 6 "Handling special cases"
402
empower_service_account_for_cip_vuln_scanning \
403
"$(svc_acct_email "${PROD_PROJECT}" "${VULN_DASHBOARD_SVCACCT}")" \
404
"${PROD_PROJECT}"
405
+
406
+ # Special case: don't use retention on vulnerability dashboard bucket
407
+ # 'ci-release-vulndash-update' runs periodically in Prow and
408
+ # requires access to overwrite the dashboard's html.
409
+ # This should maybe one day be wired up as a Netlify site, but
410
+ # one step at a time!
411
+ color 6 "Removing retention on the ${PROD_PROJECT}-vuln-dashboard bucket"
412
+ gsutil retention clear "gs://${PROD_PROJECT}-vuln-dashboard"
413
) 2>&1 | indent
414
415
color 6 "Done"
0 commit comments