[workflows] New path for volumes (#21604)
This commit is contained in:
parent
ff8d8a5b16
commit
5a4f632680
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
env:
|
env:
|
||||||
PIP_CACHE_PATH: /mount/caches/pip
|
PIP_CACHE_PATH: /mount/caches/pip
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: fedora:33
|
image: fedora:33
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
CMAKE_BUILD_TYPE: 'Release'
|
CMAKE_BUILD_TYPE: 'Release'
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
||||||
|
|
@ -385,7 +385,7 @@ jobs:
|
||||||
uses: ./.github/workflows/job_onnx_runtime.yml
|
uses: ./.github/workflows/job_onnx_runtime.yml
|
||||||
with:
|
with:
|
||||||
runner: 'aks-linux-16-cores-32gb'
|
runner: 'aks-linux-16-cores-32gb'
|
||||||
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount/caches:/mount/caches"], "options": "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING"}'
|
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount:/mount"], "options": "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING"}'
|
||||||
sccache-azure-key-prefix: 'ubuntu20_x86_64_onnxruntime'
|
sccache-azure-key-prefix: 'ubuntu20_x86_64_onnxruntime'
|
||||||
|
|
||||||
CXX_Unit_Tests:
|
CXX_Unit_Tests:
|
||||||
|
|
@ -403,7 +403,7 @@ jobs:
|
||||||
uses: ./.github/workflows/job_python_unit_tests.yml
|
uses: ./.github/workflows/job_python_unit_tests.yml
|
||||||
with:
|
with:
|
||||||
runner: 'aks-linux-4-cores-16gb'
|
runner: 'aks-linux-4-cores-16gb'
|
||||||
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount/caches:/mount/caches"]}'
|
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount:/mount"]}'
|
||||||
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
|
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
|
||||||
|
|
||||||
CPU_Functional_Tests:
|
CPU_Functional_Tests:
|
||||||
|
|
@ -419,7 +419,7 @@ jobs:
|
||||||
# container:
|
# container:
|
||||||
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /mount/caches:/mount/caches
|
# - /mount:/mount
|
||||||
TensorFlow_Hub_Models_Tests:
|
TensorFlow_Hub_Models_Tests:
|
||||||
name: TensorFlow Hub Models tests
|
name: TensorFlow Hub Models tests
|
||||||
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test ||
|
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test ||
|
||||||
|
|
@ -434,7 +434,7 @@ jobs:
|
||||||
# container:
|
# container:
|
||||||
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /mount/caches:/mount/caches
|
# - /mount:/mount
|
||||||
TensorFlow_Hub_Performance_Models_Tests:
|
TensorFlow_Hub_Performance_Models_Tests:
|
||||||
name: TensorFlow Hub Performance Models tests
|
name: TensorFlow Hub Performance Models tests
|
||||||
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test ||
|
if: fromJSON(needs.smart_ci.outputs.affected_components).TF_FE.test ||
|
||||||
|
|
@ -449,7 +449,7 @@ jobs:
|
||||||
# container:
|
# container:
|
||||||
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /mount/caches:/mount/caches
|
# - /mount:/mount
|
||||||
PyTorch_Models_Tests:
|
PyTorch_Models_Tests:
|
||||||
name: PyTorch Models tests
|
name: PyTorch Models tests
|
||||||
if: fromJSON(needs.smart_ci.outputs.affected_components).PyTorch_FE.test
|
if: fromJSON(needs.smart_ci.outputs.affected_components).PyTorch_FE.test
|
||||||
|
|
@ -470,7 +470,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/nvidia/cuda:11.8.0-runtime-ubuntu20.04
|
image: openvinogithubactions.azurecr.io/dockerhub/nvidia/cuda:11.8.0-runtime-ubuntu20.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
CMAKE_BUILD_TYPE: 'Release'
|
CMAKE_BUILD_TYPE: 'Release'
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
||||||
|
|
@ -280,7 +280,7 @@ jobs:
|
||||||
uses: ./.github/workflows/job_onnx_runtime.yml
|
uses: ./.github/workflows/job_onnx_runtime.yml
|
||||||
with:
|
with:
|
||||||
runner: 'aks-linux-16-cores-arm'
|
runner: 'aks-linux-16-cores-arm'
|
||||||
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount/caches:/mount/caches"], "options": "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING"}'
|
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount:/mount"], "options": "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING"}'
|
||||||
sccache-azure-key-prefix: 'ubuntu20_aarch64_onnxruntime'
|
sccache-azure-key-prefix: 'ubuntu20_aarch64_onnxruntime'
|
||||||
|
|
||||||
CXX_Unit_Tests:
|
CXX_Unit_Tests:
|
||||||
|
|
@ -298,7 +298,7 @@ jobs:
|
||||||
uses: ./.github/workflows/job_python_unit_tests.yml
|
uses: ./.github/workflows/job_python_unit_tests.yml
|
||||||
with:
|
with:
|
||||||
runner: 'aks-linux-16-cores-arm'
|
runner: 'aks-linux-16-cores-arm'
|
||||||
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount/caches:/mount/caches"]}'
|
container: '{"image": "openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04", "volumes": ["/mount:/mount"]}'
|
||||||
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
|
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
|
||||||
|
|
||||||
CPU_Functional_Tests:
|
CPU_Functional_Tests:
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
||||||
|
|
@ -239,7 +239,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
|
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
env:
|
env:
|
||||||
CMAKE_BUILD_TYPE: 'Release'
|
CMAKE_BUILD_TYPE: 'Release'
|
||||||
CMAKE_GENERATOR: 'Ninja'
|
CMAKE_GENERATOR: 'Ninja'
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: emscripten/emsdk
|
image: emscripten/emsdk
|
||||||
volumes:
|
volumes:
|
||||||
- /mount/caches:/mount/caches
|
- /mount:/mount
|
||||||
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
|
||||||
env:
|
env:
|
||||||
CMAKE_BUILD_TYPE: 'Release'
|
CMAKE_BUILD_TYPE: 'Release'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue