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>
5 years ago
Jacob LeGrone
0645b92c1b
Print test status
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
6f18519957
Remove test --cleanup flag
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
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>
5 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Marc Khouzam
5aa7c20f7c
Check connectivity to cluster for helm test run
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
5 years ago
Matthew Fisher
4c4b10668a
ref(test): join all hook manifests before building
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
4d6d384741
style(action): fix style tests
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
fddf066121
fix(test): restore --cleanup
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Jacob LeGrone
49987975a8
fix(test): wait for pods and record status
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
Jacob LeGrone
caa4240a30
refactor(release): track test executions via Hook type
...
Signed-off-by: Jacob LeGrone <git@jacob.work>
5 years ago
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>
5 years ago
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>
6 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
f185103b60
ref(action): move AddFlags functions back to cmd
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago