Skip to content

Commit

Permalink
Add catch blocks for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
komer3 committed Apr 29, 2024
1 parent 49c4679 commit ae004f8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e/default-CAPL-cluster/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ spec:
file: default-cluster.yaml
- assert:
file: assert-child-cluster-resources.yaml
catch:
- events:
namespace: ($namespace)
- get:
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
- name: Check if the linodes are created
try:
- script:
Expand Down
6 changes: 6 additions & 0 deletions e2e/k3s-capl-cluster/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ spec:
file: k3s-cluster.yaml
- assert:
file: assert-child-cluster-resources.yaml
catch:
- events:
namespace: ($namespace)
- get:
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
- name: Check if the linodes are created
try:
- script:
Expand Down
6 changes: 6 additions & 0 deletions e2e/rke2-capl-cluster/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ spec:
file: rke2-cluster.yaml
- assert:
file: assert-child-cluster-resources.yaml
catch:
- events:
namespace: ($namespace)
- get:
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineDeployment
- name: Check if the linodes are created
try:
- script:
Expand Down

0 comments on commit ae004f8

Please sign in to comment.