File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -83,15 +83,33 @@ jobs:
8383 flink-version : " v1_20"
8484 http-client : ${{ matrix.http-client }}
8585 test : test_application_operations.sh
86+ java_runtimes :
87+ name : Java runtimes smoke test
88+ needs : e2e_smoke_test
89+ strategy :
90+ matrix :
91+ http-client : [ "okhttp" ]
92+ java-version : [ "11", "17"]
93+ flink-version :
94+ - " v1_20"
95+ - " v1_19"
96+ - " v1_18"
97+ uses : ./.github/workflows/e2e.yaml
98+ with :
99+ java-version : ${{ matrix.java-version }}
100+ flink-version : ${{ matrix.flink-version }}
101+ http-client : ${{ matrix.http-client }}
102+ test : test_application_operations.sh
103+ append-java-version : true
86104 e2e_namespace_tests :
87105 name : Alternative namespace tests
88106 needs : e2e_smoke_test
89107 strategy :
90108 matrix :
91109 flink-version :
92110 - " v1_20"
93- - " v1_18"
94111 - " v1_19"
112+ - " v1_18"
95113 - " v1_17"
96114 - " v1_16"
97115 mode :
Original file line number Diff line number Diff line change 2727 create-namespace :
2828 type : boolean
2929 default : false
30+ append-java-version :
31+ type : boolean
32+ default : false
3033
3134jobs :
3235 e2e_test :
7881 - name : Run Flink e2e tests
7982 run : |
8083 FLINK_IMAGE=$(sed --regexp-extended 's/v([0-9]+)_([0-9]+)/flink:\1.\2/g' <<< ${{ inputs.flink-version }} )
84+ if [[ "${{ inputs.append-java-version }}" == "true" ]]; then
85+ FLINK_IMAGE=${FLINK_IMAGE}-java${{ inputs.java-version }}
86+ fi
8187 echo FLINK_IMAGE=${FLINK_IMAGE}
8288 sed -i "s/image: flink:.*/image: ${FLINK_IMAGE}/" e2e-tests/data/*.yaml
8389 sed -i "s/flinkVersion: .*/flinkVersion: ${{ inputs.flink-version }}/" e2e-tests/data/*.yaml
You can’t perform that action at this time.
0 commit comments