Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add kind kwok e2es to presubmit #1411

Merged
merged 10 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion test/suites/perf/scheduling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Loading