Always build the binaries regardless if it's a production build or not. The publish step will determine which build pipeline artifacts to pull from. (#127)
This commit is contained in:
Родитель
f95bb9186c
Коммит
5d6d12a4bc
|
@ -33,8 +33,6 @@ variables:
|
|||
|
||||
stages:
|
||||
- template: stages/build/build.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/publish/publish.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
|
|
|
@ -21,5 +21,3 @@ parameters:
|
|||
|
||||
stages:
|
||||
- template: stages/build/build.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
|
|
|
@ -19,5 +19,3 @@ parameters:
|
|||
|
||||
stages:
|
||||
- template: stages/build/build.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
|
|
|
@ -33,8 +33,6 @@ variables:
|
|||
|
||||
stages:
|
||||
- template: stages/build/build.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/publish/publish.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
parameters:
|
||||
- name: BuildArtifactsLocation
|
||||
type: string
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
jobs:
|
||||
- job: CLI
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/cli.yml
|
||||
- template: steps/bvt-tests.yml
|
||||
|
@ -16,42 +11,36 @@ stages:
|
|||
- job: ApiService
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/apiservice.yml
|
||||
|
||||
- job: RESTlerAgent
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/restleragent.yml
|
||||
|
||||
- job: Orchestrator
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/orchestrator.yml
|
||||
|
||||
- job: TestInfra
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/test-infra.yml
|
||||
|
||||
- job: ResultAnalyzer
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/result-analyzer.yml
|
||||
|
||||
- job: AzureAuthUtility
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
condition: or(eq('${{parameters.BuildArtifactsLocation}}', 'current'), eq('${{parameters.BuildArtifactsLocation}}', ''))
|
||||
steps:
|
||||
- template: steps/azure-auth-utility.yml
|
||||
|
|
@ -31,8 +31,6 @@ variables:
|
|||
|
||||
stages:
|
||||
- template: stages/build/build.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
- template: stages/publish/publish.yml
|
||||
parameters:
|
||||
BuildArtifactsLocation: ${{ parameters.BuildArtifactsLocation }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче