You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- We recommend using Python 3.9, along with Poetry.
4
+
5
+
## On KinD clusters
6
+
Pre-requisite for KinD clusters: please add in your local `/etc/hosts` file `127.0.0.1 kind`. This will map your localhost IP address to the KinD cluster's hostname. This is already performed on [GitHub Actions](https://github.com/project-codeflare/codeflare-common/blob/1edd775e2d4088a5a0bfddafb06ff3a773231c08/github-actions/kind/action.yml#L70-L72)
7
+
8
+
- Setup Phase:
9
+
- Pull the [codeflare-operator repo](https://github.com/project-codeflare/codeflare-operator) and run the following make targets:
10
+
```
11
+
make kind-e2e
12
+
export CLUSTER_HOSTNAME=kind
13
+
export CODEFLARE_TEST_TIMEOUT_LONG=20m
14
+
make deploy -e IMG=quay.io/project-codeflare/codeflare-operator:v1.1.0
15
+
make setup-e2e
16
+
```
17
+
- Test Phase:
18
+
- Once we have the codeflare-operator and kuberay-operator running and ready, we can run the e2e test on the codeflare-sdk repository:
19
+
```
20
+
poetry install --with test,docs
21
+
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py
22
+
```
23
+
24
+
25
+
26
+
## On OpenShift clusters
27
+
- Setup Phase:
28
+
- Pull the [codeflare-operator repo](https://github.com/project-codeflare/codeflare-operator) and run the following make targets:
29
+
```
30
+
make deploy -e IMG=quay.io/project-codeflare/codeflare-operator:v1.1.0
31
+
make setup-e2e
32
+
```
33
+
- Test Phase:
34
+
- Once we have the codeflare-operator and kuberay-operator running and ready, we can run the e2e test on the codeflare-sdk repository:
35
+
```
36
+
poetry install --with test,docs
37
+
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py
0 commit comments