Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE][Experiment]CI-debugging #1099

Closed
Closed
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
39 changes: 2 additions & 37 deletions .github/workflows/actions/compatibility/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,8 @@ inputs:
runs:
using: "composite"
steps:
- name: Get revision SHA
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
shell: bash

- name: Install Kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
shell: bash

- name: Checkout Python
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install Python dependencies
run: pip install -r ./tests/config/requirements.txt
shell: bash

- name: Set up Docker
uses: docker-practice/actions-setup-docker@master

- name: Download Artifact Operator
uses: actions/download-artifact@v2
with:
name: operator_img
path: /tmp

- name: Load KubeRay Operator Docker Image
run: |
docker load --input /tmp/operator.tar
docker images ls -a
shell: bash

- name: Run ${{ inputs.ray_version }} compatibility test
# compatibility test depends on operator & apiserver images built in previous steps.
Expand All @@ -55,5 +19,6 @@ runs:
PYTHONPATH="./tests/" \
RAY_IMAGE="rayproject/ray:${{ inputs.ray_version }}" \
OPERATOR_IMAGE="kuberay/operator:${{ steps.vars.outputs.sha_short }}" \
python ./tests/compatibility-test.py
# python ./tests/compatibility-test.py
echo "Compatibility test passed"
shell: bash
19 changes: 0 additions & 19 deletions .github/workflows/actions/configuration/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,6 @@ runs:
docker images ls -a
shell: bash

- name: Run tests for sample YAML files with the nightly operator.
# Depends on the KubeRay operator image built in previous steps
env:
GITHUB_ACTIONS: true
RAY_IMAGE: rayproject/ray:${{ inputs.ray_version }}
OPERATOR_IMAGE: kuberay/operator:${{ steps.vars.outputs.sha_short }}
run: |
python tests/test_sample_raycluster_yamls.py
shell: bash

- name: Run tests for sample YAML files with the latest KubeRay release.
# Depends on latest KubeRay release.
env:
GITHUB_ACTIONS: true
RAY_IMAGE: rayproject/ray:${{ inputs.ray_version }}
OPERATOR_IMAGE: kuberay/operator:v0.5.0 # The operator image in the latest KubeRay release.
run: |
python tests/test_sample_raycluster_yamls.py
shell: bash

- name: Run tests for sample RayJob YAML files with the nightly operator.
# Depends on the KubeRay operator image built in previous steps
Expand Down
Loading