Commit graph

16 commits

Author SHA1 Message Date
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