Skip to content

Commit 4990f9b

Browse files
committed
[FLINK-36332] include http-client to the test matrix for e2e tests
1 parent 30ffa69 commit 4990f9b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
namespace: ["default","flink"]
7373
mode: ["native", "standalone"]
7474
java-version: [ 11, 17, 21 ]
75+
http-client: [ "okhttp", "vertx", "jetty", "jdk" ]
7576
test:
7677
- test_application_kubernetes_ha.sh
7778
- test_application_operations.sh
@@ -163,7 +164,7 @@ jobs:
163164
export SHELL=/bin/bash
164165
export DOCKER_BUILDKIT=1
165166
eval $(minikube -p minikube docker-env)
166-
docker build --progress=plain --no-cache -f ./Dockerfile -t flink-kubernetes-operator:ci-latest --progress plain .
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 }} .
167168
docker images
168169
- name: Start the operator
169170
run: |

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
# Build
1919
FROM maven:3.8.4-eclipse-temurin-11 AS build
2020
ARG SKIP_TESTS=true
21+
ARG HTTP_CLIENT=okhttp
2122

2223
WORKDIR /app
2324

2425
COPY . .
2526

26-
RUN --mount=type=cache,target=/root/.m2 mvn -ntp clean install -pl flink-kubernetes-standalone,flink-kubernetes-operator-api,flink-kubernetes-operator,flink-autoscaler,flink-kubernetes-webhook -DskipTests=$SKIP_TESTS
27+
RUN --mount=type=cache,target=/root/.m2 mvn -ntp clean install -pl flink-kubernetes-standalone,flink-kubernetes-operator-api,flink-kubernetes-operator,flink-autoscaler,flink-kubernetes-webhook -DskipTests=$SKIP_TESTS -Dfabric8.httpclinent.impl="$HTTP_CLIENT"
2728

2829
RUN cd /app/tools/license; mkdir jars; cd jars; \
2930
cp /app/flink-kubernetes-operator/target/flink-kubernetes-operator-*-shaded.jar . && \

0 commit comments

Comments
 (0)