Merge pull request #34 from Azure/user/vikas0212git/update_linux_pool

User/vikas0212git/update linux pool
This commit is contained in:
Vikas 2021-06-15 09:55:11 -07:00 коммит произвёл GitHub
Родитель 6c3a65e890 a4cb022586
Коммит 97db8e2f74
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 51 добавлений и 22 удалений

Просмотреть файл

@ -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'