Skip to content

Commit fd1a977

Browse files
authored
[FLINK-38487][build] bump vmImage version to ubuntu-24.04 in GHA
1 parent 5156147 commit fd1a977

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/template.flink-ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ env:
7070
jobs:
7171
compile:
7272
name: "Compile"
73-
runs-on: ubuntu-22.04
73+
runs-on: ubuntu-24.04
7474
container:
7575
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
7676
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
@@ -126,7 +126,7 @@ jobs:
126126
packaging:
127127
name: "Test packaging/licensing"
128128
needs: compile
129-
runs-on: ubuntu-22.04
129+
runs-on: ubuntu-24.04
130130
container:
131131
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
132132
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
@@ -166,7 +166,7 @@ jobs:
166166
test:
167167
name: "Test (module: ${{ matrix.module }})"
168168
needs: compile
169-
runs-on: ubuntu-22.04
169+
runs-on: ubuntu-24.04
170170
container:
171171
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
172172
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
@@ -290,7 +290,7 @@ jobs:
290290
name: "E2E (group ${{ matrix.group }})"
291291
needs: compile
292292
# the end to end tests are not executed in Flink's CI Docker container due to problems when running Docker-in-Docker
293-
runs-on: ubuntu-22.04
293+
runs-on: ubuntu-24.04
294294
timeout-minutes: 310
295295
env:
296296
# timeout in minutes - this environment variable is required by uploading_watchdog.sh
@@ -331,7 +331,9 @@ jobs:
331331
python-version: '3.12'
332332

333333
- name: "Install missing packages"
334-
run: sudo apt-get install -y net-tools docker zip
334+
run: sudo apt-get install -y net-tools zip &&
335+
curl -sSL -o kubectl "https://dl.k8s.io/release/$(curl -sSL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" &&
336+
sudo install -m 0755 kubectl /usr/local/bin/kubectl
335337

336338
# netty-tcnative requires OpenSSL v1.0.0
337339
- name: "Install OpenSSL"

.github/workflows/template.pre-compile-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ permissions: read-all
4141
jobs:
4242
qa:
4343
name: "Basic QA"
44-
runs-on: ubuntu-22.04
44+
runs-on: ubuntu-24.04
4545
container:
4646
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
4747
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown

0 commit comments

Comments
 (0)