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 e62e7a3146c099cea9905cffc34a99eef49a1138 Author: nicolaferraro <[email protected]> AuthorDate: Mon May 3 14:42:37 2021 +0200 add dump to test failure --- .github/workflows/test.yaml | 9 +++++++-- test/insert-field-action/yaks-config.yaml | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e776ab3..57c0d38 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -36,8 +36,8 @@ on: - 'NOTICE' env: - CAMEL_K_VERSION: 1.3.2 - YAKS_VERSION: 0.4.0-202104120032 + CAMEL_K_VERSION: 1.4.0 + YAKS_VERSION: 0.4.0-202105030021 jobs: test: @@ -84,3 +84,8 @@ jobs: echo "Running tests" yaks test ./test + - uses: actions/upload-artifact@v2 + if: failure() + with: + name: dumps + path: /tmp/dumps/*.log diff --git a/test/insert-field-action/yaks-config.yaml b/test/insert-field-action/yaks-config.yaml index 16e9150..6290a6a 100644 --- a/test/insert-field-action/yaks-config.yaml +++ b/test/insert-field-action/yaks-config.yaml @@ -27,3 +27,9 @@ pre: 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 +post: +- name: dump + run: | + kamel dump $(basename `pwd`)-dump.log + mkdir -p /tmp/dumps + cp *-dump.log /tmp/dumps
