|
2 | 2 |
|
3 | 3 | This directory contains both go and kuttl tests suites that are |
4 | 4 | designed to be run against an AppWrapper operator deployed on a |
5 | | -Kubernetes cluster with Kueue installed. |
| 5 | +Kubernetes cluster with Kueue and the Kubeflow operator installed. |
6 | 6 |
|
7 | 7 | The [../hack/](../hack) directory contains scripts that can be used to |
8 | 8 | create an appropriately configured test cluster using `kind` and to run |
9 | | -the tests. The tests can be run in two primary modes: |
10 | | - 1. ***Fully automated*** The script [../hack/run-e2e-kind.sh](../hack/run-e2e-kind.sh) |
11 | | - fully automates creating a properly configured `kind` cluster, deploying |
12 | | - Kueue and the AppWrapper CRDs and controller on the cluster, running all |
13 | | - tests on the cluster, and then deleting the cluster when the tests are completed. |
14 | | - For easy of use, run this script by doing a `make run-e2e` to ensure that the tests are run |
15 | | - against an image that contains your locally modified code. |
16 | | - 2. ***Development mode*** The script [../hack/create-test-cluster.sh](../hack/create-test-cluster.sh) |
17 | | - can be used to create a correctly configured test cluster. |
18 | | - The script [../hack/deploy-kueue.sh](../hack/deploy-kueue.sh) can be used to |
19 | | - deploy Kueue on the test cluster. |
20 | | - You can then use either `make install; make run` or `make install; make kind-push; make deploy` |
21 | | - to deploy the AppWrapper CRDs and run the controller. |
22 | | - After everything is running, you can then either run test cases |
23 | | - individually or use the script |
24 | | - [../hack/run-tests-on-cluster.sh](../hack/run-tests-on-cluster.sh) to |
25 | | - run the entire AppWrapper test suite against the system you just deployed. |
| 9 | +the tests. |
0 commit comments