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:
83
83
flink-version : " v1_20"
84
84
http-client : ${{ matrix.http-client }}
85
85
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
86
104
e2e_namespace_tests :
87
105
name : Alternative namespace tests
88
106
needs : e2e_smoke_test
89
107
strategy :
90
108
matrix :
91
109
flink-version :
92
110
- " v1_20"
93
- - " v1_18"
94
111
- " v1_19"
112
+ - " v1_18"
95
113
- " v1_17"
96
114
- " v1_16"
97
115
mode :
Original file line number Diff line number Diff line change 27
27
create-namespace :
28
28
type : boolean
29
29
default : false
30
+ append-java-version :
31
+ type : boolean
32
+ default : false
30
33
31
34
jobs :
32
35
e2e_test :
78
81
- name : Run Flink e2e tests
79
82
run : |
80
83
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
81
87
echo FLINK_IMAGE=${FLINK_IMAGE}
82
88
sed -i "s/image: flink:.*/image: ${FLINK_IMAGE}/" e2e-tests/data/*.yaml
83
89
sed -i "s/flinkVersion: .*/flinkVersion: ${{ inputs.flink-version }}/" e2e-tests/data/*.yaml
You can’t perform that action at this time.
0 commit comments