-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Move e2e tests to buildkite (#2639)
Signed-off-by: Chi-Sheng Liu <[email protected]>
- Loading branch information
1 parent
4bd2dab
commit 353e87f
Showing
4 changed files
with
59 additions
and
85 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,35 @@ | ||
- label: 'Test E2E (nightly operator)' | ||
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 -timeout 30m -v ./test/e2e | ||
# Printing KubeRay operator logs | ||
- kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay | ||
|
||
- label: 'Test Autoscaler E2E (nightly operator)' | ||
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 -timeout 30m -v ./test/e2eautoscaler | ||
# Printing KubeRay operator logs | ||
- kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay |
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
This file was deleted.
Oops, something went wrong.
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