-
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.
Merge pull request #7 from roberthbailey/unit-tests
Update clusterctl validation to use the dynamic client
- Loading branch information
Showing
51 changed files
with
330 additions
and
1,338 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 was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
cmd/clusterctl/clusterdeployer/bootstrap/existing/BUILD.bazel
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
cmd/clusterctl/clusterdeployer/bootstrap/minikube/BUILD.bazel
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
cmd/clusterctl/validation/testdata/fail-to-validate-cluster-object.golden
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Validating Cluster API objects in namespace "validate-cluster-api-object-output" | ||
Validating Cluster API objects in namespace "validate-cluster-objects-errors" | ||
Checking cluster object "test-cluster"... FAIL | ||
[CreateError]: Failed to create cluster |
2 changes: 1 addition & 1 deletion
2
cmd/clusterctl/validation/testdata/fail-to-validate-machine-objects-with-errors.golden
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
2 changes: 1 addition & 1 deletion
2
...lusterctl/validation/testdata/fail-to-validate-machine-objects-with-noderef-errors.golden
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
2 changes: 1 addition & 1 deletion
2
cmd/clusterctl/validation/testdata/validate-cluster-api-object-output-pass.golden
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Validating Cluster API objects in namespace "validate-cluster-api-object-output" | ||
Validating Cluster API objects in namespace "validate-cluster-objects" | ||
Checking cluster object "test-cluster"... PASS | ||
Checking machine object "test-machine1"... PASS | ||
Checking machine object "test-machine2"... PASS |
Oops, something went wrong.