celeborn/docs/developers
Yi Chen c20536e5c5
[CELEBORN-1425][HELM] Add helm chart unit tests to ensure manifests are rendered as expected
### What changes were proposed in this pull request?

Add helm chart unit tests.

### Why are the changes needed?

Unit tests can make resource manifests are rendered as expected with various configurations.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Detailed information about how to run helm chart unit tests can be found here [helm-unittest/helm-unittest](https://github.com/helm-unittest/helm-unittest). First, you need to install helm unit test plugin:

```shell
helm plugin install https://github.com/helm-unittest/helm-unittest.git
```

Then, run helm chart unitt tests as follows:

```shell
$ helm unittest charts/celeborn  --file "tests/**/*_test.yaml" --strict --debug
load_plugins.go:110: [info] file (/Users/chenyi/Library/helm/plugins/helm-acr/completion.yaml) not provided by plugin. No plugin auto-completion possible

### Chart [ celeborn ] charts/celeborn

 PASS  Test Celeborn configmap  charts/celeborn/tests/configmap_test.yaml
 PASS  Test Celeborn master pod monitor charts/celeborn/tests/master/podmonitor_test.yaml
 PASS  Test Celeborn master priority class      charts/celeborn/tests/master/priorityclass_test.yaml
 PASS  Test Celeborn master service     charts/celeborn/tests/master/service_test.yaml
 PASS  Test Celeborn master statefulset charts/celeborn/tests/master/statefulset_test.yaml
 PASS  Test Celeborn worker pod monitor charts/celeborn/tests/worker/podmonitor_test.yaml
 PASS  Test Celeborn worker priority class      charts/celeborn/tests/worker/priorityclass_test.yaml
 PASS  Test Celeborn worker service     charts/celeborn/tests/worker/service_test.yaml
 PASS  Test Celeborn worker statefulset charts/celeborn/tests/worker/statefulset_test.yaml

Charts:      1 passed, 1 total
Test Suites: 9 passed, 9 total
Tests:       48 passed, 48 total
Snapshot:    0 passed, 0 total
Time:        183.011375ms

```

Closes #2511 from ChenYi015/helm-unittest.

Authored-by: Yi Chen <github@chenyicn.net>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-05-15 19:17:30 +08:00
..
client.md
configuration.md [CELEBORN-1286] Introduce configuration.md to document dynamic config and config service 2024-02-28 11:49:28 +08:00
faulttolerant.md
glutensupport.md [INFRA] Remove incubator/incubating for graduation 2024-03-27 13:54:47 +08:00
helm-charts.md [CELEBORN-1425][HELM] Add helm chart unit tests to ensure manifests are rendered as expected 2024-05-15 19:17:30 +08:00
integrate.md [CELEBORN-1341][FOLLOWUP] Improve Celeborn document 2024-03-22 16:34:25 +08:00
jvmprofiler.md [CELEBORN-1299] Introduce JVM profiling in Celeborn Worker using async-profiler 2024-03-25 14:05:50 +08:00
lifecyclemanager.md [MINOR] Fix some typos 2023-10-12 20:34:07 +08:00
master.md
overview.md [INFRA] Remove incubator/incubating for graduation 2024-03-27 13:54:47 +08:00
sbt.md [CELEBORN-1341] Improve Celeborn document 2024-03-20 15:02:05 +08:00
shuffleclient.md [CELEBORN-1341][FOLLOWUP] Improve Celeborn document 2024-03-22 16:34:25 +08:00
slotsallocation.md [MINOR] Fix style and Gluten link in Developers Doc 2024-03-11 12:07:01 +08:00
storage.md [CELEBORN-1341] Improve Celeborn document 2024-03-20 15:02:05 +08:00
trafficcontrol.md [MINOR] Fix incorrect default resume ratio in trafficcontrol doc 2023-09-21 11:18:48 +08:00
worker.md [CELEBORN-877][DOC] Document on SBT 2023-08-11 12:17:55 +08:00
workerexclusion.md