You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2024/11/28 20:52:03 UTC
(flink) branch master updated: [FLINK-34194] Update CI to Ubuntu 22.04 (Jammy)
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new ea7425b8b77 [FLINK-34194] Update CI to Ubuntu 22.04 (Jammy)
ea7425b8b77 is described below
commit ea7425b8b777d1993eda698e798b0d41af7fbc81
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu Nov 28 10:19:38 2024 +0100
[FLINK-34194] Update CI to Ubuntu 22.04 (Jammy)
---
.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 | 20 ++++++++++----------
tools/azure-pipelines/build-nightly-dist.yml | 4 ++--
tools/azure-pipelines/build-python-wheels.yml | 2 +-
7 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9d6a4bf2f39..d8b089f269d 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -55,7 +55,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 c4069a6c6ae..85cc4843125 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
@@ -128,7 +128,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
@@ -168,7 +168,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 683c9f6d103..430d7763d23 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 2bbec3aec0f..9a97855a70f 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: 11
- 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 47c5d4b7c9f..5df8ced01c8 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 -Djdk11 -Pjava11-target"
run_end_to_end: false
container: flink-build-container
jdk: 11
- 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 -Djdk11 -Pjava11-target"
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 -Djdk11 -Pjava11-target"
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 -Djdk17 -Pjava17-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 -Djdk21 -Pjava21-target"
run_end_to_end: true
container: flink-build-container
@@ -156,14 +156,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 -Djdk11 -Pjava11-target"
run_end_to_end: true
container: flink-build-container
jdk: 11
- 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