forked from vmware-tanzu/velero
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request vmware-tanzu#7353 from kaovilai/e2e-updates
E2E usability updates
- Loading branch information
Showing
20 changed files
with
161 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,10 @@ help: ## Display this help | |
|
||
TOOLS_DIR := $(REPO_ROOT)/hack/tools | ||
BIN_DIR := bin | ||
# Try to not modify PATH if possible | ||
GOBIN := $(REPO_ROOT)/.go/bin | ||
TOOLS_BIN_DIR := $(TOOLS_DIR)/$(BIN_DIR) | ||
GINKGO := $(shell go env GOPATH)/bin/ginkgo | ||
GINKGO := $(GOBIN)/ginkgo | ||
KUSTOMIZE := $(TOOLS_BIN_DIR)/kustomize | ||
OUTPUT_DIR := _output/$(GOOS)/$(GOARCH)/bin | ||
GINKGO_FOCUS ?= | ||
|
@@ -113,9 +115,13 @@ STANDBY_CLUSTER_NAME ?= | |
EKS_POLICY_ARN ?= | ||
|
||
|
||
# Make sure ginkgo is in $GOBIN | ||
.PHONY:ginkgo | ||
ginkgo: # Make sure ginkgo is in $GOPATH/bin | ||
go install github.com/onsi/ginkgo/[email protected] | ||
ginkgo: ${GOBIN}/ginkgo | ||
|
||
# This target does not run if ginkgo is already in $GOBIN | ||
${GOBIN}/ginkgo: | ||
GOBIN=${GOBIN} go install github.com/onsi/ginkgo/[email protected] | ||
|
||
.PHONY: run | ||
run: ginkgo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.