This repository has been archived by the owner on May 28, 2024. It is now read-only.
forked from elastic/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[elasticsearch] add value to disable tests (elastic#1116)
* [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]>
- Loading branch information
Showing
4 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
1. Watch all cluster members come up. | ||
$ kubectl get pods --namespace={{ .Release.Namespace }} -l app={{ template "elasticsearch.uname" . }} -w | ||
{{- if .Values.tests.enabled -}} | ||
2. Test cluster health using Helm test. | ||
$ helm test {{ .Release.Name }} | ||
$ helm --namespace={{ .Release.Namespace }} test {{ .Release.Name }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters