From 16ada6d8e71040adbece04a622b34bd4cd67a53c Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Thu, 25 Jan 2024 11:26:16 +0000 Subject: [PATCH] Rename run-troubleshoot to run-support-bundle --- CONTRIBUTING.md | 2 +- Makefile | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af948adcd..fb4ea73d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ To get started we recommend: 2. A Kubernetes cluster (we recommend . 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` diff --git a/Makefile b/Makefile index b4569e9e2..1b69ec24b 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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 ..