make build-all # Build all tools
make test-all # Run all tests
make vet-all # Run go vet on all toolsCentral repository for storing tools and automation used by the ROSA HCP Platform team.
Clone the repository:
git clone https://github.com/openshift-online/rosa-hcp-platform-tools.git
cd rosa-hcp-platform-toolsEach tool under tools/ is a standalone Go module. Build individual tools:
cd tools/<tool-name>
go build .Or build all tools at once:
make build-allEach tool has its own usage. Navigate to the specific tool directory and run:
cd tools/<tool-name>
./<tool-name> --helpSee individual tool README files under tools/ for detailed usage.
make build-all # Build all tools
make test-all # Test all tools
make vet-all # Run go vet on all tools
make lint-shell-all # Lint all shell scripts- Create a new directory under
tools/ - Initialize a Go module:
go mod init - Implement the tool
- Update the Makefile targets if needed
- Submit a pull request