Skip to content
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
6 changes: 5 additions & 1 deletion .buildkite/kuberay.rayci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
- name: k8sbuild
wanda: ci/docker/k8s.build.wanda.yaml
depends_on:
- oss-ci-base_build
- oss-ci-base_build-multipy
tags: cibase

- label: ":kubernetes: operator"
Expand All @@ -19,6 +19,8 @@ steps:
- manylinux
- forge
- raycpubase
- ray-core-build
- ray-dashboard-build

- label: ":kubernetes: chaos {{matrix.workload}} under {{matrix.fault}}"
key: kuberay_tests
Expand All @@ -45,3 +47,5 @@ steps:
- manylinux
- forge
- raycpubase
- ray-core-build
- ray-dashboard-build
2 changes: 1 addition & 1 deletion ci/docker/k8s.build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.3-labs

FROM cr.ray.io/rayproject/oss-ci-base_build
FROM cr.ray.io/rayproject/oss-ci-base_build-py3.10

SHELL ["/bin/bash", "-ice"]

Expand Down
2 changes: 1 addition & 1 deletion ci/docker/k8s.build.wanda.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: k8sbuild
froms: ["cr.ray.io/rayproject/oss-ci-base_build"]
froms: ["cr.ray.io/rayproject/oss-ci-base_build-py3.10"]
dockerfile: ci/docker/k8s.build.Dockerfile
srcs:
- python/requirements.txt
Expand Down
1 change: 1 addition & 0 deletions ci/k8s/run-chaos-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CHAOS_FAULT="${1:-no_fault}"
CHAOS_WORKLOAD="${2:-test_potato_passer}"

bazel run //ci/ray_ci:build_in_docker -- docker \
--python-version 3.10 \
--platform cpu --canonical-tag kuberay-test
docker tag rayproject/ray:kuberay-test ray-ci:kuberay-test

Expand Down
5 changes: 5 additions & 0 deletions ci/k8s/run-operator-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ set -euo pipefail

# TODO(aslonnie): refactor this test to be hermetic.

PYTHON_VERSION=3.10

echo "--- Build image"
bazel run //ci/ray_ci:build_in_docker -- docker \
--python-version "$PYTHON_VERSION" \
--platform cpu --canonical-tag kuberay-test
docker tag rayproject/ray:kuberay-test ray-ci:kuberay-test

Expand Down Expand Up @@ -49,6 +52,7 @@ bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... kuberay \
--test-env=RAY_IMAGE=docker.io/library/ray-ci:kuberay-test \
--test-env=PULL_POLICY=Never \
--test-env=KUBECONFIG=/tmp/rayci-kubeconfig \
--python-version "$PYTHON_VERSION" \
"--test-env=KUBECONFIG_BASE64=$(base64 -w0 "$HOME/.kube/config")"

# Test for autoscaler v2.
Expand All @@ -59,4 +63,5 @@ bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... kuberay \
--test-env=PULL_POLICY=Never \
--test-env=AUTOSCALER_V2=True \
--test-env=KUBECONFIG=/tmp/rayci-kubeconfig \
--python-version "$PYTHON_VERSION" \
"--test-env=KUBECONFIG_BASE64=$(base64 -w0 "$HOME/.kube/config")"