|
|
@ -22,10 +22,10 @@ In Helm, there are two test hooks: `test-success` and `test-failure`
|
|
|
|
|
|
|
|
|
|
|
|
## Example Test
|
|
|
|
## Example Test
|
|
|
|
|
|
|
|
|
|
|
|
Here is an example of a helm test pod definition in an example mariadb chart:
|
|
|
|
Here is an example of a helm test pod definition in an example wordpress chart. The test verifies the access and login to the mariadb database:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
mariadb/
|
|
|
|
wordpress/
|
|
|
|
Chart.yaml
|
|
|
|
Chart.yaml
|
|
|
|
README.md
|
|
|
|
README.md
|
|
|
|
values.yaml
|
|
|
|
values.yaml
|
|
|
@ -64,7 +64,7 @@ spec:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Steps to Run a Test Suite on a Release
|
|
|
|
## Steps to Run a Test Suite on a Release
|
|
|
|
1. `$ helm install mariadb`
|
|
|
|
1. `$ helm install wordpress`
|
|
|
|
```
|
|
|
|
```
|
|
|
|
NAME: quirky-walrus
|
|
|
|
NAME: quirky-walrus
|
|
|
|
LAST DEPLOYED: Mon Feb 13 13:50:43 2017
|
|
|
|
LAST DEPLOYED: Mon Feb 13 13:50:43 2017
|
|
|
|