Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

lint: Switch golang linter to golangci-lint#155

Merged
devimc merged 1 commit intokata-containers:masterfrom
ganeshmaharaj:go-linter-change
Mar 25, 2019
Merged

lint: Switch golang linter to golangci-lint#155
devimc merged 1 commit intokata-containers:masterfrom
ganeshmaharaj:go-linter-change

Conversation

@ganeshmaharaj
Copy link

@ganeshmaharaj ganeshmaharaj commented Mar 19, 2019

gometalinter is deprecated and will be archived April '19. The
suggestion is to switch to golangci-lint which is apparently 5x faster
than gometalinter.

Partially fixes: github.com/kata-containers/runtime#1377

@ganeshmaharaj ganeshmaharaj force-pushed the go-linter-change branch 3 times, most recently from 03f78b9 to 13f95e3 Compare March 20, 2019 05:14
gometalinter is deprecated and will be archived April '19. The
suggestion is to switch to golangci-lint which is apparently 5x faster
than gometalinter.

Fixes kata-containers#156

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
@ganeshmaharaj
Copy link
Author

@grahamwhaley the build error says the node was unavailable https://zuul.opendev.org/t/kata-containers/builds?pipeline=PR-check&change=155 Is there a way we can make this check optional?

@grahamwhaley
Copy link
Contributor

Hi @ganeshmaharaj - the check is a WIP (we tend to use the proxy repo for such WIPs, as it is generally the least active repo ;-) ). The check is not marked as 'required', so we can still merge without a real administrator 'force' - just ignore the results of the PR-check for now. See #154 (comment) for more details.
Hey, if you want to help fix that.... then the zuul config repo for kata is over at https://git.openstack.org/cgit/kata-containers/zuul-config/tree/ ;-)

@ganeshmaharaj
Copy link
Author

@grahamwhaley gotcha. yes should be able to look at things, once i am done with some of the things that i am doing.

@ganeshmaharaj
Copy link
Author

/test

@ganeshmaharaj
Copy link
Author

@devimc @chavafg should we ignore the failures here too? they all seem to fit the pattern of the builds that we know have a history of failures.

@chavafg
Copy link
Contributor

chavafg commented Mar 21, 2019

There was a network timeout and a timeout building a docker image... have sent rebuild.
Power8 and metrics are unstable right now.

Copy link
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

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

as you know, I'd like to see what the error was that is being fixed, but, given I believe you did the right thing ;-)
lgtm
I've re-nudged the 18.04-initrd CI, as that should not fail, but I suspect it is spurious and unrelated to this PR - we can probably ignore it if it fails again (given many of the other CIs are quite happy with this change).

@ganeshmaharaj
Copy link
Author

can this patch be merged?

@devimc devimc merged commit e2b4377 into kata-containers:master Mar 25, 2019
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-proxy that referenced this pull request Apr 17, 2019
…nter-change

lint: Switch golang linter to golangci-lint
(cherry picked from commit e2b4377)

Fixes kata-containers#156

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
katacontainersbot pushed a commit to katacontainersbot/proxy that referenced this pull request Apr 17, 2019
- backport: 1.6.2 backport patches

785467b lint: Merge pull request kata-containers#155 from ganeshmaharaj/go-linter-change
cd6b560 travis: Merge pull request kata-containers#169 from chavafg/topic/travis-go-version
4355384 docs: Merge pull request kata-containers#172 from jcvenegas/stable-1.5-fix-link

Signed-off-by: katacontainers bot <katacontainersbot@katacontainers.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants