diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5d7b7ba0b..3b3f3a482 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -42,7 +42,7 @@ concurrency: env: CAMEL_K_VERSION: 1.5.0 - YAKS_VERSION: 0.6.0 + YAKS_VERSION: 0.7.0 YAKS_IMAGE_NAME: "docker.io/citrusframework/yaks" jobs: @@ -63,7 +63,7 @@ jobs: rm -r _kamel - name: Get YAKS CLI run: | - curl --fail -L --silent https://github.com/citrusframework/yaks/releases/download/${YAKS_VERSION}/yaks-${YAKS_VERSION}-linux-64bit.tar.gz -o yaks.tar.gz + curl --fail -L --silent https://github.com/citrusframework/yaks/releases/download/v${YAKS_VERSION}/yaks-${YAKS_VERSION}-linux-64bit.tar.gz -o yaks.tar.gz mkdir -p _yaks tar -zxf yaks.tar.gz --directory ./_yaks sudo mv ./_yaks/yaks /usr/local/bin/ diff --git a/test/earthquake-source/yaks-config.yaml b/test/earthquake-source/yaks-config.yaml index 4538505fb..95b5a80f6 100644 --- a/test/earthquake-source/yaks-config.yaml +++ b/test/earthquake-source/yaks-config.yaml @@ -20,6 +20,7 @@ config: temporary: true pre: - name: installation + if: env:CI=true run: | # Install required Kamelets (these steps may be done globally in future versions) @@ -28,6 +29,7 @@ pre: kubectl apply -f ../../kamelets/earthquake-source.kamelet.yaml -n $YAKS_NAMESPACE post: - name: dump + if: env:CI=true run: | kamel dump -n $YAKS_NAMESPACE $(basename `pwd`)-dump.log mkdir -p /tmp/dumps diff --git a/test/insert-field-action/yaks-config.yaml b/test/insert-field-action/yaks-config.yaml index 51623aa59..efd942388 100644 --- a/test/insert-field-action/yaks-config.yaml +++ b/test/insert-field-action/yaks-config.yaml @@ -20,6 +20,7 @@ config: temporary: true pre: - name: installation + if: env:CI=true run: | # Install required Kamelets (these steps may be done globally in future versions) @@ -30,6 +31,7 @@ pre: kubectl apply -f insert-field-action-binding.yaml -n $YAKS_NAMESPACE post: - name: dump + if: env:CI=true run: | kamel dump -n $YAKS_NAMESPACE $(basename `pwd`)-dump.log mkdir -p /tmp/dumps diff --git a/test/mail-sink/yaks-config.yaml b/test/mail-sink/yaks-config.yaml index f1be932a0..c2e8d9570 100644 --- a/test/mail-sink/yaks-config.yaml +++ b/test/mail-sink/yaks-config.yaml @@ -32,6 +32,7 @@ config: - timer-to-mail.yaml pre: - name: installation + if: env:CI=true run: | # Install required Kamelets (these steps may be done globally in future versions) @@ -41,6 +42,7 @@ pre: kubectl apply -f ../../kamelets/timer-source.kamelet.yaml -n $YAKS_NAMESPACE post: - name: dump + if: env:CI=true run: | kamel dump -n $YAKS_NAMESPACE $(basename `pwd`)-dump.log mkdir -p /tmp/dumps