File tree Expand file tree Collapse file tree 7 files changed +458
-370
lines changed Expand file tree Collapse file tree 7 files changed +458
-370
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,13 @@ jobs:
121121 OPM_BUNDLE_OPT : " --use-http"
122122 BUNDLE_PUSH_OPT : " --tls-verify=false"
123123 CATALOG_PUSH_OPT : " --tls-verify=false"
124+
124125 - name : Run OLM Upgrade e2e Ray cluster Up test
125126 run : |
126127 export CODEFLARE_TEST_OUTPUT_DIR=${{ env.TEMP_DIR }}
127128 echo "CODEFLARE_TEST_OUTPUT_DIR=${CODEFLARE_TEST_OUTPUT_DIR}" >> $GITHUB_ENV
128129 set -euo pipefail
129- go test -timeout 30m -v ./test/e2e -run TestMNISTRayClusterUp -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
130- env :
131- RUN_OLM_TESTS : true
130+ go test -timeout 30m -v ./test/upgrade -run TestMNISTRayClusterUp -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
132131
133132 - name : Update Operator to the built version
134133 run : |
@@ -164,9 +163,7 @@ jobs:
164163 export CODEFLARE_TEST_OUTPUT_DIR=${{ env.TEMP_DIR }}
165164 echo "CODEFLARE_TEST_OUTPUT_DIR=${CODEFLARE_TEST_OUTPUT_DIR}" >> $GITHUB_ENV
166165 set -euo pipefail
167- go test -timeout 30m -v ./test/e2e -run TestMnistJobSubmit -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
168- env :
169- RUN_OLM_TESTS : true
166+ go test -timeout 30m -v ./test/upgrade -run TestMnistJobSubmit -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
170167
171168 - name : Run e2e tests against built operator
172169 run : |
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ require (
66 github.com/onsi/gomega v1.27.10
77 github.com/openshift/api v0.0.0-20230213134911-7ba313770556
88 github.com/project-codeflare/codeflare-common v0.0.0-20231129165224-988ba1da9069
9- github.com/project-codeflare/instascale v0.3.1
109 github.com/project-codeflare/multi-cluster-app-dispatcher v1.38.1
1110 github.com/ray-project/kuberay/ray-operator v1.0.0-rc.1
1211 go.uber.org/zap v1.26.0
Original file line number Diff line number Diff line change 99
1010namespace = sys .argv [1 ]
1111
12- cluster = Cluster (ClusterConfiguration (name = 'mnist' ))
12+ cluster = Cluster (ClusterConfiguration (name = 'mnist' , namespace = namespace ))
1313
1414jobdef = DDPJobDefinition (
1515 name = "mnist" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments