kubernetes / test-infra

Test infrastructure for the Kubernetes project.
Apache License 2.0
3.82k stars 2.64k forks source link

Onboard test-infra buckets to notification-based updates for TestGrid #33386

Open michelle192837 opened 2 weeks ago

michelle192837 commented 2 weeks ago

TestGrid config (in GCP/testgrid, e.g. https://github.com/GoogleCloudPlatform/testgrid/blob/main/cluster/prod/updater.yaml#L46) allows listing buckets to subscribe to notifications for. When objects update in those buckets, TestGrid can queue up the related group(s) to update, instead of purely relying on a poll-based update cycle.

There's subscriptions for a few buckets at the moment, but especially in light of changing the main logs bucket for test-infra (https://github.com/kubernetes/test-infra/issues/33381), I should add additional buckets to the flags in updater.

(Later these should be automatically determined in the Updater, but we need to handle enabling notifications + permissions first).

michelle192837 commented 2 weeks ago

/sig testing