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

Adds Makefile for common dev tasks #308

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Jul 31, 2023

#305 updates the contribution guidelines based on changes in this PR.

This PR adds a Makefile with the following commands:

  • make build
  • make serve
  • make lint

It also makes it easier to work with the local docs. E.g. we no longer need to ask contributors to go to the Hugo website and follow the instructions to install extended version of hugo: Makefile and bingo do it for them.

A list of prerequisites for local dev will be reduced to:

  • Go
  • Node.js (only for make build)
  • Container runtime such as docker (only for make lint).

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 31, 2023
@m1kola m1kola force-pushed the automation branch 5 times, most recently from 62a73b2 to eaf9efb Compare July 31, 2023 10:40
go-version-file: go.mod
cache-dependency-path: |
**/go.sum
.bingo/**.sum
Copy link
Member Author

@m1kola m1kola Jul 31, 2023

Choose a reason for hiding this comment

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

Need to add this to other repos where we use bingo: this should speed up jobs significantly.

@m1kola m1kola marked this pull request as ready for review July 31, 2023 10:48
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 31, 2023
@m1kola m1kola enabled auto-merge (rebase) July 31, 2023 10:55
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
@grokspawn grokspawn requested a review from ncdc July 31, 2023 14:56
@ncdc
Copy link
Member

ncdc commented Jul 31, 2023

LGTM

@m1kola m1kola merged commit 4ab9551 into operator-framework:master Jul 31, 2023
6 checks passed
@m1kola m1kola deleted the automation branch July 31, 2023 15:25
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.

3 participants