diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1deb2c2e84..3249a73df1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,6 +83,24 @@ jobs: flink-version: "v1_20" http-client: ${{ matrix.http-client }} test: test_application_operations.sh + java_rutimes: + name: Java runtimes smoke test + strategy: + matrix: + http-client: [ "okhttp" ] + java-version: [ "11", "17", "21" ] + flink-version: + - "v1_20" + - "v1_18" + - "v1_19" + - "v1_17" + - "v1_16" + uses: ./.github/workflows/e2e.yaml + with: + java-version: ${{ matrix.java-version }} + flink-version: ${{ matrix.flink-version }} + http-client: ${{ matrix.http-client }} + test: test_application_operations.sh e2e_namespace_tests: name: Alternative namespace tests needs: e2e_smoke_test diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index d349a43471..db66f17973 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -77,7 +77,7 @@ jobs: kubectl get pods -n ${{ inputs.namespace }} - name: Run Flink e2e tests run: | - FLINK_IMAGE=$(sed --regexp-extended 's/v([0-9]+)_([0-9]+)/flink:\1.\2/g' <<< ${{ inputs.flink-version }} ) + FLINK_IMAGE=$(sed --regexp-extended 's/v([0-9]+)_([0-9]+)/flink:\1.\2/g' <<< ${{ inputs.flink-version }} )-java${{ inputs.javva-version }} echo FLINK_IMAGE=${FLINK_IMAGE} sed -i "s/image: flink:.*/image: ${FLINK_IMAGE}/" e2e-tests/data/*.yaml sed -i "s/flinkVersion: .*/flinkVersion: ${{ inputs.flink-version }}/" e2e-tests/data/*.yaml