ci(azure-pipelines): use caches for testing
This commit is contained in:
parent
6b3775b9b9
commit
7a1139807d
@ -141,6 +141,16 @@ stages:
|
|||||||
IN_CONTAINER: true
|
IN_CONTAINER: true
|
||||||
IN_CI: true
|
IN_CI: true
|
||||||
steps:
|
steps:
|
||||||
|
- ${{ each dependencyCache in service.dependenciesCaches }}:
|
||||||
|
- template: .azure-pipelines/templates/steps/cache.yaml
|
||||||
|
parameters:
|
||||||
|
cacheIdent: '${{service.name}}-dependencies'
|
||||||
|
cacheKeys: '${{dependencyCache.key}}'
|
||||||
|
cachePath: '${{dependencyCache.path}}'
|
||||||
|
- ${{ each dependency in service.dependsOn }}:
|
||||||
|
- template: .azure-pipelines/templates/steps/artifact-download.yaml
|
||||||
|
parameters:
|
||||||
|
artifactName: '${{dependency}}'
|
||||||
- task: Docker@2
|
- task: Docker@2
|
||||||
displayName: Login to container registry
|
displayName: Login to container registry
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user