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

🌱 Capi 1.7.4 and other cleanup #781

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

cprivitere
Copy link
Member

What this PR does / why we need it:

  • Bump golang builders to 1.22
  • Bump capi to 1.7.4
  • remove leftover testify assert and replace with ginkgo assert
  • bump equinix-sdk-go to 0.42.0

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
* Bump capi to 1.7.4
* remove leftover testify assert and replace with ginkgo assert
* bump equinix-sdk-go to 0.42.0

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 10, 2024
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 10, 2024
@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 10, 2024
@cprivitere cprivitere marked this pull request as ready for review July 10, 2024 19:22
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 10, 2024
@k8s-ci-robot k8s-ci-robot requested a review from deitch July 10, 2024 19:22
Copy link
Member

@displague displague left a comment

Choose a reason for hiding this comment

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

/lgtm

assert.Equal(t, "sample_token", token.AccessToken)
assert.Equal(t, time.Now().Add(time.Hour).Round(time.Second), token.Expiry.Round(time.Second))
g.Expect(token.AccessToken).To(Equal("sample_token"))
g.Expect(token.Expiry.Round(time.Second)).To(Equal(time.Now().Add(time.Hour).Round(time.Second)))
Copy link
Member

Choose a reason for hiding this comment

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

Curious if rounding to minute would alleviate some flakes (wondering how many ticks happen between the token being generated and compared and whether IO (network) is involved)

Code is unchanged, so this is just a nitpic

Copy link
Member Author

Choose a reason for hiding this comment

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

It's a unit test against a mock http server, so probably not a big risk, but still a good point.

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cprivitere, displague

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:
  • OWNERS [cprivitere,displague]

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 c9867b5 into kubernetes-sigs:main Jul 10, 2024
5 checks passed
@cprivitere cprivitere deleted the capi-1.7.4 branch July 10, 2024 19:40
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants