Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
e2e: Be explicit about the number of clusters in CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Dec 12, 2019
1 parent a7e0b98 commit 18fde00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- run: make test TEST_FLAGS="-race -tags integration -timeout 5m"
- run: make check-generated
- run: make all
- run: make e2e
- run: E2E_KIND_CLUSTER_NUM=4 make e2e
- run: make test-docs
- save_cache:
key: cache-{{ checksum "Makefile" }}
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ function install_kind() {

# Create multiple Kind clusters and run jobs in parallel?
# Let users specify how many, e.g. with E2E_KIND_CLUSTER_NUM=3 make e2e
if [ -n "$CI" ]; then
# Use four Kind clusters when running the tests in CircleCI
E2E_KIND_CLUSTER_NUM=4
fi
E2E_KIND_CLUSTER_NUM=${E2E_KIND_CLUSTER_NUM:-1}

# Check if there is a kubernetes cluster running, otherwise use Kind
Expand Down

0 comments on commit 18fde00

Please sign in to comment.