Skip to content

Commit 56cdfb6

Browse files
authored
[CI] Remove compatibility-test.py and modified CI (#2882)
1 parent bb31661 commit 56cdfb6

File tree

10 files changed

+0
-986
lines changed

10 files changed

+0
-986
lines changed

.github/workflows/actions/compatibility/action.yaml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/test-job.yaml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -319,86 +319,6 @@ jobs:
319319
run: go test ./pkg/... -race -parallel 4
320320
working-directory: ${{env.working-directory}}
321321

322-
test-compatibility-2_7_0:
323-
needs:
324-
- build_operator
325-
- build_apiserver
326-
- lint
327-
runs-on: ubuntu-22.04
328-
name: Compatibility Test - 2.7.0
329-
steps:
330-
- name: Check out code into the Go module directory
331-
uses: actions/checkout@v2
332-
with:
333-
# When checking out the repository that
334-
# triggered a workflow, this defaults to the reference or SHA for that event.
335-
# Default value should work for both pull_request and merge(push) event.
336-
ref: ${{github.event.pull_request.head.sha}}
337-
338-
- uses: ./.github/workflows/actions/compatibility
339-
with:
340-
ray_version: 2.7.0
341-
342-
test-compatibility-2_8_0:
343-
needs:
344-
- build_operator
345-
- build_apiserver
346-
- lint
347-
runs-on: ubuntu-22.04
348-
name: Compatibility Test - 2.8.0
349-
steps:
350-
- name: Check out code into the Go module directory
351-
uses: actions/checkout@v2
352-
with:
353-
# When checking out the repository that
354-
# triggered a workflow, this defaults to the reference or SHA for that event.
355-
# Default value should work for both pull_request and merge(push) event.
356-
ref: ${{github.event.pull_request.head.sha}}
357-
358-
- uses: ./.github/workflows/actions/compatibility
359-
with:
360-
ray_version: 2.8.0
361-
362-
test-compatibility-2_9_0:
363-
needs:
364-
- build_operator
365-
- build_apiserver
366-
- lint
367-
runs-on: ubuntu-22.04
368-
name: Compatibility Test - 2.9.0
369-
steps:
370-
- name: Check out code into the Go module directory
371-
uses: actions/checkout@v2
372-
with:
373-
# When checking out the repository that
374-
# triggered a workflow, this defaults to the reference or SHA for that event.
375-
# Default value should work for both pull_request and merge(push) event.
376-
ref: ${{github.event.pull_request.head.sha}}
377-
378-
- uses: ./.github/workflows/actions/compatibility
379-
with:
380-
ray_version: 2.9.0
381-
382-
test-compatibility-nightly:
383-
needs:
384-
- build_operator
385-
- build_apiserver
386-
- lint
387-
runs-on: ubuntu-22.04
388-
name: Compatibility Test - Nightly
389-
steps:
390-
- name: Check out code into the Go module directory
391-
uses: actions/checkout@v2
392-
with:
393-
# When checking out the repository that
394-
# triggered a workflow, this defaults to the reference or SHA for that event.
395-
# Default value should work for both pull_request and merge(push) event.
396-
ref: ${{github.event.pull_request.head.sha}}
397-
398-
- uses: ./.github/workflows/actions/compatibility
399-
with:
400-
ray_version: nightly
401-
402322
python-client-test:
403323
runs-on: ubuntu-22.04
404324
name: Python Client Test

ray-operator/DEVELOPMENT.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -267,35 +267,6 @@ make sync
267267
python3 ../scripts/rbac-check.py
268268
```
269269

270-
### Run end-to-end tests locally
271-
272-
We have some [end-to-end tests](https://github.com/ray-project/kuberay/blob/master/.github/workflows/actions/compatibility/action.yaml) on GitHub Actions.
273-
These tests operate small Ray clusters running within a [kind](https://kind.sigs.k8s.io/) (Kubernetes-in-docker) environment. To run the tests yourself, follow these steps:
274-
275-
* Step1: Install related dependencies, including [kind](https://kind.sigs.k8s.io/) and [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
276-
277-
* Step2: You must be in `/path/to/your/kuberay/`.
278-
```bash
279-
# [Usage]: RAY_IMAGE=$RAY_IMAGE OPERATOR_IMAGE=$OPERATOR_IMAGE python3 tests/compatibility-test.py
280-
# These 3 environment variables are optional.
281-
# [Example]:
282-
RAY_IMAGE=rayproject/ray:2.9.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/compatibility-test.py
283-
```
284-
### Running configuration tests locally.
285-
286-
The sample RayCluster and RayService CRs under `ray-operator/config/samples` are tested in `tests/test_sample_raycluster_yamls.py`
287-
and `tests/test_sample_rayservice_yamls.py`. Currently, only a few of these sample configurations are tested in the CI. See
288-
[KubeRay issue #695](https://github.com/ray-project/kuberay/issues/695).
289-
290-
```bash
291-
# Test RayCluster doc examples.
292-
RAY_IMAGE=rayproject/ray:2.9.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py
293-
# Test RayService doc examples.
294-
RAY_IMAGE=rayproject/ray:2.9.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py
295-
```
296-
297-
See [KubeRay PR #605](https://github.com/ray-project/kuberay/pull/605) for more details about the test framework.
298-
299270
### Building Multi architecture images locally
300271

301272
Most of image repositories supports multiple architectures container images. When running an image from a device, the docker client automatically pulls the correct the image with a matching architectures. The easiest way to build multi-arch images is to utilize Docker `Buildx` plug-in which allows easily building multi-arch images using Qemu emulation from a single machine. Buildx plugin is readily available when you install the [Docker Desktop](https://docs.docker.com/desktop/) on your machine.

0 commit comments

Comments
 (0)