Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra/gcp/release: redo kubernetes ci buckets #2333

Merged
merged 2 commits into from
Jul 14, 2021

Conversation

spiffxp
Copy link
Member

@spiffxp spiffxp commented Jul 13, 2021

This refactors but also adds a few things:

  • pull the previous loop body into ensure_kubernetes_ci_gcs_bucket
  • unroll the loop / remove the array since most of these may go away
  • add write access for pr-kubekins (the service account used by google.com-owned k8s-prow and k8s-prow-builds) to allow jobs running there to write here; facilitates migration away from gs://kubernetes-release-dev (full context for this: use gs://k8s-release-dev for kubernetes CI builds test-infra#22840 (comment))
  • add gcs access logging for all kubernetes ci buckets to help identify what pr-kubekins is being used to write
  • add admin access for [email protected] for parity with gs://kubernetes-release-dev

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. wg/k8s-infra labels Jul 13, 2021
@k8s-ci-robot k8s-ci-robot requested review from nikhita and thockin July 13, 2021 22:18
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 13, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Jul 13, 2021

ref: #2318

This refactors but also adds a few things:

- pull the previous loop body into ensure_kubernetes_ci_gcs_bucket
- unroll the loop / remove the array since most of these may go away
- add write access for pr-kubekins (the service account used by
  google.com-owned k8s-prow and k8s-prow-builds) to allow jobs running
  there to write here; facilitates migration away from
  gs://kubernetes-release-dev
- add gcs access logging for all kubernetes ci buckets to help identify
  what pr-kubekins is being used to write
- add admin access for [email protected] for parity
  with gs://kubernetes-release-dev
@spiffxp spiffxp force-pushed the redo-kubernetes-ci-buckets branch from 527b27b to eb0a515 Compare July 13, 2021 23:19
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 13, 2021
@spiffxp
Copy link
Member Author

spiffxp commented Jul 13, 2021

FYI @kubernetes/release-engineering
/cc @cpanato @puerco @jeremyrickard @hasheddan

@spiffxp
Copy link
Member Author

spiffxp commented Jul 13, 2021

/uncc @nikhita
/cc @ameukam

@k8s-ci-robot k8s-ci-robot requested review from ameukam and removed request for nikhita July 13, 2021 23:23
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 14, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justaugustus, spiffxp

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 3d2e8f2 into kubernetes:main Jul 14, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Jul 14, 2021
@spiffxp spiffxp deleted the redo-kubernetes-ci-buckets branch July 14, 2021 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants