OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GHA] Remove manylinux2014 from workflows as deprecated (#34631)
Alina Kladieva160c84b01689
diff --git a/.github/actions/common/constants.py b/.github/actions/common/constants.pyindex d3585e44e80..9c544c1a221 100644--- a/.github/actions/common/constants.py+++ b/.github/actions/common/constants.py@@ -1,3 +1,6 @@+# Copyright (C) 2018-2026 Intel Corporation+# SPDX-License-Identifier: Apache-2.0+from enum import Enum@@ -19,7 +22,6 @@ productTypes = ('public_windows_vs2019_debug','public_windows_vs2022_release','public_windows_vs2022_debug',- 'public_manylinux2014_x86_64_release','public_manylinux_2_28_x86_64_release','public_macos_x86_64_release','public_macos_arm64_release',@@ -31,7 +33,6 @@ ProductType = Enum('ProductType', {t.upper(): t for t in productTypes})platformKeys = ('almalinux8_x86_64',- 'centos7_x86_64','debian10_armhf','rhel8_x86_64','ubuntu22_arm64',@@ -58,7 +59,6 @@ PlatformMapping = {PlatformKey.WINDOWS_X86_64: ProductType.PUBLIC_WINDOWS_VS2022_RELEASE,PlatformKey.MACOS_12_6_X86_64: ProductType.PUBLIC_MACOS_X86_64_RELEASE,PlatformKey.MACOS_14_7_ARM64: ProductType.PUBLIC_MACOS_ARM64_RELEASE,- PlatformKey.CENTOS7_X86_64: ProductType.PUBLIC_MANYLINUX2014_X86_64_RELEASE,PlatformKey.ALMALINUX8_X86_64: ProductType.PUBLIC_MANYLINUX_2_28_X86_64_RELEASE,PlatformKey.ANDROID_X64: ProductType.PUBLIC_ANDROID_X64_RELEASE,PlatformKey.ANDROID_ARM64: ProductType.PUBLIC_ANDROID_ARM64_RELEASE,diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tagindex ae1605ab930..5a25b998595 100644--- a/.github/dockerfiles/docker_tag+++ b/.github/dockerfiles/docker_tag@@ -1 +1 @@-pr-34596+pr-34631diff --git a/.github/dockerfiles/ov_build/manylinux2014_x86_64/Dockerfile b/.github/dockerfiles/ov_build/manylinux2014_x86_64/Dockerfiledeleted file mode 100644index 3a2dbdb0e8d..00000000000--- a/.github/dockerfiles/ov_build/manylinux2014_x86_64/Dockerfile+++ /dev/null@@ -1,20 +0,0 @@-ARG REGISTRY="quay.io"-FROM openvinogithubactions.azurecr.io/quayio/pypa/manylinux2014_x86_64--USER root--# Install build dependencies-ADD install_build_dependencies.sh /install_build_dependencies.sh-RUN chmod +x /install_build_dependencies.sh && bash -e /install_build_dependencies.sh--# Install sscache-ARG SCCACHE_VERSION="v0.7.5"-ENV SCCACHE_HOME="/opt/sccache" \- SCCACHE_PATH="/opt/sccache/sccache"--RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \- SCCACHE_ARCHIVE="sccache-${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz" && \- curl -SLO https://github.com/mozilla/sccache/releases/download/${SCCACHE_VERSION}/${SCCACHE_ARCHIVE} && \- tar -xzf ${SCCACHE_ARCHIVE} --strip-components=1 && rm ${SCCACHE_ARCHIVE}--ENV PATH="$SCCACHE_HOME:$PATH"diff --git a/.github/workflows/manylinux_2014.yml b/.github/workflows/manylinux_2014.ymldeleted file mode 100644index 42ece66d45e..00000000000--- a/.github/workflows/manylinux_2014.yml+++ /dev/null@@ -1,322 +0,0 @@-name: Manylinux 2014-on:- workflow_dispatch:- inputs:- target-branch:- description: 'Target branch for the build; taken from event context by default'- type: string- required: false- pull_request:- types:- - opened- - synchronize- - reopened- - ready_for_review- merge_group:- push:- branches:- - master- - 'releases/**'--concurrency:- # github.ref is not unique in post-commit- group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-manylinux-2014- cancel-in-progress: true--permissions: read-all--env:- PIP_CACHE_PATH: /mount/caches/pip/linux--jobs:- Smart_CI:- runs-on: ubuntu-latest- if: github.event.pull_request.draft == false || github.run_attempt > 1- outputs:- affected_components: "${{ steps.smart_ci.outputs.affected_components }}"- changed_components: "${{ steps.smart_ci.outputs.changed_components }}"- skip_workflow: "${{ steps.smart_ci.outputs.skip_workflow }}"- steps:- - name: checkout action- uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries- timeout-minutes: 15- with:- sparse-checkout: .github/actions/smart-ci-- - name: Get affected components- id: smart_ci- uses: ./.github/actions/smart-ci- with:- repository: ${{ github.repository }}- pr: ${{ github.event.number }}- commit_sha: ${{ github.sha }}- ref_name: ${{ github.ref_name }}- component_pattern: "category: (.*)"- repo_token: ${{ secrets.GITHUB_TOKEN }}- skip_when_only_listed_labels_set: 'docs'- skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg'-- - name: Show affected components- run: |- echo "${{ toJSON(steps.smart_ci.outputs.affected_components) }}"- shell: bash-- Docker:- needs: Smart_CI- runs-on: aks-linux-4-cores-16gb-docker-build- container:- image: openvinogithubactions.azurecr.io/docker_build:0.2- volumes:- - /mount:/mount- outputs:- images: "${{ steps.handle_docker.outputs.images && steps.handle_docker.outputs.images || steps.mock_image.outputs.images }}"- steps:- - name: Set mock output images if pipeline should be skipped- if: ${{ needs.smart_ci.outputs.skip_workflow == 'True' }}- id: mock_image- run: echo "images={\"ov_test\":{\"ubuntu_20_04_x64_py313\":\"mock\"},\"ov_test\":{\"ubuntu_22_04_x64\":\"mock\"},\"ov_test\":{\"ubuntu_24_04_x64\":\"mock\"},\"ov_test\":{\"fedora_33\":\"mock\"},\"ov_test\":{\"debian_10_py310\":\"mock\"},\"ov_build\":{\"ubuntu_22_04_x64_docker\":\"mock\",\"ov_build\":{\"manylinux2014_x86_64\":\"mock\"}}" >> "$GITHUB_OUTPUT"-- - name: Checkout- if: ${{ needs.smart_ci.outputs.skip_workflow != 'True' }}- uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries- timeout-minutes: 15-- - uses: ./.github/actions/handle_docker- if: ${{ needs.smart_ci.outputs.skip_workflow != 'True' }}- id: handle_docker- with:- images: |- ov_build/ubuntu_22_04_x64_docker- ov_build/manylinux2014_x86_64- ov_test/ubuntu_20_04_x64_py313- ov_test/ubuntu_22_04_x64- ov_test/ubuntu_24_04_x64- ov_test/fedora_33- ov_test/debian_10_py310- registry: 'openvinogithubactions.azurecr.io'- dockerfiles_root_dir: '.github/dockerfiles'- changed_components: ${{ needs.smart_ci.outputs.changed_components }}-- Build:- needs: [Docker, Smart_CI]- if: "!needs.smart_ci.outputs.skip_workflow"- timeout-minutes: 120- defaults:- run:- shell: bash- runs-on: aks-linux-16-cores-32gb-manylinux- container:- image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_docker }}- volumes:- - /mount:/mount- - /home/runner/secrets/:/secrets:ro- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e DOCKER_CONFIG -v ${{ github.workspace }}:${{ github.workspace }}- env:- CMAKE_BUILD_TYPE: 'Release'- ARCH: 'x86_64'- OPENVINO_REPO: ${{ github.workspace }}/src- INSTALL_DIR: ${{ github.workspace }}/install/openvino- INSTALL_WHEELS_DIR: ${{ github.workspace }}/install/wheels- INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests- BUILD_DIR: ${{ github.workspace }}/build- DOCKER_CONFIG: "/mount/.docker"- CMAKE_CXX_COMPILER_LAUNCHER: sccache- CMAKE_C_COMPILER_LAUNCHER: sccache- SCCACHE_IGNORE_SERVER_IO_ERROR: 1- SCCACHE_SERVER_PORT: 35555- SCCACHE_CACHE_SIZE: 50G- SCCACHE_AZURE_KEY_PREFIX: manylinux_2014- ARTIFACTS_SHARE: "/mount/build-artifacts"- MANIFEST_PATH: ${{ github.workspace }}/manifest.yml- PRODUCT_TYPE: public_manylinux2014_x86_64_release-- steps:- - name: Append the environment variable - load SCCACHE_AZURE_CONNECTION_STRING from file- shell: bash- run: |- SCCACHE_AZURE_CONNECTION_STRING="$(cat /secrets/sccache/connection-string)"- echo "::add-mask::${SCCACHE_AZURE_CONNECTION_STRING}"- echo "SCCACHE_AZURE_CONNECTION_STRING=${SCCACHE_AZURE_CONNECTION_STRING}" >> $GITHUB_ENV- echo "✓ Connection string loaded and masked"-- - name: Clone OpenVINO- uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries- timeout-minutes: 15- with:- path: ${{ env.OPENVINO_REPO }}- submodules: 'true'-- - name: System info- uses: ./src/.github/actions/system_info-- - name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAG- id: create_manifest- uses: ./src/.github/actions/create_manifest- with:- repos: |- ${{ env.OPENVINO_REPO }}- product_type: ${{ env.PRODUCT_TYPE }}- target_arch: ${{ env.ARCH }}- build_type: ${{ env.CMAKE_BUILD_TYPE }}- save_to: ${{ env.MANIFEST_PATH }}- trigger_repo_branch: ${{ inputs.target-branch }}-- - name: Create docker build cache- run: |- docker volume create ov_build_cache-- - name: Build OpenVINO- run: |- docker run --rm \- -v ${{ env.OPENVINO_REPO }}:/work/src \- -v ov_build_cache:/work/build \- -v ${{ env.INSTALL_DIR }}:/work/install \- -v ${{ env.INSTALL_TEST_DIR }}:/work/api_tests \- -e SCCACHE_AZURE_BLOB_CONTAINER \- -e SCCACHE_AZURE_CONNECTION_STRING \- -e SCCACHE_SERVER_PORT \- -e SCCACHE_IGNORE_SERVER_IO_ERROR \- -e SCCACHE_CACHE_SIZE \- -e SCCACHE_AZURE_KEY_PREFIX \- -e CMAKE_CXX_COMPILER_LAUNCHER \- -e CMAKE_C_COMPILER_LAUNCHER \- -e CI_BUILD_NUMBER \- -e CI_BUILD_DEV_TAG \- -w /work/src \- ${{ fromJSON(needs.docker.outputs.images).ov_build.manylinux2014_x86_64 }} \- /bin/bash -c "- python3.12 -m pip install -r /work/src/src/bindings/python/wheel/requirements-dev.txt- cmake \- -DPython3_EXECUTABLE=/usr/local/bin/python3.12 \- -DENABLE_NCC_STYLE=OFF \- -DENABLE_TESTS=ON \- -DENABLE_OV_JAX_FRONTEND=OFF \- -DENABLE_PYTHON=ON \- -DENABLE_WHEEL=OFF \- -S /work/src \- -B /work/build &&- cmake --build /work/build --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} &&- cmake --install /work/build --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /work/install- cmake --install /work/build --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /work/api_tests --component tests- "-- - name: Build Python API (Python 3.10-3.13)- run: |- SUPPORTED_PYTHON_VERSIONS=("3.10" "3.11" "3.12" "3.13")- for PY_VER in "${SUPPORTED_PYTHON_VERSIONS[@]}"; do- simpler_python_version=$(echo $PY_VER | sed -e 's/\.//g')- python_path=/opt/python/cp${simpler_python_version}-cp${simpler_python_version}/bin- docker run --rm \- -v ${{ env.OPENVINO_REPO }}:/work/src \- -v ${{ env.INSTALL_WHEELS_DIR }}:/work/wheels \- -v ${{ env.PIP_CACHE_PATH }}:/work/pip_cache \- -v ${{ env.INSTALL_DIR }}:/work/install \- -v ov_build_cache:/work/build \- -e SCCACHE_AZURE_BLOB_CONTAINER \- -e SCCACHE_AZURE_CONNECTION_STRING \- -e SCCACHE_SERVER_PORT \- -e SCCACHE_IGNORE_SERVER_IO_ERROR \- -e SCCACHE_CACHE_SIZE \- -e SCCACHE_AZURE_KEY_PREFIX \- -e CMAKE_CXX_COMPILER_LAUNCHER \- -e CMAKE_C_COMPILER_LAUNCHER \- -e CI_BUILD_NUMBER \- -e CI_BUILD_DEV_TAG \- -w /work/src \- ${{ fromJSON(needs.docker.outputs.images).ov_build.manylinux2014_x86_64 }} \- /bin/bash -c "- export PATH=${python_path}:\$PATH- PIP_VER=$(python3 -c "import pip; print(pip.__version__)")- export "PIP_CACHE_DIR=/work/pip_cache/${PIP_VER}"- python3 -m pip install -r /work/src/src/bindings/python/wheel/requirements-dev.txt &&- cmake -DOpenVINODeveloperPackage_DIR=/work/build -DENABLE_PYTHON=ON -DENABLE_WHEEL=ON -S /work/src/src/bindings/python -B /work/build_py${PY_VER} &&- cmake --build /work/build_py${PY_VER} --parallel $(nproc) --config ${{ env.CMAKE_BUILD_TYPE }} &&- cmake --install /work/build_py${PY_VER} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /work/wheels --component python_wheels &&- cmake --install /work/build_py${PY_VER} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /work/install --component pyopenvino_python${PY_VER}- "- done-- - name: Pack Artifacts- run: mkdir -p ${{ env.BUILD_DIR }} && tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_package.tar.gz- working-directory: ${{ env.INSTALL_DIR }}-- - name: Pack openvino_tests- run: tar -cvf - * | pigz > ${{ env.BUILD_DIR }}/openvino_tests.tar.gz- working-directory: ${{ env.INSTALL_TEST_DIR }}-- #- # Upload build artifacts- #- - name: Upload OpenVINO package- if: ${{ always() }}- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0- with:- name: openvino_package- path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz- if-no-files-found: 'error'-- - name: Upload OpenVINO wheels- if: ${{ always() }}- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0- with:- name: openvino_wheels- path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl- if-no-files-found: 'error'-- - name: Upload OpenVINO tests package- if: ${{ always() }}- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0- with:- name: openvino_tests- path: ${{ env.BUILD_DIR }}/openvino_tests.tar.gz- if-no-files-found: 'error'-- - name: Store artifacts to a shared drive- id: store_artifacts- if: ${{ github.event_name != 'merge_group' }}- uses: ./src/.github/actions/store_artifacts- with:- artifacts: |- ${{ env.BUILD_DIR }}/openvino_package.tar.gz- ${{ env.BUILD_DIR }}/openvino_tests.tar.gz- ${{ env.MANIFEST_PATH }}- ${{ env.INSTALL_WHEELS_DIR }}/wheels- storage_dir: ${{ env.PRODUCT_TYPE }}- storage_root: ${{ env.ARTIFACTS_SHARE }}- branch_name: ${{ inputs.target-branch }}-- Python_API_Tests:- name: Python API tests- needs: [ Docker, Build, Smart_CI ]- uses: ./.github/workflows/job_python_api_tests.yml- strategy:- fail-fast: false- matrix:- include:- - python-version: "3.10"- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.debian_10_py310 }}- - python-version: "3.11"- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}- - python-version: "3.12"- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_24_04_x64 }}- - python-version: "3.13"- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_20_04_x64_py313 }}- with:- runner: 'aks-linux-4-cores-16gb'- image: ${{ matrix.image }}- affected-components: ${{ needs.smart_ci.outputs.affected_components }}- python-version: ${{ matrix.python-version }}-- Overall_Status:- name: ci/gha_overall_status_manylinux2014- needs: [Smart_CI, Build, Python_API_Tests]- if: ${{ always() }}- runs-on: ubuntu-latest- steps:- - name: Check status of all jobs- if: >-- ${{- contains(needs.*.result, 'failure') ||- contains(needs.*.result, 'cancelled')- }}- run: exit 1diff --git a/.github/workflows/workflows_to_track.txt b/.github/workflows/workflows_to_track.txtindex a55a7cbc2d1..24599fd936e 100644--- a/.github/workflows/workflows_to_track.txt+++ b/.github/workflows/workflows_to_track.txt@@ -35,8 +35,6 @@ name: Debian 10 ARMname: Android==> ./code_style.yml <==name: Code Style-==> ./manylinux_2014.yml <==-name: Manylinux 2014==> ./manylinux_2_28.yml <==name: Manylinux 2_28==> ./linux_arm64.yml <==