Skip to content

Commit

Permalink
Switch CI builds to use public machine pool (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcooley authored Mar 5, 2019
1 parent a0e2dac commit 4c41f23
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build/pipelines/azure-pipelines.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@ jobs:
- template: ./templates/run-unit-tests.yaml
parameters:
platform: x64
reimageServiceConnection: essential-experiences-interactive-reimage
reimageSubscriptionId: a8f5eb47-e59c-44b4-8e42-e70811a047b5
reimageResourceGroup: EETestPublic

- template: ./templates/run-unit-tests.yaml
parameters:
platform: x86
reimageServiceConnection: essential-experiences-interactive-reimage
reimageSubscriptionId: a8f5eb47-e59c-44b4-8e42-e70811a047b5
reimageResourceGroup: EETestPublic

- template: ./templates/package-appxbundle.yaml
6 changes: 6 additions & 0 deletions build/pipelines/azure-pipelines.release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ jobs:
- template: ./templates/run-unit-tests.yaml
parameters:
platform: x64
reimageServiceConnection: macool-sandbox-interactiveDesktopRS5
reimageSubscriptionId: 012a8008-c00f-45b3-9828-41ebba30141d
reimageResourceGroup: interactiveDesktopRS5

- template: ./templates/run-unit-tests.yaml
parameters:
platform: x86
reimageServiceConnection: macool-sandbox-interactiveDesktopRS5
reimageSubscriptionId: 012a8008-c00f-45b3-9828-41ebba30141d
reimageResourceGroup: interactiveDesktopRS5

- template: ./templates/package-appxbundle.yaml

Expand Down
7 changes: 5 additions & 2 deletions build/pipelines/templates/run-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

parameters:
platform: ''
reimageServiceConnection: ''
reimageSubscriptionId: ''
reimageResourceGroup: ''

jobs:
- job: UnitTests${{ parameters.platform }}
Expand Down Expand Up @@ -49,6 +52,6 @@ jobs:
displayName: Reimage test machine
inputs:
connectionType: connectedServiceNameARM
azureServiceConnection: macool-sandbox-interactiveDesktopRS5
urlSuffix: subscriptions/012a8008-c00f-45b3-9828-41ebba30141d/resourceGroups/interactiveDesktopRS5/providers/Microsoft.Compute/virtualMachineScaleSets/essential/reimage?api-version=2018-10-01
azureServiceConnection: ${{ parameters.reimageServiceConnection }}
urlSuffix: subscriptions/${{ parameters.reimageSubscriptionId }}/resourceGroups/${{ parameters.reimageResourceGroup }}/providers/Microsoft.Compute/virtualMachineScaleSets/essential/reimage?api-version=2018-10-01
body: '{ "instanceIds": ["$(agentInstanceId)"] }'

0 comments on commit 4c41f23

Please sign in to comment.