Skip to content

Commit

Permalink
WIP: CI experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Dec 23, 2024
1 parent c764021 commit 7aeddc7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .buildkite/test-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
- label: 'kuberay-2654 TestAutoscalingRayService flaky test'
instance_size: large
image: golang:1.22
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml
- kubectl config set clusters.kind-kind.server https://docker:6443
# Build nightly KubeRay operator image
- pushd ray-operator
- IMG=kuberay/operator:nightly make docker-image
- kind load docker-image kuberay/operator:nightly
- IMG=kuberay/operator:nightly make deploy
- kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator
# Run e2e tests
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -count=1 -timeout 30m -run TestAutoscalingRayService -v ./test/e2erayservice
# Printing KubeRay operator logs
- kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay

- label: 'Test E2E (nightly operator)'
instance_size: large
image: golang:1.22
Expand Down

0 comments on commit 7aeddc7

Please sign in to comment.