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
|
IN_CI: true
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
- ${{ each dep in parameters.serviceDependencies }}:
|
- ${{ each dependency in parameters.serviceDependencies }}:
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download artifacts from ${{ dep }} dependency
|
displayName: Download artifacts from ${{ dependency.name }} dependency
|
||||||
inputs:
|
inputs:
|
||||||
artifact: ${{ dep }}
|
artifact: ${{ dependency.artifact }}
|
||||||
patterns: '**/*'
|
patterns: '${{ dependency.patterns }}'
|
||||||
path: '$(Build.Repository.LocalPath)'
|
path: '$(Build.Repository.LocalPath)'
|
||||||
- ${{ each buildStep in parameters.buildSteps }}:
|
- ${{ each buildStep in parameters.buildSteps }}:
|
||||||
- template: ./service/build-step.yaml
|
- template: ./service/build-step.yaml
|
||||||
|
|||||||
@ -30,7 +30,9 @@ parameters:
|
|||||||
pool: 'Prod Private Agent Pool DS3'
|
pool: 'Prod Private Agent Pool DS3'
|
||||||
timeout: 1440
|
timeout: 1440
|
||||||
dependencies:
|
dependencies:
|
||||||
- frontend
|
- name: frontend
|
||||||
|
artifact: frontend
|
||||||
|
patterns: '**/*'
|
||||||
artifacts: |
|
artifacts: |
|
||||||
bin/uniworx
|
bin/uniworx
|
||||||
bin/uniworxdb
|
bin/uniworxdb
|
||||||
|
|||||||
Reference in New Issue
Block a user