Skip to content

Conversation

justinsb
Copy link
Member

@justinsb justinsb commented May 2, 2025

  • tests: add tests for kubectl get assets

  • fix kops get cluster for files
    We were skipping tasks in kops get assets; but this
    meant we would not discover assets for skipped tasks.

    We are doing a dry-run here, so introduce a dry-run mode that
    does not look for existing resources. That is essentially as fast
    as skipping the task, but means we visit all tasks.

@k8s-ci-robot k8s-ci-robot requested a review from hakman May 2, 2025 19:53
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 2, 2025
@k8s-ci-robot k8s-ci-robot requested a review from zetaab May 2, 2025 19:53
@k8s-ci-robot k8s-ci-robot added area/provider/aws Issues or PRs related to aws provider area/provider/gcp Issues or PRs related to gcp provider size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 2, 2025
We were skipping tasks in `kops get assets`; but this
meant we would not discover assets for skipped tasks.

We are doing a dry-run here, so introduce a dry-run mode that
does not look for existing resources.  That is essentially as fast
as skipping the task, but means we visit all tasks.
@hakman
Copy link
Member

hakman commented May 2, 2025

/retest

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 3, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 3, 2025
@k8s-ci-robot k8s-ci-robot merged commit abdc58d into kubernetes:master May 3, 2025
26 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.32 milestone May 3, 2025
k8s-ci-robot added a commit that referenced this pull request May 3, 2025
…-upstream-release-1.32

Automated cherry pick of #17385: tests: add tests for kubectl get assets
k8s-ci-robot added a commit that referenced this pull request May 3, 2025
…-upstream-release-1.31

Automated cherry pick of #17385: tests: add tests for kubectl get assets
@rifelpet rifelpet modified the milestones: v1.32, v1.33 Jun 23, 2025
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. area/provider/aws Issues or PRs related to aws provider area/provider/gcp Issues or PRs related to gcp provider 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.

4 participants