[ci] Use absolute template file path in docker-sonic-slave pipeline. (#12153)
This commit is contained in:
parent
27032bfb84
commit
c968114a36
@ -38,12 +38,12 @@ jobs:
|
|||||||
- job: Build_${{ parameters.dist }}_${{ parameters.march }}${{ parameters.arch }}
|
- job: Build_${{ parameters.dist }}_${{ parameters.march }}${{ parameters.arch }}
|
||||||
timeoutInMinutes: 360
|
timeoutInMinutes: 360
|
||||||
variables:
|
variables:
|
||||||
- template: .azure-pipelines/template-variables.yml@buildimage
|
- template: /.azure-pipelines/template-variables.yml@buildimage
|
||||||
- template: .azure-pipelines/azure-pipelines-repd-build-variables.yml@buildimage
|
- template: /.azure-pipelines/azure-pipelines-repd-build-variables.yml@buildimage
|
||||||
pool: ${{ parameters.pool }}
|
pool: ${{ parameters.pool }}
|
||||||
steps:
|
steps:
|
||||||
- template: cleanup.yml
|
- template: cleanup.yml
|
||||||
- template: .azure-pipelines/template-clean-sonic-slave.yml@buildimage
|
- template: /.azure-pipelines/template-clean-sonic-slave.yml@buildimage
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
@ -62,7 +62,7 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker make configure PLATFORM=generic PLATFORM_ARCH=${{ parameters.arch }} $args || docker image ls $image_tag
|
DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker BLDENV=${{ parameters.dist }} make -f Makefile.work configure PLATFORM=generic PLATFORM_ARCH=${{ parameters.arch }} $args || docker image ls $image_tag
|
||||||
if [[ "$(Build.Reason)" == "PullRequest" ]];then
|
if [[ "$(Build.Reason)" == "PullRequest" ]];then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user