Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ray-project/kuberay
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7b9938e27e133974a7e54cd67feaa9c63014f4da
Choose a base ref
..
head repository: ray-project/kuberay
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 33649fe0c6463dd72950f0d86527e14f7c2b254c
Choose a head ref
Showing with 4 additions and 2 deletions.
  1. +4 −2 tests/compatibility-test.py
6 changes: 4 additions & 2 deletions tests/compatibility-test.py
Original file line number Diff line number Diff line change
@@ -48,8 +48,10 @@ def apply_kuberay_resources():
'kubectl create -k manifests/cluster-scope-resources')
# use kustomize to build the yaml, then change the image to the one we want to testing.
shell_assert_success(
'kustomize build manifests/base | sed "s/image: kuberay\\/\\(.*\\):nightly/image: kuberay\\/\\1:{}/g" | kubectl apply -f -'.format(
kuberay_sha))
('rm kustomization.yaml && kustomize create --resources manifests/base && ' +
'kustomize edit set image ' +
'kuberay/operator:nightly=kuberay/operator:{0} kuberay/apiserver:nightly=kuberay/apiserver:{0} && ' +
'kubectl apply -k .').format(kuberay_sha))


def create_kuberay_cluster():