Skip to content

Commit

Permalink
test: add lifecycle-log collector
Browse files Browse the repository at this point in the history
Signed-off-by: sudipto baral <[email protected]>
  • Loading branch information
sudiptob2 committed Jan 13, 2024
1 parent 3aebad9 commit 12c462b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/scheduling-gates/simple-deployment/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ collectors:
selector: app=test
- command: kubectl describe keptnworkloadversion -n $NAMESPACE
- command: kubectl describe keptnappversion -n $NAMESPACE
- command: kubectl logs -l control-plane=lifecycle-operator -n keptn-system
---
apiVersion: apps/v1
kind: Deployment
Expand Down
9 changes: 9 additions & 0 deletions test/scheduling-gates/simple-deployment/01-assert.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
collectors:
- type: pod
selector: app=test
- command: kubectl describe keptnworkloadversion -n $NAMESPACE
- command: kubectl describe keptnappversion -n $NAMESPACE
- command: kubectl logs -l control-plane=lifecycle-operator -n keptn-system
---
apiVersion: lifecycle.keptn.sh/v1beta1
kind: KeptnWorkload
metadata:
Expand Down

0 comments on commit 12c462b

Please sign in to comment.