-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate the docker infrastructure-components.yaml using kustomize.
Added a README.md with instructions to run tests. Minor changes to delete and move tests based on feedback.
- Loading branch information
1 parent
5df11f0
commit 5531675
Showing
6 changed files
with
77 additions
and
572 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Running the tests | ||
|
||
Currently, overrides are needed for the cluster-api, kubeadm-bootstrap and kubeadm-control-plane providers. The override for the infra provider docker must be removed as it is generated locally by the e2e test script: | ||
|
||
cmd/clusterctl/hack/local-overrides.py | ||
rm -rf $HOME/.cluster-api/overrides/docker | ||
|
||
The entire test suite can be run using the script: | ||
|
||
./run-e2e.sh | ||
|
||
To run specific tests, use the `GINKGO_FOCUS` | ||
|
||
GINKGO_FOCUS="clusterctl create cluster" ./run-e2e.sh | ||
|
||
## Skip local build of CAPD | ||
|
||
By default, the a local capd image will be built and loaded into kind. This can be skipped as so: | ||
|
||
SKIP_DOCKER_BUILD=1 ./run-e2e.sh | ||
|
||
You can also specifiy a pre-build image and skip the build: | ||
|
||
SKIP_DOCKER_BUILD=1 MANAGER_IMAGE=gcr.io/my-project-name/docker-provider-manager-amd64:dev ./run-e2e.sh |
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.