-
Notifications
You must be signed in to change notification settings - Fork 78
noqe: operator-registry QoL improvements #362
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
noqe: operator-registry QoL improvements #362
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: perdasilva The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
since no features or bug fixes are being introduced in this PR, qe approval is not needed |
c1579cc to
328f240
Compare
|
/retest |
|
/lgtm |
328f240 to
b19b919
Compare
|
test /e2e-gcp-console-olm |
|
/retest |
1 similar comment
|
/retest |
) This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The directory created by `t.TempDir` is automatically removed when the test and all its subtests complete. Prior to this commit, temporary directory created using `ioutil.TempDir` needs to be removed manually by calling `os.RemoveAll`, which is omitted in some tests. The error handling boilerplate e.g. defer func() { if err := os.RemoveAll(dir); err != nil { t.Fatal(err) } } is also tedious, but `t.TempDir` handles this for us nicely. Reference: https://pkg.go.dev/testing#T.TempDir Signed-off-by: Eng Zer Jun <[email protected]> Upstream-commit: 43e43240dd9c32dcb7742e96afb1ab3fd63a9ce2 Upstream-repository: operator-registry
Signed-off-by: timflannagan <[email protected]> Upstream-commit: 732b5722825e085c045b94fbb5ae36dcb8df59c3 Upstream-repository: operator-registry
Signed-off-by: timflannagan <[email protected]> Upstream-commit: 33ed9ea30b4daea03435c2ba3839a6ce79894a75 Upstream-repository: operator-registry
b19b919 to
d32082a
Compare
|
/retest |
1 similar comment
|
/retest |
|
@perdasilva: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
awgreene
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.31.0 to 0.31.1. - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](kubernetes/client-go@v0.31.0...v0.31.1) --- updated-dependencies: - dependency-name: k8s.io/client-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Upstream-repository: api Upstream-commit: 675c8b7273539799c10757eec3932d552914874d
This PR introduces no features of bug fixes. It includes some quality of life improvements to the operator-registry: test and script improvements