diff --git a/.azure-pipelines/code-scan.yml b/.azure-pipelines/code-scan.yml index 1f3f3beb647..34187e73ead 100644 --- a/.azure-pipelines/code-scan.yml +++ b/.azure-pipelines/code-scan.yml @@ -13,6 +13,7 @@ pr: - requirements.txt - .azure-pipelines/code-scan.yml - .azure-pipelines/scripts/codeScan + - .azure-pipelines/template/docker-template.yml pool: vmImage: "ubuntu-latest" diff --git a/.azure-pipelines/model-test-3x.yml b/.azure-pipelines/model-test-3x.yml index 05c3276ff22..4db0c53a793 100644 --- a/.azure-pipelines/model-test-3x.yml +++ b/.azure-pipelines/model-test-3x.yml @@ -15,6 +15,7 @@ pr: - requirements_pt.txt - .azure-pipelines/scripts/models - .azure-pipelines/model-test-3x.yml + - .azure-pipelines/template/docker-template.yml variables: OUT_SCRIPT_PATH: $(Build.SourcesDirectory)/.azure-pipelines/scripts/models diff --git a/.azure-pipelines/model-test.yml b/.azure-pipelines/model-test.yml index 8a43e3250e4..d300469dba2 100644 --- a/.azure-pipelines/model-test.yml +++ b/.azure-pipelines/model-test.yml @@ -12,6 +12,7 @@ pr: - setup.py - requirements.txt - .azure-pipelines/model-test.yml + - .azure-pipelines/template/docker-template.yml - .azure-pipelines/scripts/models - examples/tensorflow/oob_models/quantization/ptq - .azure-pipelines/model-test.yml diff --git a/.azure-pipelines/ut-3x-pt-fp8.yml b/.azure-pipelines/ut-3x-pt-fp8.yml index 38e7c555530..c9fafffee66 100644 --- a/.azure-pipelines/ut-3x-pt-fp8.yml +++ b/.azure-pipelines/ut-3x-pt-fp8.yml @@ -11,6 +11,7 @@ pr: - .azure-pipelines/scripts/ut/3x/run_3x_pt_fp8.sh - .azure-pipelines/scripts/install_nc.sh - .azure-pipelines/ut-3x-pt-fp8.yml + - .azure-pipelines/template/docker-template.yml - neural_compressor/common - neural_compressor/torch - test/3x/torch/algorithms/fp8_quant @@ -88,7 +89,7 @@ stages: - script: | echo "--- create container ---" - docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash + docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash echo "--- docker ps ---" docker ps echo "--- collect logs ---" diff --git a/.azure-pipelines/ut-3x-pt.yml b/.azure-pipelines/ut-3x-pt.yml index 25a72d7f202..8424e75645b 100644 --- a/.azure-pipelines/ut-3x-pt.yml +++ b/.azure-pipelines/ut-3x-pt.yml @@ -15,6 +15,7 @@ pr: - setup.py - requirements_pt.txt - .azure-pipelines/ut-3x-pt.yml + - .azure-pipelines/template/docker-template.yml - .azure-pipelines/scripts/install_nc.sh - .azure-pipelines/scripts/ut/3x/run_3x_pt.sh @@ -86,7 +87,7 @@ stages: - script: | echo "--- create container ---" - docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash + docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash echo "--- docker ps ---" docker ps echo "--- collect logs ---" diff --git a/.azure-pipelines/ut-3x-tf.yml b/.azure-pipelines/ut-3x-tf.yml index a8b988e96ec..ac1c44965a3 100644 --- a/.azure-pipelines/ut-3x-tf.yml +++ b/.azure-pipelines/ut-3x-tf.yml @@ -15,6 +15,7 @@ pr: - setup.py - requirements_tf.txt - .azure-pipelines/scripts/ut/3x/run_3x_tf.sh + - .azure-pipelines/template/docker-template.yml pool: ICX-16C @@ -83,7 +84,7 @@ stages: - script: | echo "--- create container ---" - docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash + docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash echo "--- docker ps ---" docker ps echo "--- collect logs ---" diff --git a/.azure-pipelines/ut-basic.yml b/.azure-pipelines/ut-basic.yml index 98499df6f2f..07761d8982c 100644 --- a/.azure-pipelines/ut-basic.yml +++ b/.azure-pipelines/ut-basic.yml @@ -13,6 +13,7 @@ pr: - setup.py - requirements.txt - .azure-pipelines/ut-basic.yml + - .azure-pipelines/template/docker-template.yml - .azure-pipelines/scripts/ut - .azure-pipelines/scripts/fwk_version.sh - .azure-pipelines/scripts/install_nc.sh @@ -257,7 +258,7 @@ stages: - script: | echo "--- create container ---" - docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash + docker run -d -it --name="collectLogs" -v ${BUILD_SOURCESDIRECTORY}:/neural-compressor ${IMAGE_NAME}:${IMAGE_TAG} /bin/bash echo "--- docker ps ---" docker ps echo "--- collect logs ---"