Skip to content

Commit 071042c

Browse files
committed
[FLINK-36332] Narrow down the matrix for httpclient testing.
1 parent 101cf46 commit 071042c

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
namespace: ["default","flink"]
7979
mode: ["native", "standalone"]
8080
java-version: [ 11, 17, 21 ]
81-
http-client: [ "okhttp", "vertx", "jetty", "jdk" ]
81+
http-client: [ "okhttp" ]
8282
test:
8383
- test_application_kubernetes_ha.sh
8484
- test_application_operations.sh
@@ -102,6 +102,34 @@ jobs:
102102
image: flink:1.17
103103
- version: v1_16
104104
image: flink:1.16
105+
- version: v1_20
106+
# Version isn't critical but should ideally be latest.
107+
mode: "native"
108+
namespace: "default"
109+
test: test_application_operations.sh
110+
http-client: "okhttp"
111+
java-version: 21
112+
- version: v1_20
113+
# Version isn't critical but should ideally be latest.
114+
mode: "native"
115+
namespace: "default"
116+
test: test_application_operations.sh
117+
http-client: "vertx"
118+
java-version: 21
119+
- version: v1_20
120+
# Version isn't critical but should ideally be latest.
121+
mode: "native"
122+
namespace: "default"
123+
test: test_application_operations.sh
124+
http-client: "jetty"
125+
java-version: 21
126+
- version: v1_20
127+
# Version isn't critical but should ideally be latest.
128+
mode: "native"
129+
namespace: "default"
130+
test: test_application_operations.sh
131+
http-client: "jdk"
132+
java-version: 21
105133
exclude:
106134
- namespace: default
107135
test: test_multi_sessionjob.sh
@@ -176,7 +204,8 @@ jobs:
176204
export SHELL=/bin/bash
177205
export DOCKER_BUILDKIT=1
178206
eval $(minikube -p minikube docker-env)
179-
docker build --progress=plain --no-cache -f ./Dockerfile -t flink-kubernetes-operator:ci-${{ matrix.http-client }}-latest --progress plain --build-arg HTTP_CLIENT=${{ matrix.http-client }} .
207+
HTTP_CLIENT=${{ matrix.http-client }}
208+
docker build --progress=plain --no-cache -f ./Dockerfile -t flink-kubernetes-operator:ci-${{ matrix.http-client }}-latest --progress plain --build-arg HTTP_CLIENT="${HTTP_CLIENT:-okhttp}" .
180209
docker images
181210
- name: Start the operator
182211
run: |
@@ -185,7 +214,7 @@ jobs:
185214
sed -i "s/# kubernetes.operator.leader-election.lease-name: flink-operator-lease/kubernetes.operator.leader-election.lease-name: flink-operator-lease/" helm/flink-kubernetes-operator/conf/flink-conf.yaml
186215
sed -i "s/replicas: 1/replicas: 2/" helm/flink-kubernetes-operator/values.yaml
187216
fi
188-
helm --debug install flink-kubernetes-operator -n ${{ matrix.namespace }} helm/flink-kubernetes-operator --set image.repository=flink-kubernetes-operator --set image.tag=ci-latest ${{ matrix.extraArgs }}
217+
helm --debug install flink-kubernetes-operator -n ${{ matrix.namespace }} helm/flink-kubernetes-operator --set image.repository=flink-kubernetes-operator --set image.tag=ci-${{ matrix.http-client }}-latest ${{ matrix.extraArgs }}
189218
kubectl wait --for=condition=Available --timeout=120s -n ${{ matrix.namespace }} deploy/flink-kubernetes-operator
190219
kubectl get pods -n ${{ matrix.namespace }}
191220
- name: Run Flink e2e tests

0 commit comments

Comments
 (0)