-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45b5e97
commit bfb2a70
Showing
3 changed files
with
119 additions
and
40 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,40 @@ | ||
name: E2E Tests | ||
|
||
on: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
run-e2e-tests: | ||
name: Run E2E Tests | ||
runs-on: [self-hosted, linux, X64, jammy, large] | ||
env: | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }} | ||
AWS_REGION: us-east-2 | ||
strategy: | ||
matrix: | ||
ginkgo_focus: | ||
#- "KCP remediation" | ||
#- "MachineDeployment remediation" | ||
- "Workload cluster creation" | ||
#- "Workload cluster scaling" | ||
#- "Workload cluster upgrade" | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
- name: Install requirements | ||
run: | | ||
sudo apt install make | ||
sudo apt install wget | ||
- name: Increase inotify watches | ||
run: | | ||
# Prevents https://cluster-api.sigs.k8s.io/user/troubleshooting#cluster-api-with-docker----too-many-open-files | ||
sudo sysctl fs.inotify.max_user_watches=1048576 | ||
sudo sysctl fs.inotify.max_user_instances=8192 | ||
- name: Run e2e tests | ||
run: | | ||
sudo ./hack/ci-e2e-tests.sh true aws v0.1.2 |
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ name: E2E Tests | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- does-not-exist | ||
|
||
permissions: | ||
contents: read | ||
|
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