Commit graph

22 commits

Author SHA1 Message Date
Miles Wilson
0c541398f2 Added support for hiding notes from install/upgrade output
Signed-off-by: Miles Wilson <wilson.mil@icloud.com>
2023-10-05 15:59:58 -04:00
Bingtan Lu
4e5e68d55c fix(helm): fix GetPodLogs, the hooks should be sorted before get the logs of each hook
Signed-off-by: lubingtan <lubingtan@126.com>
2023-08-22 16:57:57 +08:00
alexandr.danilin
c598a226e9 Fixes #10566
Signed-off-by: alexandr.danilin <alexandr.danilin@ooma.com>
2022-02-17 18:47:10 +03:00
Chris Wells
2a7a98ae5a feat: Allow helm test to run a subset of tests
Signed-off-by: Chris Wells <chriswells0@users.noreply.github.com>
2020-10-31 17:21:10 -04:00
Matt Butcher
ed5fba5142
refactor the release name validation to be consistent across Helm
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-09-17 11:34:31 -06:00
Adam Reese
c2da4fd53d
ref(*): kubernetes v1.18 (#7831)
Upgrade Kubernetes libraries to v0.18.0

Add new lazy load KubernetesClientSet to avoid missing kubeconfig error

In kubernetes v1.18 kubeconfig validation was added.  Minikube and Kind
both remove kubeconfig when stopping clusters.  This causes and error
when running any helm commands because we initialize the client before
executing the command.

Signed-off-by: Adam Reese <adam@reese.io>
2020-04-13 08:40:38 -07:00
Taylor Thomas
25697a62c4 feat(test): Adds --logs flag
This is a v3 port of #6612. There have been significant changes due to the way
Helm 3 refactored things. I chose to add the method for getting logs to the
testing client because it seemed like something that someone using Helm
as an SDK might want. It takes a writer because it is more efficient (less
copying) and can write to any sort of buffer desired

Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-10-17 17:19:17 -05:00
Jacob LeGrone
0645b92c1b
Print test status
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-10-10 17:50:26 -04:00
Jacob LeGrone
6f18519957
Remove test --cleanup flag
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-10-10 15:11:53 -04:00
Adam Reese
572b92dc8a
feat(pkg/kube): add openapi validation for k8s objects
Add back OpenAPI validation for kubernetes objects.

Fixes: #6382

Signed-off-by: Adam Reese <adam@reese.io>
2019-10-08 12:55:19 -07:00
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
Signed-off-by: Matt Farina <matt@mattfarina.com>
2019-10-03 14:27:05 -04:00
Marc Khouzam
5aa7c20f7c Check connectivity to cluster for helm test run
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2019-09-07 15:15:24 -04:00
Matthew Fisher
4c4b10668a
ref(test): join all hook manifests before building
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-13 16:04:08 -07:00
Matthew Fisher
4d6d384741
style(action): fix style tests
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-13 12:14:48 -07:00
Matthew Fisher
fddf066121
fix(test): restore --cleanup
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-08-13 11:56:39 -07:00
Jacob LeGrone
49987975a8
fix(test): wait for pods and record status
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-08-02 00:16:02 -04:00
Jacob LeGrone
caa4240a30
refactor(release): track test executions via Hook type
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-07-31 15:33:56 -04:00
Jacob LeGrone
72127c391c
feat(test): define tests as Jobs and allow arbitrary supporting resources
This updates commands install, upgrade, delete, and test to share the
same implementation for hook execution.

BREAKING CHANGES:
- The `test-failure` hook annotation is removed.

Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-07-31 15:33:56 -04:00
Adam Reese
2dd4744d23
ref(pkg/kube): extract wait logic from install/update
This change adds a new method for waiting for kubernetes resources.

Signed-off-by: Adam Reese <adam@reese.io>
2019-05-07 12:29:11 -07:00
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
Signed-off-by: Adam Reese <adam@reese.io>
2019-03-13 13:43:47 -07:00
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-13 08:58:35 -07:00
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-12 09:47:12 -07:00