You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by af...@apache.org on 2025/01/13 11:01:08 UTC
(flink) branch release-1.19 updated: [FLINK-34194] Update CI to Ubuntu 22.04 (Jammy) (#25827)
This is an automated email from the ASF dual-hosted git repository.
afedulov pushed a commit to branch release-1.19
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.19 by this push:
new ce44de4536a [FLINK-34194] Update CI to Ubuntu 22.04 (Jammy) (#25827)
ce44de4536a is described below
commit ce44de4536ab9eabb9410c013703dbd2288352db
Author: mehdid93 <52...@users.noreply.github.com>
AuthorDate: Fri Jan 3 14:21:42 2025 +0100
[FLINK-34194] Update CI to Ubuntu 22.04 (Jammy) (#25827)
* Update CI to Ubuntu 22.04 (Jammy)
---------
Co-authored-by: Chesnay Schepler <ch...@apache.org>
---
.github/workflows/docs.yml | 2 +-
.github/workflows/template.flink-ci.yml | 6 +++---
.github/workflows/template.pre-compile-checks.yml | 2 +-
azure-pipelines.yml | 8 ++++----
tools/azure-pipelines/build-apache-repo.yml | 22 +++++++++++-----------
tools/azure-pipelines/build-nightly-dist.yml | 4 ++--
tools/azure-pipelines/build-python-wheels.yml | 2 +-
7 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index eb966addd6d..719a79c412a 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -48,7 +48,7 @@ jobs:
fi
- name: Build documentation
run: |
- 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"
+ 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"
- name: Upload documentation
uses: burnett01/rsync-deployments@5.2
with:
diff --git a/.github/workflows/template.flink-ci.yml b/.github/workflows/template.flink-ci.yml
index 1ac63916ddd..552d428fd69 100644
--- a/.github/workflows/template.flink-ci.yml
+++ b/.github/workflows/template.flink-ci.yml
@@ -72,7 +72,7 @@ jobs:
name: "Compile"
runs-on: ubuntu-22.04
container:
- image: mapohl/flink-ci:FLINK-34194
+ image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
# --privileged allows writing coredumps in docker (FLINK-16973)
options: --init --privileged
@@ -133,7 +133,7 @@ jobs:
needs: compile
runs-on: ubuntu-22.04
container:
- image: mapohl/flink-ci:FLINK-34194
+ image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
# --privileged allows writing coredumps in docker (FLINK-16973)
options: --init --privileged
@@ -173,7 +173,7 @@ jobs:
needs: compile
runs-on: ubuntu-22.04
container:
- image: mapohl/flink-ci:FLINK-34194
+ image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
# --privileged allows writing coredumps in docker (FLINK-16973)
options: --init --privileged
diff --git a/.github/workflows/template.pre-compile-checks.yml b/.github/workflows/template.pre-compile-checks.yml
index 94fcafb26fd..a70d9912420 100644
--- a/.github/workflows/template.pre-compile-checks.yml
+++ b/.github/workflows/template.pre-compile-checks.yml
@@ -43,7 +43,7 @@ jobs:
name: "Basic QA"
runs-on: ubuntu-22.04
container:
- image: mapohl/flink-ci:FLINK-34194
+ image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
# --init makes the process in the container being started as an init process which will clean up any daemon processes during shutdown
# --privileged allows writing coredumps in docker (FLINK-16973)
options: --init --privileged
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 81fbad42d21..a63e4f4acc5 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -39,7 +39,7 @@ resources:
# Container with SSL to have the same environment everywhere.
# see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
- container: flink-build-container
- image: chesnay/flink-ci:java_8_11_17_21_maven_386
+ image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
# On AZP provided machines, set this flag to allow writing coredumps in docker
options: --privileged
@@ -73,16 +73,16 @@ stages:
parameters: # see template file for a definition of the parameters.
stage_name: ci_build
test_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2"
run_end_to_end: false
container: flink-build-container
jdk: 8
- job: docs_404_check # run on a MSFT provided machine
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
steps:
- task: GoTool@0
inputs:
diff --git a/tools/azure-pipelines/build-apache-repo.yml b/tools/azure-pipelines/build-apache-repo.yml
index a229ee0029a..e849b529098 100644
--- a/tools/azure-pipelines/build-apache-repo.yml
+++ b/tools/azure-pipelines/build-apache-repo.yml
@@ -39,7 +39,7 @@ resources:
# Container with SSL to have the same environment everywhere.
# see https://github.com/apache/flink-connector-shared-utils/tree/ci_utils
- container: flink-build-container
- image: chesnay/flink-ci:java_8_11_17_21_maven_386
+ image: chesnay/flink-ci:java_8_11_17_21_maven_386_jammy
variables:
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository
@@ -68,14 +68,14 @@ stages:
test_pool_definition:
name: Default
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2"
run_end_to_end: false
container: flink-build-container
jdk: 8
- job: docs_404_check # run on a MSFT provided machine
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
steps:
# Skip docs check if this is a pull request that doesn't contain a documentation change
- task: GoTool@0
@@ -110,9 +110,9 @@ stages:
parameters:
stage_name: cron_azure
test_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2"
run_end_to_end: true
container: flink-build-container
@@ -123,7 +123,7 @@ stages:
test_pool_definition:
name: Default
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=3.2.3 -Phadoop3-tests,hive3"
run_end_to_end: true
container: flink-build-container
@@ -134,7 +134,7 @@ stages:
test_pool_definition:
name: Default
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Djdk11 -Pjava11-target"
run_end_to_end: true
container: flink-build-container
@@ -145,7 +145,7 @@ stages:
test_pool_definition:
name: Default
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Djdk11 -Djdk17 -Pjava17-target"
run_end_to_end: true
container: flink-build-container
@@ -156,7 +156,7 @@ stages:
test_pool_definition:
name: Default
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Djdk11 -Djdk17 -Djdk21 -Pjava21-target"
run_end_to_end: true
container: flink-build-container
@@ -167,14 +167,14 @@ stages:
test_pool_definition:
name: Default
e2e_pool_definition:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
environment: PROFILE="-Dflink.hadoop.version=2.10.2 -Penable-adaptive-scheduler"
run_end_to_end: true
container: flink-build-container
jdk: 8
- job: docs_404_check # run on a MSFT provided machine
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
steps:
- task: GoTool@0
inputs:
diff --git a/tools/azure-pipelines/build-nightly-dist.yml b/tools/azure-pipelines/build-nightly-dist.yml
index 5f2d76b6321..61a5bb46b89 100644
--- a/tools/azure-pipelines/build-nightly-dist.yml
+++ b/tools/azure-pipelines/build-nightly-dist.yml
@@ -19,7 +19,7 @@ parameters:
jobs:
- job: ${{parameters.stage_name}}_binary
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
container: flink-build-container
workspace:
clean: all
@@ -69,7 +69,7 @@ jobs:
# artifact: nightly-release
- job: ${{parameters.stage_name}}_maven
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
container: flink-build-container
timeoutInMinutes: 240
workspace:
diff --git a/tools/azure-pipelines/build-python-wheels.yml b/tools/azure-pipelines/build-python-wheels.yml
index f262b02f3f0..d68069c1632 100644
--- a/tools/azure-pipelines/build-python-wheels.yml
+++ b/tools/azure-pipelines/build-python-wheels.yml
@@ -16,7 +16,7 @@
jobs:
- job: build_wheels_on_Linux
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'ubuntu-22.04'
steps:
- script: |
cd flink-python