This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch release-2.2
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-2.2 by this push:
new 95f76eca4ec [FLINK-41331][ci] Move python header installation to
flink-ci-docker
95f76eca4ec is described below
commit 95f76eca4ecd5dc09a815013ddc7363a487aa0b2
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Thu Nov 5 08:15:44 2026 +0100
[FLINK-41331][ci] Move python header installation to flink-ci-docker
---
.github/workflows/docs.yml | 2 +-
.github/workflows/template.flink-ci.yml | 10 +++-------
.github/workflows/template.pre-compile-checks.yml | 2 +-
azure-pipelines.yml | 2 +-
tools/azure-pipelines/build-apache-repo.yml | 2 +-
tools/azure-pipelines/jobs-template.yml | 7 -------
6 files changed, 7 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index f3dfbab5194..7c158901da8 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -58,7 +58,7 @@ jobs:
docker run --rm \
--volume "$PWD:/root/flink" \
--volume "$HOME/.m2/repository:/root/.m2/repository" \
- apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute \
+
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2 \
bash -c "cd /root/flink && ./.github/workflows/docs.sh && chmod -R
a+rX docs/target"
- name: Upload documentation
diff --git a/.github/workflows/template.flink-ci.yml
b/.github/workflows/template.flink-ci.yml
index 76700288406..b51061ffeae 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-26.04
container:
- image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+ image:
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
# --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-26.04
container:
- image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+ image:
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
# --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-26.04
container:
- image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+ image:
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
# --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
@@ -225,10 +225,6 @@ jobs:
with:
python-version: '3.12'
- - name: "Install Python header files"
- if: matrix.module == 'python'
- run: sudo apt-get update && sudo apt-get -y install python3-dev
-
- name: "Set coredump pattern"
working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
run: sudo sysctl -w kernel.core_pattern=core.%p
diff --git a/.github/workflows/template.pre-compile-checks.yml
b/.github/workflows/template.pre-compile-checks.yml
index d9aee322c33..83d2b628d39 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-26.04
container:
- image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+ image:
apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
# --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 b98318fddfe..ab1de1f92c0 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: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+ image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
# the testcontainers based tests need the host Docker daemon, which the
agent does
# not map into job containers by default
mapDockerSocket: true
diff --git a/tools/azure-pipelines/build-apache-repo.yml
b/tools/azure-pipelines/build-apache-repo.yml
index d584b8a7a07..ba2f9b6c202 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: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute
+ image: apache/flink-ci-docker:java_8_11_17_21_25_maven_386_3916_resolute_v2
# the testcontainers based tests need the host Docker daemon, which the
agent does
# not map into job containers by default
mapDockerSocket: true
diff --git a/tools/azure-pipelines/jobs-template.yml
b/tools/azure-pipelines/jobs-template.yml
index 8db20ed01d2..0fa043f9d10 100644
--- a/tools/azure-pipelines/jobs-template.yml
+++ b/tools/azure-pipelines/jobs-template.yml
@@ -108,13 +108,6 @@ jobs:
condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
displayName: Free up disk space
- # Ensure Python devel headers for Python tests
- - script: |
- sudo apt-get update
- sudo apt-get install -y python3-dev
- condition: eq(variables['module'], 'python')
- displayName: Install Python development headers
-
# download artifact from compile stage
- task: DownloadPipelineArtifact@2
inputs: