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

Grant kubernetes-release-test GCB write on k8s-staging-kubernetes GCR #673

Closed
wants to merge 1 commit into from

Conversation

justaugustus
Copy link
Member

@justaugustus justaugustus commented Mar 19, 2020

Grant the kubernetes-release-test Cloud Build account write access to
the container artifacts GCS location for k8s-staging-kubernetes
(gs://artifacts.k8s-staging-kubernetes.appspot.com).

This currently is a requirement as a domain restriction organization
policy is in place on the Google Infra projects, which prevents us from
completely moving staging to K8s Infra until dl.k8s.io is moved as well.

Signed-off-by: Stephen Augustus saugustus@vmware.com

/assign @thockin @dims @cblecker
cc: @tpepper @kubernetes/release-engineering
ref: kubernetes/release#1199, kubernetes/release#270, kubernetes/release#911, kubernetes/release#1176

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 19, 2020
@k8s-ci-robot k8s-ci-robot requested review from dims and mikedanese March 19, 2020 20:58
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: justaugustus
To complete the pull request process, please assign cblecker
You can assign the PR to them by writing /assign @cblecker in a comment when ready.

The full list of commands accepted by this bot can be found 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

Copy link
Contributor

@listx listx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits

@@ -80,6 +80,8 @@ RELEASE_STAGING_PROJECTS=(
releng
)

RELEASE_OLD_STAGING_CLOUDBUILD_ACCOUNT="648026197307@cloudbuild.gserviceaccount.com"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: move "OLD" to the front

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, maybe comment this to say that this is the GCB build account for the 'kubernetes-release-test' project, to line up with the comments in line 195.

# completely moving staging to K8s Infra until dl.k8s.io is moved as well.
#
# ref: https://github.com/kubernetes/release/issues/1176
if [[ $PROJECT == "k8s-staging-kubernetes" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: "${PROJECT}" for consistency

@justaugustus
Copy link
Member Author

@listx -- Fixed!

# completely moving staging to K8s Infra until dl.k8s.io is moved as well.
#
# ref: https://github.com/kubernetes/release/issues/1176
if [[ ${PROJECT} == "k8s-staging-kubernetes" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Micro-nit: "${PROJECT}" with quotes

/lgtm

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@listx -- Fixed :)

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 19, 2020
Grant the 'kubernetes-release-test' Cloud Build account write access to
the container artifacts GCS location for 'k8s-staging-kubernetes'
('gs://artifacts.k8s-staging-kubernetes.appspot.com').

This currently is a requirement as a domain restriction organization
policy is in place on the Google Infra projects, which prevents us from
completely moving staging to K8s Infra until dl.k8s.io is moved as well.

ref: kubernetes/release#1176

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 19, 2020
@listx
Copy link
Contributor

listx commented Mar 19, 2020

/lgtm

@thockin PTAL

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 19, 2020
@justaugustus
Copy link
Member Author

Superseded by #675.
/close

@k8s-ci-robot
Copy link
Contributor

@justaugustus: Closed this PR.

In response to this:

Superseded by #675.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants