Skip to content

Commit cac5a1c

Browse files
committed
[FLINK-36332] Narrow down the matrix for httpclient testing.
1 parent e79bf89 commit cac5a1c

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
@@ -72,7 +72,7 @@ jobs:
7272
namespace: ["default","flink"]
7373
mode: ["native", "standalone"]
7474
java-version: [ 11, 17, 21 ]
75-
http-client: [ "okhttp", "vertx", "jetty", "jdk" ]
75+
http-client: [ "okhttp" ]
7676
test:
7777
- test_application_kubernetes_ha.sh
7878
- test_application_operations.sh
@@ -96,6 +96,34 @@ jobs:
9696
image: flink:1.17
9797
- version: v1_16
9898
image: flink:1.16
99+
- version: v1_20
100+
# Version isn't critical but should ideally be latest.
101+
mode: "native"
102+
namespace: "default"
103+
test: test_application_operations.sh
104+
http-client: "okhttp"
105+
java-version: 21
106+
- version: v1_20
107+
# Version isn't critical but should ideally be latest.
108+
mode: "native"
109+
namespace: "default"
110+
test: test_application_operations.sh
111+
http-client: "vertx"
112+
java-version: 21
113+
- version: v1_20
114+
# Version isn't critical but should ideally be latest.
115+
mode: "native"
116+
namespace: "default"
117+
test: test_application_operations.sh
118+
http-client: "jetty"
119+
java-version: 21
120+
- version: v1_20
121+
# Version isn't critical but should ideally be latest.
122+
mode: "native"
123+
namespace: "default"
124+
test: test_application_operations.sh
125+
http-client: "jdk"
126+
java-version: 21
99127
exclude:
100128
- namespace: default
101129
test: test_multi_sessionjob.sh
@@ -164,7 +192,8 @@ jobs:
164192
export SHELL=/bin/bash
165193
export DOCKER_BUILDKIT=1
166194
eval $(minikube -p minikube docker-env)
167-
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 }} .
195+
HTTP_CLIENT=${{ matrix.http-client }}
196+
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}" .
168197
docker images
169198
- name: Start the operator
170199
run: |
@@ -173,7 +202,7 @@ jobs:
173202
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
174203
sed -i "s/replicas: 1/replicas: 2/" helm/flink-kubernetes-operator/values.yaml
175204
fi
176-
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 }}
205+
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 }}
177206
kubectl wait --for=condition=Available --timeout=120s -n ${{ matrix.namespace }} deploy/flink-kubernetes-operator
178207
kubectl get pods -n ${{ matrix.namespace }}
179208
- name: Run Flink e2e tests

0 commit comments

Comments
 (0)