Skip to content

Commit

Permalink
Rename run-troubleshoot to run-support-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
banjoh committed Jan 25, 2024
1 parent d426c88 commit 16ada6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To get started we recommend:
2. A Kubernetes cluster (we recommend <https://k3d.io/>. This requires Docker v20.10.5 or later)
3. Fork and clone repo
4. Run `make clean build` to generate binaries
5. Run `make run-troubleshoot` to generate a support bundle with the `sample-troubleshoot.yaml` in the root of the repo
5. Run `make run-support-bundle` to generate a support bundle with the `sample-troubleshoot.yaml` in the root of the repo

> Note: recent versions of Go support easy cross-compilation. For example, to cross-compile a Linux binary from MacOS:
> `GOOS=linux GOARCH=amd64 make clean build`
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ local-release:
run-preflight: bin/preflight
./bin/preflight ./examples/preflight/sample-preflight.yaml

.PHONY: run-troubleshoot
run-troubleshoot: bin/support-bundle
.PHONY: run-support-bundle
run-support-bundle: bin/support-bundle
./bin/support-bundle ./examples/support-bundle/sample-supportbundle.yaml

.PHONY: run-analyze
Expand Down Expand Up @@ -265,6 +265,9 @@ analyze: clean bin/analyze
.PHONY: collect
collect: clean bin/collect

.PHONY: run-troubleshoot
run-troubleshoot: run-support-bundle

longhorn:
git clone https://github.com/longhorn/longhorn-manager.git
cd longhorn-manager && git checkout v1.2.2 && cd ..
Expand Down

0 comments on commit 16ada6d

Please sign in to comment.