Skip to content

Commit dc0443c

Browse files
committed
Split build and deploy pools
1 parent efafc83 commit dc0443c

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.4
1+
2.4.0

build.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,12 @@ variables:
5151

5252
jobs:
5353
- job: Build
54-
5554
pool:
56-
name: Kubernetes
57-
55+
vmImage: ubuntu-latest
5856
workspace:
5957
clean: all
60-
6158
steps:
59+
6260
- task: PowerShell@2
6361
displayName: Set repository name
6462
inputs:
@@ -260,6 +258,22 @@ jobs:
260258
continueOnError: true
261259
condition: and(succeeded(), eq(variables.releaseExists, false))
262260

261+
- script: |
262+
echo "##vso[task.setvariable variable=repo;isOutput=true]$(repo)"
263+
echo "##vso[task.setvariable variable=version;isOutput=true]$(version)"
264+
name: SetOutputVars
265+
displayName: Set output variables
266+
267+
- job: Deploy
268+
variables:
269+
repo: $[ dependencies.Build.outputs['SetOutputVars.repo'] ]
270+
version: $[ dependencies.Build.outputs['SetOutputVars.version'] ]
271+
pool:
272+
name: Kubernetes
273+
workspace:
274+
clean: all
275+
steps:
276+
263277
- script: |
264278
helm repo add lynxmagnus http://$(helmRepository)
265279
helm repo update

0 commit comments

Comments
 (0)