diff --git a/.github/workflows/kind-e2e.yaml b/.github/workflows/kind-e2e.yaml index 0edc06b6f0..24bfb8a36a 100644 --- a/.github/workflows/kind-e2e.yaml +++ b/.github/workflows/kind-e2e.yaml @@ -1,12 +1,11 @@ name: kind-e2e on: - # enable running this on merges + presubmits when the action has tests that it will execute - # push: - # branches: [main] - # pull_request: + push: + branches: [main] + pull_request: workflow_dispatch: jobs: - test-kind: + kind-e2e: permissions: issues: write runs-on: ubuntu-latest @@ -69,8 +68,12 @@ jobs: run: | OUTPUT_DIR=$(mktemp -d) export OUTPUT_DIR + echo OUTPUT_DIR="$OUTPUT_DIR" >> "$GITHUB_ENV" make e2etests - python ./karpenter_eval/main.py + - name: run test analysis + shell: bash + run: | + OUTPUT_DIR=${{ env.OUTPUT_DIR }} python ./karpenter_eval/main.py - name: cleanup shell: bash run: | diff --git a/test/suites/perf/scheduling_test.go b/test/suites/perf/scheduling_test.go index 5134b85fb3..8a9643b3a6 100644 --- a/test/suites/perf/scheduling_test.go +++ b/test/suites/perf/scheduling_test.go @@ -87,7 +87,7 @@ var _ = Describe("Performance", func() { nodeClaims := &v1.NodeClaimList{} g.Expect(env.Client.List(env, nodeClaims, client.MatchingFields{"status.conditions[*].type": v1.ConditionTypeDrifted})).To(Succeed()) g.Expect(len(nodeClaims.Items)).To(Equal(0)) - }).WithTimeout(300 * time.Second).Should(Succeed()) + }).WithTimeout(10 * time.Minute).Should(Succeed()) env.TimeIntervalCollector.End("Drift") }) It("should do complex provisioning", func() {