Skip to content

Commit

Permalink
docs: update readme to reflect new v1beta1 API changes (Azure#612)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Zhang <[email protected]>
  • Loading branch information
Arvindthiru and ryanzhang-oss authored Nov 15, 2023
1 parent 12d27bb commit 2aec89c
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 449 deletions.
15 changes: 9 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ HUB_SERVER_URL ?= https://172.19.0.2:6443

HUB_KIND_CLUSTER_NAME = hub-testing
MEMBER_KIND_CLUSTER_NAME = member-testing
MEMBER_CLUSTER_COUNT ?= 3

# Directories
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
Expand Down Expand Up @@ -144,9 +145,7 @@ integration-test: $(ENVTEST) ## Run tests.
ginkgo -v -p --race --cover --coverpkg=./pkg/scheduler/... ./test/scheduler && \
go test ./test/integration/... -coverpkg=./... -race -coverprofile=it-coverage.xml -v

## e2e tests

# Note that these targets are only used for E2E tests of the v1alpha1 API.
## local tests & e2e tests

install-hub-agent-helm:
kind export kubeconfig --name $(HUB_KIND_CLUSTER_NAME)
Expand Down Expand Up @@ -201,8 +200,12 @@ install-helm: load-hub-docker-image load-member-docker-image install-member-age
e2e-tests-v1alpha1: create-kind-cluster run-e2e-v1alpha1

.PHONY: e2e-tests
e2e-tests:
cd ./test/e2e && chmod +x ./setup.sh && ./setup.sh && ginkgo -v -p .
e2e-tests: setup-clusters
cd ./test/e2e && ginkgo -v -p .

.PHONY: setup-clusters
setup-clusters:
cd ./test/e2e && chmod +x ./setup.sh && ./setup.sh $(MEMBER_CLUSTER_COUNT)

## reviewable
.PHONY: reviewable
Expand Down Expand Up @@ -326,4 +329,4 @@ clean-e2e-tests-v1alpha1:

.PHONY: clean-e2e-tests
clean-e2e-tests:
cd ./test/e2e && chmod +x ./stop.sh && ./stop.sh
cd ./test/e2e && chmod +x ./stop.sh && ./stop.sh $(MEMBER_CLUSTER_COUNT)
Loading

0 comments on commit 2aec89c

Please sign in to comment.