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 81b2ba14cb580a327dc2d6bb59b958367f18d534
Author: nicolaferraro <[email protected]>
AuthorDate: Mon May 17 15:17:12 2021 +0200

    delete all default kamelets before running the tests
---
 test/earthquake-source/yaks-config.yaml   | 3 ++-
 test/insert-field-action/yaks-config.yaml | 3 ++-
 test/timer-source/yaks-config.yaml        | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/earthquake-source/yaks-config.yaml 
b/test/earthquake-source/yaks-config.yaml
index 57c85ac..dc54dfa 100644
--- a/test/earthquake-source/yaks-config.yaml
+++ b/test/earthquake-source/yaks-config.yaml
@@ -23,7 +23,8 @@ pre:
   run: |
     # Install required Kamelets (these steps may be done globally in future 
versions)
 
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE -w
+    kubectl delete kamelet -n $YAKS_NAMESPACE --all
     kubectl apply -f ../../earthquake-source.kamelet.yaml -n $YAKS_NAMESPACE
 post:
 - name: dump
diff --git a/test/insert-field-action/yaks-config.yaml 
b/test/insert-field-action/yaks-config.yaml
index e15012a..89f2caa 100644
--- a/test/insert-field-action/yaks-config.yaml
+++ b/test/insert-field-action/yaks-config.yaml
@@ -23,7 +23,8 @@ pre:
   run: |
     # Install required Kamelets (these steps may be done globally in future 
versions)
 
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE -w
+    kubectl delete kamelet -n $YAKS_NAMESPACE --all
     kubectl apply -f ../../timer-source.kamelet.yaml -n $YAKS_NAMESPACE
     kubectl apply -f ../../insert-field-action.kamelet.yaml -n $YAKS_NAMESPACE
     kubectl apply -f insert-field-action-binding.yaml -n $YAKS_NAMESPACE
diff --git a/test/timer-source/yaks-config.yaml 
b/test/timer-source/yaks-config.yaml
index 1067870..b125713 100644
--- a/test/timer-source/yaks-config.yaml
+++ b/test/timer-source/yaks-config.yaml
@@ -23,7 +23,8 @@ pre:
   run: |
     # Install required Kamelets (these steps may be done globally in future 
versions)
 
-    kamel install -n $YAKS_NAMESPACE
+    kamel install -n $YAKS_NAMESPACE -w
+    kubectl delete kamelet -n $YAKS_NAMESPACE --all
     kubectl apply -f ../../timer-source.kamelet.yaml -n $YAKS_NAMESPACE
 post:
 - name: dump

Reply via email to