Skip to content

Conversation

@ameukam
Copy link
Member

@ameukam ameukam commented Oct 21, 2025

Use GCS Go SDK to operate the state and discovery buckets

Signed-off-by: Arnaud Meukam [email protected]

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 21, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zetaab for approval. For more information see the Code Review Process.

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

@ameukam
Copy link
Member Author

ameukam commented Oct 21, 2025

/test pull-kops-kubernetes-e2e-ubuntu-gce-build

@ameukam ameukam force-pushed the kubetest2-kops-stop-use-gsutil branch from e474c22 to 5cae033 Compare October 21, 2025 18:18
@ameukam
Copy link
Member Author

ameukam commented Oct 21, 2025

/test pull-kops-kubernetes-e2e-ubuntu-gce-build

@k8s-ci-robot
Copy link
Contributor

@ameukam: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-kops-kubernetes-e2e-ubuntu-gce-build 5cae033 link false /test pull-kops-kubernetes-e2e-ubuntu-gce-build

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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-sigs/prow repository. I understand the commands that are listed here.

Use GCS Go SDK to operate the state and discovery buckets

Signed-off-by: Arnaud Meukam <[email protected]>
Signed-off-by: Arnaud Meukam <[email protected]>
@ameukam ameukam force-pushed the kubetest2-kops-stop-use-gsutil branch from 5cae033 to 8e38ca7 Compare October 22, 2025 12:19
Copy link
Member

@justinsb justinsb left a comment

Choose a reason for hiding this comment

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

Looking good, once this is passing/not-draft I think this is a good change 👍

}
if projectID != "" {
lsArgs = append(lsArgs, "-p", projectID)
// TODO: Detect the GCP region used
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: mark EnsureGCSBucket as deprecated, if you don't want to just add region as an argument to EnsureGCSBucket

}

func EnsureGCSBucketWithRegion(bucketPath, projectID string, region string, public bool) error {
ctx := context.Background()
Copy link
Member

Choose a reason for hiding this comment

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

Nit: if I'm adding arguments I would probably add ctx as an argument while I'm here

}
if projectID != "" {
mbArgs = append(mbArgs, "-p", projectID)
// If error is not "bucket doesn't exist", return error
Copy link
Member

Choose a reason for hiding this comment

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

👍

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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. 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.

4 participants