Skip to content

Commit

Permalink
test: add KUTTL collectors for scheduling gate tests (#2723)
Browse files Browse the repository at this point in the history
Signed-off-by: sudipto baral <[email protected]>
  • Loading branch information
sudiptob2 authored Jan 24, 2024
1 parent 1cfaedf commit 5988936
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/scheduling-gates/simple-deployment/00-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: apps/v1
kind: Deployment
metadata:
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 5988936

Please sign in to comment.