From 81b2ba14cb580a327dc2d6bb59b958367f18d534 Mon Sep 17 00:00:00 2001 From: nicolaferraro Date: Mon, 17 May 2021 15:17:12 +0200 Subject: [PATCH] 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 57c85acf8..dc54dfac3 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 e15012a74..89f2caaca 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 106787075..b12571365 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