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
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download artifacts from ${{ dependency.name }} dependency
|
displayName: Download artifacts from ${{ dependency.name }} dependency
|
||||||
inputs:
|
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 }}'
|
patterns: '${{ dependency.patterns }}'
|
||||||
path: '$(Build.Repository.LocalPath)'
|
targetPath: '$(Build.Repository.LocalPath)'
|
||||||
- ${{ each buildStep in parameters.buildSteps }}:
|
- ${{ each buildStep in parameters.buildSteps }}:
|
||||||
- template: ./service/build-step.yaml
|
- template: ./service/build-step.yaml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@ -31,6 +31,8 @@ parameters:
|
|||||||
timeout: 1440
|
timeout: 1440
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
|
source: current
|
||||||
|
version: 'latest'
|
||||||
artifact: frontend
|
artifact: frontend
|
||||||
patterns: '**/*'
|
patterns: '**/*'
|
||||||
artifacts: |
|
artifacts: |
|
||||||
|
|||||||
Reference in New Issue
Block a user