6464 cd flink-autoscaler-plugin-jdbc
6565 mvn -B verify -Dit.skip=false
6666 cd ..
67+ e2e_smoketest :
68+ name : HTTP Client smoke test
69+ runs-on : ubuntu-latest
70+ strategy :
71+ matrix :
72+ http-client : [ "okhttp", "jdk", "jetty", "vertx" ]
73+ version : ["v1_20"]
74+ mode : ["native"]
75+ namespace : ["default"]
76+ java-version : ["21"]
77+ test :
78+ - test_application_operations.sh
79+ # - HTTP_CLIENT=${{ matrix.http-client }}
80+ # - 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}" .
81+
82+
6783 e2e_ci :
6884 runs-on : ubuntu-latest
6985 strategy :
7288 namespace : ["default","flink"]
7389 mode : ["native", "standalone"]
7490 java-version : [ 11, 17, 21 ]
75- http-client : [ "okhttp" ]
7691 test :
7792 - test_application_kubernetes_ha.sh
7893 - test_application_operations.sh
@@ -96,34 +111,6 @@ jobs:
96111 image : flink:1.17
97112 - version : v1_16
98113 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
127114 exclude :
128115 - namespace : default
129116 test : test_multi_sessionjob.sh
@@ -192,8 +179,7 @@ jobs:
192179 export SHELL=/bin/bash
193180 export DOCKER_BUILDKIT=1
194181 eval $(minikube -p minikube docker-env)
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}" .
182+ docker build --progress=plain --no-cache -f ./Dockerfile -t flink-kubernetes-operator:ci-latest --progress plain .
197183 docker images
198184 - name : Start the operator
199185 run : |
@@ -202,7 +188,7 @@ jobs:
202188 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
203189 sed -i "s/replicas: 1/replicas: 2/" helm/flink-kubernetes-operator/values.yaml
204190 fi
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 }}
191+ 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 }}
206192 kubectl wait --for=condition=Available --timeout=120s -n ${{ matrix.namespace }} deploy/flink-kubernetes-operator
207193 kubectl get pods -n ${{ matrix.namespace }}
208194 - name : Run Flink e2e tests
0 commit comments