-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use KinD clusters in integration tests for presubmits (#2831)
### Proposed changes This PR switches the underlying test infrastructure to provision KinD clusters for PR checks. This will drastically speed up the feedback loop from the current ~45 mins to 25 mins. Furthermore, this also pushes the cluster creation step into the test job to enable re-running only the failed job should a test flake occur. ## Changes made: - Updated the GHA workflow to run PR checks in Kind clusters to reduce feedback loop - Note: post-submit checks still run against a GKE cluster as some test cases can't don't pass in KinD - Updated existing tests to either work with Kind if they are simple, or to be skipped if the test needs a full cloud k8s cluster - Broke apart the Golang tests to run concurrently as GH Action workers now do not OOM - Fixed some hard-coded test logic that breaks on newer k8s versions ### Related issues (optional) Fixes: #2243
- Loading branch information
Showing
16 changed files
with
681 additions
and
849 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ commonLabels: | |
|
||
resources: | ||
- deployment.yaml | ||
- service.yaml | ||
- configMap.yaml |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.