Skip to content

Commit

Permalink
delete all default kamelets before running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed May 17, 2021
1 parent 2c8187b commit 3bd2c17
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/earthquake-source/yaks-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion test/insert-field-action/yaks-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion test/timer-source/yaks-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bd2c17

Please sign in to comment.