File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 72
72
kubectl create namespace openshift-operators
73
73
kubectl create -f .github/resources-olm-upgrade/operatorgroup.yaml
74
74
75
+ - name : Install Required KubeRay CRDs for Pod Initialisation
76
+ run : |
77
+ kubectl apply -f https://github.com/raw/ray-project/kuberay/v1.1.0/ray-operator/config/crd/bases/ray.io_rayclusters.yaml
78
+ kubectl apply -f https://github.com/raw/ray-project/kuberay/v1.1.0/ray-operator/config/crd/bases/ray.io_rayjobs.yaml
79
+ kubectl apply -f https://github.com/raw/ray-project/kuberay/v1.1.0/ray-operator/config/crd/bases/ray.io_rayservices.yaml
80
+ kubectl wait --for=condition=Established crd/rayclusters.ray.io --timeout=60s
81
+ kubectl wait --for=condition=Established crd/rayjobs.ray.io --timeout=60s
82
+ kubectl wait --for=condition=Established crd/rayservices.ray.io --timeout=60s
83
+
75
84
- name : Deploy latest released CodeFlare operator from OLM
76
85
id : deploy
77
86
run : |
Original file line number Diff line number Diff line change 32
32
capabilities :
33
33
drop :
34
34
- " ALL"
35
- image : alpine/k8s:1.27.11
35
+ image : registry.access.redhat.com/ubi8/ubi-minimal@sha256:f30dbf77b075215f6c827c269c073b5e0973e5cea8dacdf7ecb6a19c868f37f2
36
36
command :
37
37
- sh
38
38
- -c
41
41
CRDS="rayclusters.ray.io rayjobs.ray.io rayservices.ray.io"
42
42
for crd in $CRDS; do
43
43
echo "Checking for $crd"
44
- until kubectl get crd $crd; do
44
+ until oc get crd $crd; do
45
45
echo "$crd not available yet, retrying in 10 seconds..."
46
46
sleep 10
47
47
done
You can’t perform that action at this time.
0 commit comments