Skip to content

Commit

Permalink
[FLINK-XXXXX] add tests of the various different Java versions as the…
Browse files Browse the repository at this point in the history
… job images.
  • Loading branch information
SamBarker committed Nov 6, 2024
1 parent 6d13876 commit 076c5d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 076c5d8

Please sign in to comment.