Merge pull request #34 from Azure/user/vikas0212git/update_linux_pool
User/vikas0212git/update linux pool
This commit is contained in:
Коммит
97db8e2f74
|
@ -13,37 +13,32 @@ stages:
|
|||
- stage: E2ETest
|
||||
displayName: E2E Tests
|
||||
jobs:
|
||||
- job: SetupScript
|
||||
steps:
|
||||
- script: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install jq
|
||||
displayName: 'Install jq'
|
||||
- task: AzureCLI@2
|
||||
inputs:
|
||||
azureSubscription: 'Connection to Pipeline resources for IoT Edge Config'
|
||||
scriptType: 'bash'
|
||||
scriptLocation: 'inlineScript'
|
||||
inlineScript: |
|
||||
az upgrade
|
||||
az extension add --name azure-iot
|
||||
az --version
|
||||
az account set -s $(AzureSubscriptionId)
|
||||
displayName: 'Set Azure resources'
|
||||
|
||||
- job: LinuxE2ETests
|
||||
pool:
|
||||
vmImage: ubuntu-18.04
|
||||
name: IoT-Devices-E2E
|
||||
steps:
|
||||
- template: continuous-e2e-setup.yml
|
||||
- template: continuous-e2e-uninstalledge.yml
|
||||
- template: continuous-e2e.yml
|
||||
dependsOn: SetupScript
|
||||
dependsOn: []
|
||||
condition: succeeded()
|
||||
|
||||
- job: RaspberryPiE2ETests
|
||||
pool:
|
||||
vmImage: ubuntu-18.04
|
||||
name: Raspberry-Pi
|
||||
steps:
|
||||
- template: continuous-e2e-setup.yml
|
||||
- template: continuous-e2e-uninstalledge.yml
|
||||
- template: continuous-e2e.yml
|
||||
dependsOn: SetupScript
|
||||
dependsOn: []
|
||||
condition: succeeded()
|
||||
|
||||
- job: UbuntuE2ETests
|
||||
pool:
|
||||
vmImage: ubuntu-18.04
|
||||
steps:
|
||||
- template: continuous-e2e-setup.yml
|
||||
- template: continuous-e2e.yml
|
||||
dependsOn: []
|
||||
condition: succeeded()
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
apt-get update -y
|
||||
sudo apt-get install jq
|
||||
displayName: 'Install jq'
|
||||
- task: AzureCLI@2
|
||||
inputs:
|
||||
azureSubscription: 'Connection to Pipeline resources for IoT Edge Config'
|
||||
scriptType: 'bash'
|
||||
scriptLocation: 'inlineScript'
|
||||
inlineScript: |
|
||||
az upgrade
|
||||
az extension add --name azure-iot
|
||||
az --version
|
||||
az account set -s $(AzureSubscriptionId)
|
||||
displayName: 'Set Azure resources'
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
steps:
|
||||
- task: AzureCLI@2
|
||||
inputs:
|
||||
azureSubscription: 'Connection to Pipeline resources for IoT Edge Config'
|
||||
scriptType: 'bash'
|
||||
scriptLocation: 'inlineScript'
|
||||
inlineScript: |
|
||||
sudo apt-get remove --purge aziot-edge aziot-identity-service -y
|
||||
sudo docker rm $(sudo docker ps -a -q) > /dev/null 2>&1
|
||||
sudo docker rmi -f $(sudo docker images -aq) /dev/null 2>&1
|
||||
sudo apt-get remove --purge moby-cli moby-engine -y
|
||||
displayName: 'Uninstall iotedge package from previous run'
|
Загрузка…
Ссылка в новой задаче