-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cleanup and maintenance #102
Cleanup and maintenance #102
Conversation
849de73
to
e4a2d74
Compare
e4a2d74
to
ba72d61
Compare
Pull Request Test Coverage Report for Build 10789116046Details
💛 - Coveralls |
f6bd8ff
to
44db159
Compare
44db159
to
5615e25
Compare
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.
Thank you for the effort! LGTM apart from a couple small comments
.golangci.yml
Outdated
gocyclo: | ||
min-complexity: 30 | ||
goimports: | ||
local-prefixes: github.com/Mellanox/maintenance-operator |
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.
github.com/Mellanox/ib-kubernetes?
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.
good catch !
pkg/drivers/http/client.go
Outdated
httpClient.Transport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true} | ||
} else { | ||
caCertPool := x509.NewCertPool() | ||
caCertPool.AppendCertsFromPEM([]byte(cert)) | ||
////nolint:gosec |
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.
Does the linter directive work with 4 slashes?
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.
well it works :) but i will stick to 2.
- remove un-needed files - rework makefile (mainly cleanup and usage of go modules and coverage) - compile plugins with coverage flags so test-coverage will work - bump go version - bump golangci-lint version and add linter config - fix lint issues in code Signed-off-by: adrianc <[email protected]>
Signed-off-by: adrianc <[email protected]>
In addition fix image push trigger branch Signed-off-by: adrianc <[email protected]>
Signed-off-by: adrianc <[email protected]>
current base image was failing on arm64 builds. we now use debian for build and distroless for the app. Signed-off-by: adrianc <[email protected]>
5615e25
to
ecda7f3
Compare
@almaslennikov addressed comments. merging this one once CI is green per your and @rollandf LGTMs. |
No description provided.