-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[elasticsearch] add value to disable tests #1116
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
💚 CLA has been signed |
c840c9d
to
04c3a5b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, can you update the README with this new value?
04c3a5b
to
a6490b8
Compare
Signed-off-by: nflaig <[email protected]>
a6490b8
to
3a87fe8
Compare
@jmlrt Thanks again for the review! I updated the README with the new value |
@jmlrt any update on this? Let me know if I should apply further changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the conflict. Change LGTM. As a minor improvement, I think it could be great to also add a {{- if .Values.tests.enabled -}}
condition to not print test command when the test is disabled.
helm-charts/elasticsearch/templates/NOTES.txt
Lines 3 to 4 in 0e5a168
2. Test cluster health using Helm test. | |
$ helm --namespace={{ .Release.Namespace }} test {{ .Release.Name }} |
… is disabled Signed-off-by: nflaig <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM⛴
jenkins test this please |
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Nico Flaig <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Nico Flaig <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Nico Flaig <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]> Co-authored-by: Nico Flaig <[email protected]>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <[email protected]> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <[email protected]> Co-authored-by: Julien Mailleret <[email protected]>
It should be possible to disable the tests of the chart. This is especially important if the chart is used as a subchart which means the test are also executed if you run
helm test
. For some users it might not be desirable to run the test provided by the elastic helm chart, the value gives the user of the chart the option to configure this.${CHART}/tests/*.py
${CHART}/examples/*/test/goss.yaml