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

Revendor test tooling + Lint fix. #4863

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

cevich
Copy link
Member

@cevich cevich commented Jun 12, 2023

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

This is a fork of #4772 which only does the golangci-lint and tooling revendor. There's also a small lint fix for a tar package. The intent is to see if not including an OS update (as in #4772) will result in a smoother CI outcome.

How to verify it

CI will pass

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

Golangci-lint < v1.51.1 can't work on systems with golang 1.20.
Updating to 1.51.2 then has dependent modules that require a minimum of
golang 1.17, requiring a re-vendoring of tooling.

Signed-off-by: Chris Evich <cevich@redhat.com>
Fixes golangci-lint message:

`tar.TypeRegA has been deprecated since Go 1.11 and an alternative has
been available since Go 1.1: Use TypeReg instead.`

Signed-off-by: Chris Evich <cevich@redhat.com>
@openshift-ci openshift-ci bot added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Jun 12, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cevich

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

@cevich
Copy link
Member Author

cevich commented Jun 12, 2023

@rhatdan PTAL. I'm surprised it passed. If this can be merged, it will simplify the changes in #4772 to just the image update.

@cevich
Copy link
Member Author

cevich commented Jun 12, 2023

(@mtrmac thanks for the suggestion)

Copy link
Collaborator

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 12, 2023
@openshift-merge-robot openshift-merge-robot merged commit 161b04b into containers:main Jun 12, 2023
32 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants