This is an automated email from the ASF dual-hosted git repository.
snuyanzin 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 75f86b6c4ae [FLINK-41331][ci] Move python header installation to
flink-ci-docker
75f86b6c4ae is described below
commit 75f86b6c4aec6ea0c2eb3f6a00b1f565c188d281
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Wed Nov 4 14:48:01 2026 +0100
[FLINK-41331][ci] Move python header installation to flink-ci-docker
---
.github/workflows/docs-legacy.yml | 2 +-
.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 -------
7 files changed, 8 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/docs-legacy.yml
b/.github/workflows/docs-legacy.yml
index 9d26ea2dc41..d8c460f6fe4 100644
--- a/.github/workflows/docs-legacy.yml
+++ b/.github/workflows/docs-legacy.yml
@@ -84,7 +84,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 "apt-get update && apt-get install -y rsync && cd
/root/flink && ./.github/workflows/docs.sh && chmod -R a+rX docs/target"
- name: Upload documentation
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 95be6f7a4b5..318d06bfa0d 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -69,7 +69,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 eefe55cfdfd..f38477866b2 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
@@ -138,7 +138,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
@@ -191,7 +191,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
@@ -244,10 +244,6 @@ jobs:
with:
python-version: '3.13'
- - 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 de8d175dba9..3ed34b5e631 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 5db33480d17..263b315d90f 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 4782f96a50e..cee79f02076 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 9cd0026f0d7..3d402eedbd9 100644
--- a/tools/azure-pipelines/jobs-template.yml
+++ b/tools/azure-pipelines/jobs-template.yml
@@ -144,13 +144,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: