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] Dynamic refs for third-party OV-related repos (#26564)
Alina Kladieva2d7adc542e95
diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.ymlindex 6f801544e42..3a924de20ee 100644--- a/.github/workflows/android_arm64.yml+++ b/.github/workflows/android_arm64.yml@@ -15,6 +15,9 @@ concurrency:permissions: read-all+env:+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}+jobs:Smart_CI:runs-on: ubuntu-latest@@ -122,7 +125,7 @@ jobs:repository: 'openvinotoolkit/openvino.genai'path: ${{ env.OPENVINO_GENAI_REPO }}submodules: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Clone vcpkguses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7diff --git a/.github/workflows/android_x64.yml b/.github/workflows/android_x64.ymlindex 6529cb750b9..e8fb4902e37 100644--- a/.github/workflows/android_x64.yml+++ b/.github/workflows/android_x64.yml@@ -15,6 +15,9 @@ concurrency:permissions: read-all+env:+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}+jobs:Smart_CI:runs-on: ubuntu-latest@@ -105,7 +108,7 @@ jobs:repository: 'openvinotoolkit/openvino.genai'path: ${{ env.OPENVINO_GENAI_REPO }}submodules: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}## Print system infodiff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.ymlindex dcee9bce15b..1d2f8e3ff54 100644--- a/.github/workflows/coverity.yml+++ b/.github/workflows/coverity.yml@@ -5,6 +5,9 @@ on:openvinoRef:description: 'Branch, tag or commit hash to clone openvino from. Taken from event context if not set'type: string+ openvinoContribRef:+ description: 'Branch, tag or commit hash to clone openvino_contrib from. Taken from event context if not set'+ type: stringschedule:# run daily at 00:00- cron: '0 0 * * *'@@ -19,6 +22,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linuxPYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Build:@@ -58,7 +62,7 @@ jobs:repository: 'openvinotoolkit/openvino_contrib'path: ${{ env.OPENVINO_CONTRIB_REPO }}submodules: 'true'- ref: 'master'+ ref: ${{ inputs.openvinoContribRef || env.TARGET_BRANCH }}## Dependenciesdiff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.ymlindex 0c925bb8561..0b76af69ffb 100644--- a/.github/workflows/job_build_linux.yml+++ b/.github/workflows/job_build_linux.yml@@ -56,6 +56,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linux+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Build:@@ -110,7 +111,7 @@ jobs:repository: 'openvinotoolkit/openvino_contrib'path: ${{ env.OPENVINO_CONTRIB_REPO }}submodules: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAGid: create_manifestdiff --git a/.github/workflows/job_build_windows.yml b/.github/workflows/job_build_windows.ymlindex cc3e93c3325..e5ed6c74df3 100644--- a/.github/workflows/job_build_windows.yml+++ b/.github/workflows/job_build_windows.yml@@ -19,6 +19,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/winPYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Build:@@ -56,7 +57,7 @@ jobs:with:repository: 'openvinotoolkit/openvino_contrib'path: 'openvino_contrib'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Set CCACHE_REMOTE_DIR based on eventshell: bashdiff --git a/.github/workflows/job_tokenizers.yml b/.github/workflows/job_tokenizers.ymlindex 4238cf04f67..7bb8c1fcae4 100644--- a/.github/workflows/job_tokenizers.yml+++ b/.github/workflows/job_tokenizers.yml@@ -26,6 +26,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linuxPYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Openvino_tokenizers:@@ -70,7 +71,7 @@ jobs:with:repository: 'openvinotoolkit/openvino_tokenizers'path: ${{ env.OPENVINO_TOKENIZERS_REPO }}- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Download OpenVINO packageuses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.ymlindex 41d0837e0e4..ab9fab0313f 100644--- a/.github/workflows/linux_arm64.yml+++ b/.github/workflows/linux_arm64.yml@@ -17,6 +17,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linux+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Smart_CI:@@ -121,7 +122,7 @@ jobs:repository: 'openvinotoolkit/openvino_contrib'path: ${{ env.OPENVINO_CONTRIB_REPO }}submodules: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Generate product manifest and set CI_BUILD_NUMBER & CI_BUILD_DEV_TAGid: create_manifestdiff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.ymlindex f037fb28022..f0ce141e8c0 100644--- a/.github/workflows/linux_conditional_compilation.yml+++ b/.github/workflows/linux_conditional_compilation.yml@@ -18,6 +18,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linuxPYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Smart_CI:@@ -118,7 +119,7 @@ jobs:repository: 'openvinotoolkit/testdata'path: ${{ env.MODELS_PATH }}lfs: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}## Print system info@@ -291,7 +292,7 @@ jobs:repository: 'openvinotoolkit/testdata'path: ${{ env.MODELS_PATH }}lfs: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Download selective build statistics packageuses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8diff --git a/.github/workflows/linux_sanitizers.yml b/.github/workflows/linux_sanitizers.ymlindex 23dcf1d78c0..23d6eb26256 100644--- a/.github/workflows/linux_sanitizers.yml+++ b/.github/workflows/linux_sanitizers.yml@@ -16,6 +16,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linuxPYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Build:@@ -75,7 +76,7 @@ jobs:repository: 'openvinotoolkit/openvino_contrib'path: ${{ env.OPENVINO_CONTRIB_REPO }}submodules: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}## Print system infodiff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.ymlindex 54410acdf71..a7b7c89b34d 100644--- a/.github/workflows/ubuntu_22.yml+++ b/.github/workflows/ubuntu_22.yml@@ -21,6 +21,7 @@ permissions: read-allenv:PIP_CACHE_PATH: /mount/caches/pip/linuxPYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Smart_CI:@@ -450,7 +451,7 @@ jobs:with:repository: 'openvinotoolkit/openvino_contrib'path: ${{ env.OPENVINO_CONTRIB_REPO }}- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}## Builddiff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.ymlindex 07ec15cae62..e6ea006c83f 100644--- a/.github/workflows/windows_conditional_compilation.yml+++ b/.github/workflows/windows_conditional_compilation.yml@@ -20,6 +20,7 @@ permissions: read-allenv:PYTHON_VERSION: '3.11'+ TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}jobs:Smart_CI:@@ -83,7 +84,7 @@ jobs:repository: 'openvinotoolkit/testdata'path: 'testdata'lfs: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}## Print system info@@ -291,7 +292,7 @@ jobs:repository: 'openvinotoolkit/testdata'path: 'testdata'lfs: 'true'- ref: 'master'+ ref: ${{ env.TARGET_BRANCH }}- name: Download selective build statistics packageuses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8