From b2c7426bfac87ba2fa5c76a3592ada8689a37513 Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Mon, 16 Aug 2021 11:24:40 -0700 Subject: [PATCH 1/2] triage: fix k8s-gubernator triage redirect --- triage/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/triage/Makefile b/triage/Makefile index 9b1304ecdee9..c57fc64dcbb5 100644 --- a/triage/Makefile +++ b/triage/Makefile @@ -17,17 +17,19 @@ push: STATIC_FILES=index.html interactive.js model.js render.js style.css +# these need to be run by k8s-infra-prow or community members with access to the kubernetes.io GCP org push-static: gsutil -h 'Cache-Control: no-store, must-revalidate' -m cp $(STATIC_FILES) gs://k8s-triage/ push-staging: gsutil -h 'Cache-Control: no-store, must-revalidate' -m cp $(STATIC_FILES) gs://k8s-triage/staging/ +# these need to be run by k8s-prow or googlers with access to the google.com GCP org redirect-static: - gsutil -h 'Cache-Control: no-store, must-revalidate' -m cp redirect/index.html gs://k8s-gubernator/triage/ + gsutil -h 'Cache-Control: no-store, must-revalidate' -m cp -a public-read redirect/index.html gs://k8s-gubernator/triage/ redirect-staging: - gsutil -h 'Cache-Control: no-store, must-revalidate' -m cp redirect/index.html gs://k8s-gubernator/triage/staging/ + gsutil -h 'Cache-Control: no-store, must-revalidate' -m cp -a public-read redirect/index.html gs://k8s-gubernator/triage/staging/ .PHONY: all push push-static push-staging redirect-static redirect-staging From 63deda7f3b80e818d8d0b0b100456e2cf86fcf3c Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Mon, 16 Aug 2021 11:26:22 -0700 Subject: [PATCH 2/2] config/jobs: triage redirect-* targets are manual --- .../kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-test-infra.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-test-infra.yaml b/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-test-infra.yaml index 2aadda909b14..609f7a4b919d 100644 --- a/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-test-infra.yaml +++ b/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-test-infra.yaml @@ -17,7 +17,6 @@ postsubmits: - -C - ./triage/ - push-static - - redirect-static resources: requests: memory: "1Gi"