diff --git a/.github/workflows/helm-test-workflow.yaml b/.github/workflows/helm-test-workflow.yaml index b57eb06..4401d3c 100644 --- a/.github/workflows/helm-test-workflow.yaml +++ b/.github/workflows/helm-test-workflow.yaml @@ -59,56 +59,6 @@ jobs: with: name: helm-build path: "dist/${{env.NAME}}-${{steps.setVersion.outputs.version}}.tgz" - test-flink: - name: test flink mode - runs-on: ubuntu-latest - needs: [ build ] - steps: - - name: Checkout - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 - with: - name: helm-build - path: dist - - uses: AbsaOSS/k3d-action@v2.4.0 - with: - cluster-name: "k3s-default" - k3d-version: "v5.6.0" - 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: helmUpgrade - run: helm upgrade -i "${{env.RELEASE_NAME}}" dist/*.tgz --version "${{needs.build.outputs.version}}" --wait --debug -f deploy-values.yaml -f deploy-values-kafka-config.yaml --set "image.tag=${{steps.setNussknackerVersion.outputs.nuVersion}}_scala-2.12" - - name: helmTestRelease - run: ./test.sh "${{env.RELEASE_NAME}}" - test-streaming-lite-postgres: - name: test streaming-lite mode postgres - runs-on: ubuntu-latest - needs: [ build ] - steps: - - name: Checkout - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 - with: - name: helm-build - path: dist - - uses: AbsaOSS/k3d-action@v2.4.0 - with: - cluster-name: "k3s-default" - k3d-version: "v5.6.0" - 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: helmUpgrade - run: helm upgrade -i "${{env.RELEASE_NAME}}" dist/*.tgz --version "${{needs.build.outputs.version}}" --wait --debug -f deploy-values.yaml -f deploy-values-kafka-config.yaml -f deploy-values-streaming-lite.yaml --set "image.tag=${{steps.setNussknackerVersion.outputs.nuVersion}}_scala-2.12" - - name: helmTestRelease - run: ./test.sh "${{env.RELEASE_NAME}}" test-streaming-lite-hsql: name: test streaming-lite mode hsql runs-on: ubuntu-latest @@ -138,36 +88,11 @@ jobs: --set "image.tag=${{env.NUSSKNACKER_VERSION}}" - name: helmTestRelease run: ./test.sh "${{env.RELEASE_NAME}}" - test-request-response: - name: test request-response mode - runs-on: ubuntu-latest - needs: [ build ] - steps: - - name: Checkout - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 - with: - name: helm-build - path: dist - - uses: AbsaOSS/k3d-action@v2.4.0 - with: - cluster-name: "k3s-default" - k3d-version: "v5.6.0" - 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: helmUpgrade - run: helm upgrade -i "${{env.RELEASE_NAME}}" dist/*.tgz --version "${{needs.build.outputs.version}}" --wait --debug -f deploy-values.yaml -f deploy-values-request-response.yaml --set "image.tag=${{steps.setNussknackerVersion.outputs.nuVersion}}_scala-2.12" - - name: helmTestRelease - run: ./test.sh "${{env.RELEASE_NAME}}" publish-snapshot: name: publish-snapshot if: ${{ github.ref == 'refs/heads/main' || startsWith(github.head_ref, 'preview/') }} runs-on: ubuntu-latest - needs: [ build, test-flink, test-streaming-lite-postgres, test-streaming-lite-hsql, test-request-response ] + needs: [ build, test-streaming-lite-hsql ] steps: - uses: actions/download-artifact@v4 with: @@ -178,7 +103,7 @@ jobs: name: publish-release if: ${{ startsWith(github.ref, 'refs/tags') }} runs-on: ubuntu-latest - needs: [ build, test-flink, test-streaming-lite-postgres, test-streaming-lite-hsql, test-request-response ] + needs: [ build, test-streaming-lite-hsql ] steps: - uses: actions/download-artifact@v4 with: diff --git a/src/Chart.yaml b/src/Chart.yaml index 70df71b..383464f 100644 --- a/src/Chart.yaml +++ b/src/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: nussknacker # In the main branch it should be always the -SNAPSHOT version. Release versions should be on the tags only -version: 1.19.0-SNAPSHOT +version: 1.18.1-1 description: Nussknacker - a design, development, and deployment tool for stream processing home: https://nussknacker.io/ icon: https://nussknacker.io/wp-content/uploads/2021/10/Nussknacker-short-black.svg @@ -15,7 +15,7 @@ type: application # latest-staging version is used when someone run the snapshot build of this chart manually. scala_2.12 is because it can be used with Flink # During release it is replaced by the released image version. In the main we should always keep this version # TODO The best would be to publish X.Y.Z-latest docker image version in core and use it here to make it more explicit -appVersion: 1.19.0-SNAPSHOT +appVersion: 1.18.1 dependencies: - name: postgresql version: ~12.1.15