This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6db4a8035e03189d4814d7e2f886c0ba2bcb98c1
Author: nicolaferraro <[email protected]>
AuthorDate: Thu May 13 11:24:32 2021 +0200

    add dumps
---
 test/earthquake-source/yaks-config.yaml   | 6 ++++++
 test/insert-field-action/yaks-config.yaml | 2 +-
 test/timer-source/yaks-config.yaml        | 6 ++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/test/earthquake-source/yaks-config.yaml 
b/test/earthquake-source/yaks-config.yaml
index efeddeb..57c85ac 100644
--- a/test/earthquake-source/yaks-config.yaml
+++ b/test/earthquake-source/yaks-config.yaml
@@ -25,3 +25,9 @@ pre:
 
     kamel install -n $YAKS_NAMESPACE
     kubectl apply -f ../../earthquake-source.kamelet.yaml -n $YAKS_NAMESPACE
+post:
+- name: dump
+  run: |
+    kamel dump -n $YAKS_NAMESPACE $(basename `pwd`)-dump.log
+    mkdir -p /tmp/dumps
+    cp *-dump.log /tmp/dumps
diff --git a/test/insert-field-action/yaks-config.yaml 
b/test/insert-field-action/yaks-config.yaml
index 6290a6a..e15012a 100644
--- a/test/insert-field-action/yaks-config.yaml
+++ b/test/insert-field-action/yaks-config.yaml
@@ -30,6 +30,6 @@ pre:
 post:
 - name: dump
   run: |
-    kamel dump $(basename `pwd`)-dump.log
+    kamel dump -n $YAKS_NAMESPACE $(basename `pwd`)-dump.log
     mkdir -p /tmp/dumps
     cp *-dump.log /tmp/dumps
diff --git a/test/timer-source/yaks-config.yaml 
b/test/timer-source/yaks-config.yaml
index b6d4123..1067870 100644
--- a/test/timer-source/yaks-config.yaml
+++ b/test/timer-source/yaks-config.yaml
@@ -25,3 +25,9 @@ pre:
 
     kamel install -n $YAKS_NAMESPACE
     kubectl apply -f ../../timer-source.kamelet.yaml -n $YAKS_NAMESPACE
+post:
+- name: dump
+  run: |
+    kamel dump -n $YAKS_NAMESPACE $(basename `pwd`)-dump.log
+    mkdir -p /tmp/dumps
+    cp *-dump.log /tmp/dumps

Reply via email to