Skip to content

Commit

Permalink
using correct nu version
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadius committed Feb 27, 2025
1 parent d32435b commit 46eda37
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/helm-test-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ jobs:
id: setNussknackerVersion
run: '[[ $GITHUB_REF == refs/heads/release-* || $GITHUB_REF == refs/tags/release-* ]] && version=${GITHUB_REF##*/release-} && echo "Using version based on release branch/tag name: $version" && echo "nuVersion=$version" >> $GITHUB_OUTPUT || (echo "Using default version" && echo "nuVersion=${{env.NUSSKNACKER_VERSION}}" >> $GITHUB_OUTPUT)'
- name: helmTestRelease
run: ./ci-deploy-verify.sh "${{needs.build.outputs.version}}"
run: |
./ci-deploy-verify.sh "${{needs.build.outputs.version}}" "${{steps.setNussknackerVersion.outputs.nuVersion}}"
test-lite-postgres:
name: test lite-k8s streaming deployment mode postgres
runs-on: ubuntu-latest
Expand All @@ -104,7 +105,9 @@ jobs:
id: setNussknackerVersion
run: '[[ $GITHUB_REF == refs/heads/release-* || $GITHUB_REF == refs/tags/release-* ]] && version=${GITHUB_REF##*/release-} && echo "Using version based on release branch/tag name: $version" && echo "nuVersion=$version" >> $GITHUB_OUTPUT || (echo "Using default version" && echo "nuVersion=${{env.NUSSKNACKER_VERSION}}" >> $GITHUB_OUTPUT)'
- name: helmTestRelease
run: ./ci-deploy-verify.sh "${{needs.build.outputs.version}}" -f deploy-values-lite.yaml
run: |
./ci-deploy-verify.sh "${{needs.build.outputs.version}}" "${{steps.setNussknackerVersion.outputs.nuVersion}}" \
-f deploy-values-lite.yaml
test-lite-hsql:
name: test lite-k8s streaming deployment hsql
runs-on: ubuntu-latest
Expand All @@ -122,8 +125,13 @@ jobs:
args: >-
--config=.k3d/single-cluster.yml
--trace
- name: Set Nussknacker image version
id: setNussknackerVersion
run: '[[ $GITHUB_REF == refs/heads/release-* || $GITHUB_REF == refs/tags/release-* ]] && version=${GITHUB_REF##*/release-} && echo "Using version based on release branch/tag name: $version" && echo "nuVersion=$version" >> $GITHUB_OUTPUT || (echo "Using default version" && echo "nuVersion=${{env.NUSSKNACKER_VERSION}}" >> $GITHUB_OUTPUT)'
- name: helmTestRelease
run: ./ci-deploy-verify.sh "${{needs.build.outputs.version}}" -f deploy-values-lite.yaml -f deploy-values-db-hsql.yam
run: |
./ci-deploy-verify.sh "${{needs.build.outputs.version}}" "${{steps.setNussknackerVersion.outputs.nuVersion}}" \
-f deploy-values-lite.yaml -f deploy-values-db-hsql.yam
publish-snapshot:
name: publish-snapshot
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.head_ref, 'preview/') }}
Expand Down
1 change: 1 addition & 0 deletions ci-deploy-verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
set -x

CHART_VERSION=$1
NUSSKNACKER_VERSION=$1

function logOnExit {
echo -e "\n\n\n\n\n"
Expand Down

0 comments on commit 46eda37

Please sign in to comment.