Skip to content

Commit 57b83ec

Browse files
committed
[FLINK-36332] include http-client to the test matrix for e2e tests
1 parent 64ad0ae commit 57b83ec

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
@@ -78,6 +78,7 @@ jobs:
7878
namespace: ["default","flink"]
7979
mode: ["native", "standalone"]
8080
java-version: [ 11, 17, 21 ]
81+
http-client: [ "okhttp", "vertx", "jetty", "jdk" ]
8182
test:
8283
- test_application_kubernetes_ha.sh
8384
- test_application_operations.sh
@@ -175,7 +176,7 @@ jobs:
175176
export SHELL=/bin/bash
176177
export DOCKER_BUILDKIT=1
177178
eval $(minikube -p minikube docker-env)
178-
docker build --progress=plain --no-cache -f ./Dockerfile -t flink-kubernetes-operator:ci-latest --progress plain .
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 }} .
179180
docker images
180181
- name: Start the operator
181182
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)