ci(azure-pipelines): add more params to dependencies
This commit is contained in:
parent
a2dbb1f5f3
commit
204d57cb96
8
.azure-pipelines/templates/service.yaml
Normal file → Executable file
8
.azure-pipelines/templates/service.yaml
Normal file → Executable file
@ -109,12 +109,12 @@ stages:
|
||||
IN_CI: true
|
||||
steps:
|
||||
- checkout: self
|
||||
- ${{ each dep in parameters.serviceDependencies }}:
|
||||
- ${{ each dependency in parameters.serviceDependencies }}:
|
||||
- task: DownloadPipelineArtifact@2
|
||||
displayName: Download artifacts from ${{ dep }} dependency
|
||||
displayName: Download artifacts from ${{ dependency.name }} dependency
|
||||
inputs:
|
||||
artifact: ${{ dep }}
|
||||
patterns: '**/*'
|
||||
artifact: ${{ dependency.artifact }}
|
||||
patterns: '${{ dependency.patterns }}'
|
||||
path: '$(Build.Repository.LocalPath)'
|
||||
- ${{ each buildStep in parameters.buildSteps }}:
|
||||
- template: ./service/build-step.yaml
|
||||
|
||||
@ -30,7 +30,9 @@ parameters:
|
||||
pool: 'Prod Private Agent Pool DS3'
|
||||
timeout: 1440
|
||||
dependencies:
|
||||
- frontend
|
||||
- name: frontend
|
||||
artifact: frontend
|
||||
patterns: '**/*'
|
||||
artifacts: |
|
||||
bin/uniworx
|
||||
bin/uniworxdb
|
||||
|
||||
Loading…
Reference in New Issue
Block a user