Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CI] CVS-175241 use sccache-connection-string from volume (#33308)

Jakub Koniuszewski6174713a37d3
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 31d2ae7895f..2917abd604b 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -107,7 +107,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_android }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
TARGET_BRANCH: ${{ inputs.target-branch || github.base_ref || github.event.merge_group.base_ref || github.ref }}
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
@@ -138,6 +139,14 @@ jobs:
MANIFEST_PATH: '${{ github.workspace }}/openvino/manifest.yml'
PRODUCT_TYPE: public_android_${{ matrix.arch }}_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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/build_doc.yml b/.github/workflows/build_doc.yml
index 5856d11aa7c..f367a64d51b 100644
--- a/.github/workflows/build_doc.yml
+++ b/.github/workflows/build_doc.yml
@@ -79,7 +79,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64 }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING -v ${{ github.workspace }}:${{ github.workspace }}
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER -v ${{ github.workspace }}:${{ github.workspace }}
env:
OPENVINO_REPO: ${{ github.workspace }}/openvino
BUILD_DIR: ${{ github.workspace }}/build
@@ -90,6 +91,14 @@ jobs:
SCCACHE_CACHE_SIZE: 50G
SCCACHE_AZURE_KEY_PREFIX: build_docs
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml
index 36392f8e8ee..2ebb6846854 100644
--- a/.github/workflows/clang_tidy.yml
+++ b/.github/workflows/clang_tidy.yml
@@ -129,7 +129,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_24_04_x64 }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_BUILD_TYPE: 'Release'
@@ -147,6 +148,14 @@ jobs:
SCCACHE_AZURE_KEY_PREFIX: ubuntu24_x86_64_Release_itt_faster_build_clang_tidy
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
@@ -194,7 +203,8 @@ jobs:
image: ${{ fromJSON(needs.docker_arm.outputs.images).ov_build.ubuntu_22_04_arm64 }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_BUILD_TYPE: 'Release'
@@ -212,6 +222,14 @@ jobs:
SCCACHE_AZURE_KEY_PREFIX: ubuntu24_x86_64_Release_itt_faster_build_clang_tidy_aarch64
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
@@ -261,7 +279,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_riscv_xuantie }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_BUILD_TYPE: 'Release'
@@ -279,6 +298,14 @@ jobs:
SCCACHE_AZURE_KEY_PREFIX: ubuntu24_x86_64_Release_itt_faster_build_clang_tidy_riscv64
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml b/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml
index dcc7e730992..d0ae3a2ec70 100644
--- a/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml
+++ b/.github/workflows/dev_cpu_linux_snippets_libxsmm.yml
@@ -96,7 +96,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64 }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_BUILD_TYPE: 'Release'
@@ -116,6 +117,14 @@ jobs:
if: "!needs.smart_ci.outputs.skip_workflow"
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.yml
index 7e813386281..e73bedf633c 100644
--- a/.github/workflows/job_build_linux.yml
+++ b/.github/workflows/job_build_linux.yml
@@ -76,10 +76,10 @@ jobs:
image: ${{ inputs.image }}
volumes:
- /mount:/mount
+ - /home/runner/secrets/:/secrets:ro
- ${{ github.workspace }}:${{ github.workspace }} # Needed as ${{ github.workspace }} is not working correctly when using Docker
options: >-
-e SCCACHE_AZURE_BLOB_CONTAINER
- -e SCCACHE_AZURE_CONNECTION_STRING
defaults:
run:
shell: bash
@@ -105,6 +105,14 @@ jobs:
MANIFEST_PATH: '${{ github.workspace }}/openvino/manifest.yml'
PRODUCT_TYPE: public_linux_${{ inputs.os }}_${{ inputs.arch }}_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 (with trace)
if: ${{ inputs.os == 'fedora_29' }} # to debug ticket 160901
env:
diff --git a/.github/workflows/job_onnx_runtime.yml b/.github/workflows/job_onnx_runtime.yml
index 4172d74a9ec..b02328ce887 100644
--- a/.github/workflows/job_onnx_runtime.yml
+++ b/.github/workflows/job_onnx_runtime.yml
@@ -28,8 +28,9 @@ jobs:
image: ${{ inputs.image }}
volumes:
- /mount:/mount
+ - /home/runner/secrets/:/secrets:ro
- ${{ github.workspace }}:${{ github.workspace }} # Needed as ${{ github.workspace }} is not working correctly when using Docker
- options: "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING -e HF_TOKEN"
+ options: "-e SCCACHE_AZURE_BLOB_CONTAINER -e HF_TOKEN"
defaults:
run:
shell: bash
@@ -47,6 +48,14 @@ jobs:
ONNX_RUNTIME_UTILS: ${{ github.workspace }}/src/frontends/onnx/tests/ci_utils/onnxruntime
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: Fetch ONNX runtime version and skip tests list
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml
index 9ce7588b8ee..7a9b8630586 100644
--- a/.github/workflows/linux_conditional_compilation.yml
+++ b/.github/workflows/linux_conditional_compilation.yml
@@ -106,7 +106,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_cc }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_BUILD_TYPE: 'Release'
@@ -128,6 +129,14 @@ jobs:
SCCACHE_AZURE_KEY_PREFIX: ubuntu22_x86_64_itt_clang_Release_faster_build
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
@@ -285,7 +294,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_cc }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_CXX_COMPILER_LAUNCHER: sccache
@@ -300,6 +310,14 @@ jobs:
SCCACHE_AZURE_KEY_PREFIX: ubuntu22_x86_64_cc_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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/linux_sanitizers.yml b/.github/workflows/linux_sanitizers.yml
index d3baaff51d8..6bb93844c1b 100644
--- a/.github/workflows/linux_sanitizers.yml
+++ b/.github/workflows/linux_sanitizers.yml
@@ -108,7 +108,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64 }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
strategy:
max-parallel: 3
fail-fast: false
@@ -127,6 +128,14 @@ jobs:
OPENVINO_CONTRIB_REPO: /__w/openvino/openvino/openvino_contrib
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/manylinux_2014.yml b/.github/workflows/manylinux_2014.yml
index f2c13dfa41b..bb588e9ab88 100644
--- a/.github/workflows/manylinux_2014.yml
+++ b/.github/workflows/manylinux_2014.yml
@@ -109,7 +109,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_docker }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING -e DOCKER_CONFIG -v ${{ github.workspace }}:${{ github.workspace }}
+ - /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'
@@ -130,6 +131,14 @@ jobs:
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/manylinux_2_28.yml b/.github/workflows/manylinux_2_28.yml
index 4cd633a59db..7f34569b624 100644
--- a/.github/workflows/manylinux_2_28.yml
+++ b/.github/workflows/manylinux_2_28.yml
@@ -108,7 +108,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.manylinux_2_28 }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING -v ${{ github.workspace }}:${{ github.workspace }}
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER -v ${{ github.workspace }}:${{ github.workspace }}
env:
CMAKE_BUILD_TYPE: 'Release'
ARCH: 'x86_64'
@@ -129,6 +130,14 @@ jobs:
NODE_VERSION: 22
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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 46bb854ab48..e725d59f777 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -480,7 +480,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_nvidia }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_GENERATOR: 'Ninja Multi-Config'
@@ -501,6 +502,14 @@ jobs:
if: fromJSON(needs.smart_ci.outputs.affected_components).NVIDIA
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: Download OpenVINO package
uses: akashchi/download-artifact@d59a9c15fec3fdb7c9adf09464124d00f9c11415
with:
diff --git a/.github/workflows/webassembly.yml b/.github/workflows/webassembly.yml
index d52fbfadd4f..c389c75c24a 100644
--- a/.github/workflows/webassembly.yml
+++ b/.github/workflows/webassembly.yml
@@ -99,7 +99,8 @@ jobs:
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.webassembly }}
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_CXX_COMPILER_LAUNCHER: sccache
@@ -110,6 +111,14 @@ jobs:
OPENVINO_BUILD_DIR: /__w/openvino/openvino/openvino_build
SCCACHE_AZURE_KEY_PREFIX: webassembly_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: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 15
diff --git a/docs/dev/ci/github_actions/adding_tests.md b/docs/dev/ci/github_actions/adding_tests.md
index 464abc4f79f..1c72852f383 100644
--- a/docs/dev/ci/github_actions/adding_tests.md
+++ b/docs/dev/ci/github_actions/adding_tests.md
@@ -75,7 +75,8 @@ NVIDIA_Plugin:
image: openvinogithubactions.azurecr.io/dockerhub/nvidia/cuda:11.8.0-runtime-ubuntu20.04
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_GENERATOR: 'Ninja Multi-Config'
@@ -92,6 +93,13 @@ NVIDIA_Plugin:
if: fromJSON(needs.smart_ci.outputs.affected_components).NVIDIA
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"
...
```
diff --git a/docs/dev/ci/github_actions/caches.md b/docs/dev/ci/github_actions/caches.md
index 686e9083b22..af785b7a7ec 100644
--- a/docs/dev/ci/github_actions/caches.md
+++ b/docs/dev/ci/github_actions/caches.md
@@ -94,7 +94,17 @@ Build:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
+ 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"
+ ...
```
In `- /mount:/mount`, the first `/mount` is the path on the runner, the second `/mount` is the
@@ -159,7 +169,17 @@ Build:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
volumes:
- /mount:/mount
- options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
+ - /home/runner/secrets/:/secrets:ro
+ options: -e SCCACHE_AZURE_BLOB_CONTAINER
+ 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"
+ ...
```
### Providing `sccache` Prefix