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

[kubeapps-apis] Add buf lint in dockerfile #3026

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

antgamdia
Copy link
Contributor

Description of the change

This PR adds the buf lint command in the Dockerfile. To do so, it installs the buf binary and then install the go deps, this way, we have fetched all the required deps before running the lint command.

Benefits

We will detect errors at build time (and, therefore, the CI will eject if a build error is thrown)

Possible drawbacks

N/A

Applicable issues

Additional information

N/A

@antgamdia antgamdia changed the title Add buf lint in dockerfile [kubeapps-apis] Add buf lint in dockerfile Jun 22, 2021
Copy link
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

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

LGTM

@antgamdia
Copy link
Contributor Author

Great! Merging as all the checks have passed (but one of them hasn't been reported back)

@antgamdia antgamdia merged commit 0240c96 into vmware-tanzu:master Jun 23, 2021
@antgamdia antgamdia deleted the addBufLintDockerfile branch June 23, 2021 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run buf lint in dockerfile
2 participants