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