Skip to content

Commit 0dcdab9

Browse files
committed
[k8s test] migrate to use python 3.10
stop using python 3.9 Signed-off-by: Lonnie Liu <[email protected]>
1 parent eda1062 commit 0dcdab9

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

.buildkite/kuberay.rayci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ steps:
33
- name: k8sbuild
44
wanda: ci/docker/k8s.build.wanda.yaml
55
depends_on:
6-
- oss-ci-base_build
6+
- oss-ci-base_build-multipy
77
tags: cibase
88

99
- label: ":kubernetes: operator"

ci/docker/k8s.build.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1.3-labs
22

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

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

ci/docker/k8s.build.wanda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: k8sbuild
2-
froms: ["cr.ray.io/rayproject/oss-ci-base_build"]
2+
froms: ["cr.ray.io/rayproject/oss-ci-base_build-py3.10"]
33
dockerfile: ci/docker/k8s.build.Dockerfile
44
srcs:
55
- python/requirements.txt

ci/k8s/run-chaos-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHAOS_FAULT="${1:-no_fault}"
66
CHAOS_WORKLOAD="${2:-test_potato_passer}"
77

88
bazel run //ci/ray_ci:build_in_docker -- docker \
9+
--python-version 3.10 \
910
--platform cpu --canonical-tag kuberay-test
1011
docker tag rayproject/ray:kuberay-test ray-ci:kuberay-test
1112

ci/k8s/run-operator-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... kuberay \
4949
--test-env=RAY_IMAGE=docker.io/library/ray-ci:kuberay-test \
5050
--test-env=PULL_POLICY=Never \
5151
--test-env=KUBECONFIG=/tmp/rayci-kubeconfig \
52+
--python-version 3.10 \
5253
"--test-env=KUBECONFIG_BASE64=$(base64 -w0 "$HOME/.kube/config")"
5354

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

0 commit comments

Comments
 (0)