diff --git a/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.8.gen.yaml b/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.8.gen.yaml index acd188a115f..1cdecbac2e7 100644 --- a/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.8.gen.yaml +++ b/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.8.gen.yaml @@ -2406,4 +2406,5 @@ presubmits: name: build-cache - name: github secret: + optional: true secretName: oauth-token diff --git a/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.9.gen.yaml b/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.9.gen.yaml index de72892f263..24b18ec04d4 100644 --- a/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.9.gen.yaml +++ b/prow/cluster/jobs/istio-private/istio/istio-private.istio.release-1.9.gen.yaml @@ -2165,4 +2165,5 @@ presubmits: name: build-cache - name: github secret: + optional: true secretName: oauth-token diff --git a/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.master.gen.yaml b/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.master.gen.yaml index a787aaa916d..29c1019eee8 100644 --- a/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.master.gen.yaml +++ b/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.master.gen.yaml @@ -165,6 +165,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token presubmits: istio-private/release-builder: diff --git a/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.8.gen.yaml b/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.8.gen.yaml index eed8f148115..8f416a22876 100644 --- a/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.8.gen.yaml +++ b/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.8.gen.yaml @@ -165,6 +165,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token presubmits: istio-private/release-builder: diff --git a/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.9.gen.yaml b/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.9.gen.yaml index 196457aa42d..536124607cd 100644 --- a/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.9.gen.yaml +++ b/prow/cluster/jobs/istio-private/release-builder/istio-private.release-builder.release-1.9.gen.yaml @@ -165,6 +165,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token presubmits: istio-private/release-builder: diff --git a/prow/cluster/jobs/istio/istio/istio.istio.release-1.10.gen.yaml b/prow/cluster/jobs/istio/istio/istio.istio.release-1.10.gen.yaml index 0512d57964a..00a3006a5a3 100644 --- a/prow/cluster/jobs/istio/istio/istio.istio.release-1.10.gen.yaml +++ b/prow/cluster/jobs/istio/istio/istio.istio.release-1.10.gen.yaml @@ -1950,4 +1950,5 @@ presubmits: name: build-cache - name: github secret: + optional: true secretName: oauth-token diff --git a/prow/cluster/jobs/istio/istio/istio.istio.release-1.8.gen.yaml b/prow/cluster/jobs/istio/istio/istio.istio.release-1.8.gen.yaml index ea69114d6cf..568c813a2b7 100644 --- a/prow/cluster/jobs/istio/istio/istio.istio.release-1.8.gen.yaml +++ b/prow/cluster/jobs/istio/istio/istio.istio.release-1.8.gen.yaml @@ -2168,4 +2168,5 @@ presubmits: name: build-cache - name: github secret: + optional: true secretName: oauth-token diff --git a/prow/cluster/jobs/istio/istio/istio.istio.release-1.9.gen.yaml b/prow/cluster/jobs/istio/istio/istio.istio.release-1.9.gen.yaml index 17a584ddf37..f8e5c9db01f 100644 --- a/prow/cluster/jobs/istio/istio/istio.istio.release-1.9.gen.yaml +++ b/prow/cluster/jobs/istio/istio/istio.istio.release-1.9.gen.yaml @@ -1951,4 +1951,5 @@ presubmits: name: build-cache - name: github secret: + optional: true secretName: oauth-token diff --git a/prow/cluster/jobs/istio/release-builder/istio.release-builder.master.gen.yaml b/prow/cluster/jobs/istio/release-builder/istio.release-builder.master.gen.yaml index a65913dca18..1fcb4ca3a7a 100644 --- a/prow/cluster/jobs/istio/release-builder/istio.release-builder.master.gen.yaml +++ b/prow/cluster/jobs/istio/release-builder/istio.release-builder.master.gen.yaml @@ -200,6 +200,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token - annotations: testgrid-alert-email: istio-oncall@googlegroups.com diff --git a/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.10.gen.yaml b/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.10.gen.yaml index 7cd0716551c..d8f87d5ac2b 100644 --- a/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.10.gen.yaml +++ b/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.10.gen.yaml @@ -200,6 +200,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token - annotations: testgrid-alert-email: istio-oncall@googlegroups.com diff --git a/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.8.gen.yaml b/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.8.gen.yaml index 4c38fe99b52..8b4615c9c1e 100644 --- a/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.8.gen.yaml +++ b/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.8.gen.yaml @@ -200,6 +200,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token - annotations: testgrid-alert-email: istio-oncall@googlegroups.com diff --git a/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.9.gen.yaml b/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.9.gen.yaml index f56a21ce26c..8bf60defc57 100644 --- a/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.9.gen.yaml +++ b/prow/cluster/jobs/istio/release-builder/istio.release-builder.release-1.9.gen.yaml @@ -200,6 +200,7 @@ postsubmits: name: docker-root - name: github secret: + optional: true secretName: oauth-token - annotations: testgrid-alert-email: istio-oncall@googlegroups.com diff --git a/prow/config/jobs/.global.yaml b/prow/config/jobs/.global.yaml index 52d8509c089..2c0dd0d70c2 100644 --- a/prow/config/jobs/.global.yaml +++ b/prow/config/jobs/.global.yaml @@ -79,6 +79,16 @@ requirement_presets: - name: github secret: secretName: oauth-token + github-optional: + volumeMounts: + - mountPath: /etc/github-token + name: github + readOnly: true + volumes: + - name: github + secret: + secretName: oauth-token + optional: true release: labels: preset-release-pipeline: "true" diff --git a/prow/config/jobs/istio-1.10.yaml b/prow/config/jobs/istio-1.10.yaml index 905c640e663..ee18605731a 100644 --- a/prow/config/jobs/istio-1.10.yaml +++ b/prow/config/jobs/istio-1.10.yaml @@ -440,7 +440,7 @@ jobs: - istio/tools@master requirements: - cache - - github + - github-optional - gocache types: - presubmit diff --git a/prow/config/jobs/istio-1.8.yaml b/prow/config/jobs/istio-1.8.yaml index ba062b7be54..26a7329ead8 100644 --- a/prow/config/jobs/istio-1.8.yaml +++ b/prow/config/jobs/istio-1.8.yaml @@ -333,7 +333,7 @@ jobs: - istio/test-infra@master - istio/tools@master requirements: - - github + - github-optional types: [presubmit] org: istio repo: istio diff --git a/prow/config/jobs/istio-1.9.yaml b/prow/config/jobs/istio-1.9.yaml index 1a084b8bf66..7180be45973 100644 --- a/prow/config/jobs/istio-1.9.yaml +++ b/prow/config/jobs/istio-1.9.yaml @@ -326,7 +326,7 @@ jobs: - istio/test-infra@master - istio/tools@master requirements: - - github + - github-optional types: - presubmit org: istio diff --git a/prow/config/jobs/release-builder-1.10.yaml b/prow/config/jobs/release-builder-1.10.yaml index 7c872b487d3..0acdb13db5a 100644 --- a/prow/config/jobs/release-builder-1.10.yaml +++ b/prow/config/jobs/release-builder-1.10.yaml @@ -73,7 +73,7 @@ jobs: - cache - release - docker - - github + - github-optional resources: build types: - postsubmit diff --git a/prow/config/jobs/release-builder-1.8.yaml b/prow/config/jobs/release-builder-1.8.yaml index 44044e21a75..fb8816eb64e 100644 --- a/prow/config/jobs/release-builder-1.8.yaml +++ b/prow/config/jobs/release-builder-1.8.yaml @@ -45,7 +45,7 @@ jobs: requirements: - release - docker - - github + - github-optional resources: build types: [postsubmit] - command: diff --git a/prow/config/jobs/release-builder-1.9.yaml b/prow/config/jobs/release-builder-1.9.yaml index 02559de4d71..85e8faeb33c 100644 --- a/prow/config/jobs/release-builder-1.9.yaml +++ b/prow/config/jobs/release-builder-1.9.yaml @@ -47,7 +47,7 @@ jobs: requirements: - release - docker - - github + - github-optional resources: build types: - postsubmit diff --git a/prow/config/jobs/release-builder.yaml b/prow/config/jobs/release-builder.yaml index 74b5aa0cfc8..0bcb6aac884 100644 --- a/prow/config/jobs/release-builder.yaml +++ b/prow/config/jobs/release-builder.yaml @@ -35,7 +35,7 @@ jobs: types: [postsubmit] regex: '^release/trigger-build$' command: [entrypoint, release/build.sh] - requirements: [release, docker, github] + requirements: [release, docker, github-optional] resources: build - name: publish-release