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

Makefile updates to install build tools #154

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

lukeatdell
Copy link
Contributor

@lukeatdell lukeatdell commented Aug 14, 2024

Description

Repo maintenance to update methods for installing build tools, controller-gen and kustomize as the former method is no longer supported.

  • Updated the tools Makefile recipe to install controller-gen and kustomize tools using "go install".
  • Remove tools.go in favor of install method above.
  • Remove module dependency from go.mod for controller-gen and kustomize.
  • Updated compilation Makefile recipes to add the build prefix for consistency across CSM repos.
  • Added build recipe in Makefile to build all CSM Replication binaries and to be consistent with Makefiles across CSM repos.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1422

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Ran unit tests and built binaries

Unit tests

image
image
image

Binaries

image

- install controller-gen and kustomize tools using "go install".
- remove tools.go in favor of install method above.
- remove module dependency from go.mod for controller-gen and kustomize.
- compilation recipes have "build" prefix.
- added "build" recipe to compile all binaries for replication.
- updated readme to reflect above changes.
@santhoshatdell
Copy link
Contributor

@lukeatdell There are lint errors reported. Please check.

@lukeatdell lukeatdell merged commit 2dd4e81 into main Aug 15, 2024
8 checks passed
@lukeatdell lukeatdell deleted the usr/luke-lau/krv-26950-readme-update branch August 15, 2024 13:20
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