From 4d592c898fa78298e3bea9ff795af1e8ccf35b43 Mon Sep 17 00:00:00 2001 From: Benjamin Schimke Date: Fri, 5 Jul 2024 09:27:27 +0200 Subject: [PATCH] sudo for inotifier --- .github/workflows/e2e.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 4adb7a01..af41cd50 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -48,11 +48,11 @@ jobs: - name: Increase inotify watches run: | # Prevents https://cluster-api.sigs.k8s.io/user/troubleshooting#cluster-api-with-docker----too-many-open-files - sysctl fs.inotify.max_user_watches=1048576 - sysctl fs.inotify.max_user_instances=8192 + sudo sysctl fs.inotify.max_user_watches=1048576 + sudo sysctl fs.inotify.max_user_instances=8192 - name: Run e2e tests run: | - sudo GINKGO_FOCUS="Workload cluster scaling" SKIP_RESOURCE_CLEANUP=true make test-e2e + sudo GINKGO_FOCUS="Workload cluster creation" SKIP_RESOURCE_CLEANUP=true make test-e2e - name: Setup tmate session if: ${{ failure() }} uses: canonical/action-tmate@main