Skip to content

Commit 2d99cc9

Browse files
rebase and resolving conflicts
1 parent 2a367fa commit 2d99cc9

File tree

7 files changed

+458
-370
lines changed

7 files changed

+458
-370
lines changed

.github/workflows/olm_tests.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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: |

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

test/e2e/mnist_rayjob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace = sys.argv[1]
1111

12-
cluster = Cluster(ClusterConfiguration(name='mnist'))
12+
cluster = Cluster(ClusterConfiguration(name='mnist',namespace=namespace))
1313

1414
jobdef = DDPJobDefinition(
1515
name="mnist",

test/e2e/olm_upgrade_test.go

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

0 commit comments

Comments
 (0)