Skip to content

Commit b882ab7

Browse files
mehdid93zentol
andauthored
[FLINK-34194] Update CI to Ubuntu 22.04 (Jammy) (#25827)
* Update CI to Ubuntu 22.04 (Jammy) --------- Co-authored-by: Chesnay Schepler <[email protected]>
1 parent 6ce145b commit b882ab7

7 files changed

+23
-23
lines changed

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fi
4949
- name: Build documentation
5050
run: |
51-
docker run --rm --volume "$PWD:/root/flink" chesnay/flink-ci:java_8_11_17_21_maven_386 bash -c "cd /root/flink && ./.github/workflows/docs.sh"
51+
docker run --rm --volume "$PWD:/root/flink" chesnay/flink-ci:java_8_11_17_21_maven_386_jammy bash -c "cd /root/flink && ./.github/workflows/docs.sh"
5252
- name: Upload documentation
5353
uses: burnett01/[email protected]
5454
with:

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
name: "Compile"
7373
runs-on: ubuntu-22.04
7474
container:
75-
image: mapohl/flink-ci:FLINK-34194
75+
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
7777
# --privileged allows writing coredumps in docker (FLINK-16973)
7878
options: --init --privileged
@@ -133,7 +133,7 @@ jobs:
133133
needs: compile
134134
runs-on: ubuntu-22.04
135135
container:
136-
image: mapohl/flink-ci:FLINK-34194
136+
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
137137
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
138138
# --privileged allows writing coredumps in docker (FLINK-16973)
139139
options: --init --privileged
@@ -173,7 +173,7 @@ jobs:
173173
needs: compile
174174
runs-on: ubuntu-22.04
175175
container:
176-
image: mapohl/flink-ci:FLINK-34194
176+
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
177177
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
178178
# --privileged allows writing coredumps in docker (FLINK-16973)
179179
options: --init --privileged

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
name: "Basic QA"
4444
runs-on: ubuntu-22.04
4545
container:
46-
image: mapohl/flink-ci:FLINK-34194
46+
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
4848
# --privileged allows writing coredumps in docker (FLINK-16973)
4949
options: --init --privileged

azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resources:
3939
# Container with SSL to have the same environment everywhere.
4040
# see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
4141
- container: flink-build-container
42-
image: chesnay/flink-ci:java_8_11_17_21_maven_386
42+
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
4343
# On AZP provided machines, set this flag to allow writing coredumps in docker
4444
options: --privileged
4545

@@ -73,16 +73,16 @@ stages:
7373
parameters: # see template file for a definition of the parameters.
7474
stage_name: ci_build
7575
test_pool_definition:
76-
vmImage: 'ubuntu-20.04'
76+
vmImage: 'ubuntu-22.04'
7777
e2e_pool_definition:
78-
vmImage: 'ubuntu-20.04'
78+
vmImage: 'ubuntu-22.04'
7979
environment: PROFILE="-Dflink.hadoop.version=2.10.2"
8080
run_end_to_end: false
8181
container: flink-build-container
8282
jdk: 8
8383
- job: docs_404_check # run on a MSFT provided machine
8484
pool:
85-
vmImage: 'ubuntu-20.04'
85+
vmImage: 'ubuntu-22.04'
8686
steps:
8787
- task: GoTool@0
8888
inputs:

tools/azure-pipelines/build-apache-repo.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ resources:
3939
# Container with SSL to have the same environment everywhere.
4040
# see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
4141
- container: flink-build-container
42-
image: chesnay/flink-ci:java_8_11_17_21_maven_386
42+
image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
4343

4444
variables:
4545
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository
@@ -68,14 +68,14 @@ stages:
6868
test_pool_definition:
6969
name: Default
7070
e2e_pool_definition:
71-
vmImage: 'ubuntu-20.04'
71+
vmImage: 'ubuntu-22.04'
7272
environment: PROFILE="-Dflink.hadoop.version=2.10.2"
7373
run_end_to_end: false
7474
container: flink-build-container
7575
jdk: 8
7676
- job: docs_404_check # run on a MSFT provided machine
7777
pool:
78-
vmImage: 'ubuntu-20.04'
78+
vmImage: 'ubuntu-22.04'
7979
steps:
8080
# Skip docs check if this is a pull request that doesn't contain a documentation change
8181
- task: GoTool@0
@@ -110,9 +110,9 @@ stages:
110110
parameters:
111111
stage_name: cron_azure
112112
test_pool_definition:
113-
vmImage: 'ubuntu-20.04'
113+
vmImage: 'ubuntu-22.04'
114114
e2e_pool_definition:
115-
vmImage: 'ubuntu-20.04'
115+
vmImage: 'ubuntu-22.04'
116116
environment: PROFILE="-Dflink.hadoop.version=2.10.2"
117117
run_end_to_end: true
118118
container: flink-build-container
@@ -123,7 +123,7 @@ stages:
123123
test_pool_definition:
124124
name: Default
125125
e2e_pool_definition:
126-
vmImage: 'ubuntu-20.04'
126+
vmImage: 'ubuntu-22.04'
127127
environment: PROFILE="-Dflink.hadoop.version=3.2.3 -Phadoop3-tests,hive3"
128128
run_end_to_end: true
129129
container: flink-build-container
@@ -134,7 +134,7 @@ stages:
134134
test_pool_definition:
135135
name: Default
136136
e2e_pool_definition:
137-
vmImage: 'ubuntu-20.04'
137+
vmImage: 'ubuntu-22.04'
138138
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Djdk11 -Pjava11-target"
139139
run_end_to_end: true
140140
container: flink-build-container
@@ -145,7 +145,7 @@ stages:
145145
test_pool_definition:
146146
name: Default
147147
e2e_pool_definition:
148-
vmImage: 'ubuntu-20.04'
148+
vmImage: 'ubuntu-22.04'
149149
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Djdk11 -Djdk17 -Pjava17-target"
150150
run_end_to_end: true
151151
container: flink-build-container
@@ -156,7 +156,7 @@ stages:
156156
test_pool_definition:
157157
name: Default
158158
e2e_pool_definition:
159-
vmImage: 'ubuntu-20.04'
159+
vmImage: 'ubuntu-22.04'
160160
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Djdk11 -Djdk17 -Djdk21 -Pjava21-target"
161161
run_end_to_end: true
162162
container: flink-build-container
@@ -167,14 +167,14 @@ stages:
167167
test_pool_definition:
168168
name: Default
169169
e2e_pool_definition:
170-
vmImage: 'ubuntu-20.04'
170+
vmImage: 'ubuntu-22.04'
171171
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Penable-adaptive-scheduler"
172172
run_end_to_end: true
173173
container: flink-build-container
174174
jdk: 8
175175
- job: docs_404_check # run on a MSFT provided machine
176176
pool:
177-
vmImage: 'ubuntu-20.04'
177+
vmImage: 'ubuntu-22.04'
178178
steps:
179179
- task: GoTool@0
180180
inputs:

tools/azure-pipelines/build-nightly-dist.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ parameters:
1919
jobs:
2020
- job: ${{parameters.stage_name}}_binary
2121
pool:
22-
vmImage: 'ubuntu-20.04'
22+
vmImage: 'ubuntu-22.04'
2323
container: flink-build-container
2424
workspace:
2525
clean: all
@@ -69,7 +69,7 @@ jobs:
6969
# artifact: nightly-release
7070
- job: ${{parameters.stage_name}}_maven
7171
pool:
72-
vmImage: 'ubuntu-20.04'
72+
vmImage: 'ubuntu-22.04'
7373
container: flink-build-container
7474
timeoutInMinutes: 240
7575
workspace:

tools/azure-pipelines/build-python-wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
jobs:
1717
- job: build_wheels_on_Linux
1818
pool:
19-
vmImage: 'ubuntu-20.04'
19+
vmImage: 'ubuntu-22.04'
2020
steps:
2121
- script: |
2222
cd flink-python

0 commit comments

Comments
 (0)