Fix upload-tools yaml. (#116)
This commit is contained in:
Родитель
331fd6f7fe
Коммит
28057389c3
|
@ -39,6 +39,8 @@ stages:
|
|||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/deploy/deploy.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/test/test.yml
|
||||
parameters:
|
||||
RunBvt: ${{ parameters.RunBvt }}
|
||||
|
|
|
@ -40,6 +40,8 @@ stages:
|
|||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/deploy/deploy-infrastructure.yml
|
||||
- template: stages/deploy/deploy.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/test/test.yml
|
||||
parameters:
|
||||
RunBvt: ${{ parameters.RunBvt }}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
parameters:
|
||||
- name: BuildArtifactsLocation
|
||||
type: string
|
||||
|
||||
stages:
|
||||
- stage: Deploy
|
||||
jobs:
|
||||
|
@ -6,3 +10,5 @@ stages:
|
|||
vmImage: 'ubuntu-latest'
|
||||
steps:
|
||||
- template: steps/upload-tools.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
parameters:
|
||||
- name: BuildArtifactsLocation
|
||||
type: string
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
|
@ -9,14 +13,14 @@ steps:
|
|||
|
||||
- task: DownloadPipelineArtifact@2
|
||||
displayName: 'Download Local pipeline artifact'
|
||||
condition: and(succeeded(), eq(variables.buildArtifactsLocation, 'current'))
|
||||
condition: and(succeeded(), eq('${{parameters.BuildArtifactsLocation}}', 'current'))
|
||||
inputs:
|
||||
artifact: AzureAuth
|
||||
path: $(Build.SourcesDirectory)/artifacts/cli/raft-tools/auth/dotnet-core-3.1
|
||||
|
||||
- task: DownloadPipelineArtifact@2
|
||||
displayName: 'Download Production pipeline artifact'
|
||||
condition: and(always(), eq(variables.buildArtifactsLocation, 'production'))
|
||||
condition: and(always(), eq('${{parameters.BuildArtifactsLocation}}', 'production'))
|
||||
inputs:
|
||||
source: 'specific'
|
||||
project: 'raft'
|
||||
|
|
|
@ -38,6 +38,8 @@ stages:
|
|||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/deploy/deploy-infrastructure.yml
|
||||
- template: stages/deploy/deploy.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/test/test.yml
|
||||
parameters:
|
||||
RunBvt: ${{ parameters.RunBvt }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче