forked from ray-project/kuberay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from MortalHappiness/feature/release-manually
Feature/release manually
- Loading branch information
Showing
516 changed files
with
47,244 additions
and
12,416 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,47 @@ | ||
- 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 and print KubeRay operator logs if tests fail | ||
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/e2e || (kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay && exit 1) | ||
|
||
- label: 'Test E2E rayservice (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 and print KubeRay operator logs if tests fail | ||
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/e2erayservice || (kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay && exit 1) | ||
|
||
- 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 and print KubeRay operator logs if tests fail | ||
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/e2eautoscaler || (kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay && exit 1) |
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 |
---|---|---|
@@ -1,61 +1,33 @@ | ||
#ci:group=:yaml: Sample YAML tests | ||
|
||
- label: 'Test RayCluster Sample YAMLs (nightly operator)' | ||
instance_size: large | ||
image: golang:1.20 | ||
commands: | ||
- ./.buildkite/setup-env.sh | ||
# Build nightly KubeRay operator image | ||
- pushd ray-operator | ||
- IMG=kuberay/operator:nightly make docker-image | ||
- popd | ||
# Use nightly KubeRay operator image | ||
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py | ||
|
||
- label: 'Test RayCluster Sample YAMLs (latest release)' | ||
instance_size: large | ||
image: golang:1.20 | ||
commands: | ||
- ./.buildkite/setup-env.sh | ||
# Use KubeRay operator image from the latest release | ||
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=quay.io/kuberay/operator:v1.1.0 python3 tests/test_sample_raycluster_yamls.py | ||
|
||
- label: 'Test RayJob Sample YAMLs (nightly operator)' | ||
- label: 'Test Sample YAMLs (nightly operator)' | ||
instance_size: large | ||
image: golang:1.20 | ||
image: golang:1.22 | ||
commands: | ||
- ./.buildkite/setup-env.sh | ||
- 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 | ||
- popd | ||
# Use nightly KubeRay operator image | ||
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayjob_yamls.py | ||
- 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 sample YAML tests | ||
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/sampleyaml | ||
# Printing KubeRay operator logs | ||
- kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay | ||
|
||
- label: 'Test RayJob Sample YAMLs (latest release)' | ||
- label: 'Test Sample YAMLs (latest release)' | ||
instance_size: large | ||
image: golang:1.20 | ||
image: golang:1.22 | ||
commands: | ||
- ./.buildkite/setup-env.sh | ||
# Use KubeRay operator image from the latest release | ||
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=quay.io/kuberay/operator:v1.1.0 python3 tests/test_sample_rayjob_yamls.py | ||
|
||
- label: 'Test RayService Sample YAMLs (nightly operator)' | ||
instance_size: large | ||
image: golang:1.20 | ||
commands: | ||
- ./.buildkite/setup-env.sh | ||
# Build nightly KubeRay operator image | ||
- 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 | ||
# Deploy KubeRay operator | ||
- pushd ray-operator | ||
- IMG=kuberay/operator:nightly make docker-image | ||
- popd | ||
# Use nightly KubeRay operator image | ||
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py | ||
|
||
- label: 'Test RayService Sample YAMLs (latest release)' | ||
instance_size: large | ||
image: golang:1.20 | ||
commands: | ||
- ./.buildkite/setup-env.sh | ||
# Use KubeRay operator image from the latest release | ||
- source .venv/bin/activate && BUILDKITE_ENV=true OPERATOR_IMAGE=quay.io/kuberay/operator:v1.1.0 python3 tests/test_sample_rayservice_yamls.py | ||
- IMG=quay.io/kuberay/operator:v1.2.2 make deploy | ||
- kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator | ||
# Run sample YAML tests | ||
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/sampleyaml | ||
# 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 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 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 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
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
Oops, something went wrong.