ci(azure-pipelines): add more parameters to service dependencies; allow downloading dependencies from previous runs
This commit is contained in:
parent
204d57cb96
commit
422f6bc5b5
@ -113,9 +113,16 @@ stages:
|
||||
- task: DownloadPipelineArtifact@2
|
||||
displayName: Download artifacts from ${{ dependency.name }} dependency
|
||||
inputs:
|
||||
artifact: ${{ dependency.artifact }}
|
||||
artifactName: ${{ dependency.artifact }}
|
||||
source: ${{ dependency.source }}
|
||||
project: $(Build.TriggeredBy.ProjectID)
|
||||
pipeline: $(System.DefinitionId)
|
||||
buildVersionToDownload: '${{ dependency.version }}'
|
||||
tags: '${{ dependency.artifact }}'
|
||||
allowPartiallySucceededBuilds: true
|
||||
allowFailedBuilds: true
|
||||
patterns: '${{ dependency.patterns }}'
|
||||
path: '$(Build.Repository.LocalPath)'
|
||||
targetPath: '$(Build.Repository.LocalPath)'
|
||||
- ${{ each buildStep in parameters.buildSteps }}:
|
||||
- template: ./service/build-step.yaml
|
||||
parameters:
|
||||
|
||||
@ -31,6 +31,8 @@ parameters:
|
||||
timeout: 1440
|
||||
dependencies:
|
||||
- name: frontend
|
||||
source: current
|
||||
version: 'latest'
|
||||
artifact: frontend
|
||||
patterns: '**/*'
|
||||
artifacts: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user