forked from Azure/iotedge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding mqtt broker to long haul (Azure#4414)
Currently our nested long haul does not run with mqtt broker on. This PR splits the pipeline into 2 paths - 1 that sets up 3 AMQP vms and 1 that sets up 3 MQTT vms with the broker on. That way we can test our MQTT scenarios. I've taken away logic for arm32 and arm64 since we were skipping it anyway. We will add it back in a later PR when we have arm32 and arm64 agents up and running. Example run: https://dev.azure.com/msazure/One/_build/results?buildId=39491736&view=results
- Loading branch information
1 parent
a02f33f
commit 41a8d3e
Showing
15 changed files
with
893 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
parameters: | ||
transportType: '' | ||
|
||
jobs: | ||
- job: Deploy_Longhaul_Linux_Amd64_${{ parameters.transportType }} | ||
displayName: Set up and run longhaul tests on Linux Amd64 for ${{ parameters.transportType }} | ||
dependsOn: SetupVM_level4_${{ parameters.transportType }} | ||
condition: and(succeeded(), eq(variables['run.linux.amd64.moby'], 'true')) | ||
pool: | ||
name: $(pool.name) | ||
demands: | ||
# Currently, agent-group-amqp is in eastus in iotedge-deploy-vnet3, and agent-group-mqtt is in westus2 in iotedge-deploy-vnet | ||
- agent-group -equals $(agent.group)-${{ parameters.transportType }} | ||
- Agent.OS -equals Linux | ||
- Agent.OSArchitecture -equals X64 | ||
- status -equals unlocked | ||
variables: | ||
parentName: $[ dependencies.SetupVM_level4_${{ parameters.transportType }}.outputs['deployIoTEdge.deviceName'] ] | ||
parentDeviceId: $[ dependencies.SetupVM_level4_${{ parameters.transportType }}.outputs['createIdentity.parentDeviceId'] ] | ||
edgelet.artifact.name: 'iotedged-ubuntu18.04-amd64' | ||
aziotis.artifact.name: 'packages_ubuntu-18.04_amd64' | ||
aziotis.package.filter: 'aziot-identity-service_*_amd64.deb' | ||
hostPlatform: 'linux_amd64_moby' | ||
quickstart.package.name: 'IotEdgeQuickstart.linux-x64.tar.gz' | ||
nestededge: true | ||
steps: | ||
- template: nested-get-secrets.yaml | ||
- template: lock-test-agent.yaml | ||
- template: nested-get-root-ca.yaml | ||
- template: nested-longhaul-deploy.yaml | ||
parameters: | ||
release.label: 'lh$(agent.group)' | ||
test.buildNumber: '$(Build.BuildNumber)' | ||
test.buildId: '$(Build.BuildId)' | ||
test.startDelay: '$(test.startDelay)' | ||
test.deploymentFileName: 'nestededge_bottomLayerBaseDeployment_long_haul_${{ parameters.transportType }}.template.json' | ||
build.source.branch: '$(Build.SourceBranchName)' | ||
edgelet.source.branch: '$(edgelet.package.branchName)' | ||
images.source.branch: '$(images.branchName)' | ||
build.repo.path: '$(Build.SourcesDirectory)' | ||
edgelet.artifact.name: '$(edgelet.artifact.name)' | ||
images.artifact.name: '$(az.pipeline.images.artifacts)' | ||
container.registry: '$(cr.address)' | ||
container.registry.username: '$(edgebuilds-azurecr-io-username)' | ||
container.registry.password: '$(edgebuilds-azurecr-io-pwd)' | ||
iotHub.connectionString: '$(IotHubStressConnString)' | ||
eventHub.connectionString: '$(EventHubStressConnStr)' | ||
loadGen.message.frequency: '$(loadGen.message.frequency)' | ||
longHaul.desiredModulesToRestartCSV: '$(longHaul.desiredModulesToRestartCSV)' | ||
longHaul.restartIntervalInMins: '$(longHaul.restartIntervalInMins)' | ||
longHaul.sendReportFrequency: '$(longHaul.sendReportFrequency)' | ||
test.runtimeLogLevel: '$(test.runtimeLogLevel)' | ||
logAnalytics.workspaceId: '$(kvLogAnalyticWorkspaceId)' | ||
logAnalytics.sharedKey: '$(kvLogAnalyticSharedKey)' | ||
twinTester.twinUpdateSize: '$(twinTester.twinUpdateSize)' | ||
twinTester.twinUpdateFrequency: '$(twinTester.twinUpdateFrequency)' | ||
twinTester.twinUpdateFailureThreshold: '$(twinTester.twinUpdateFailureThreshold)' | ||
twinTester.edgeHubRestartFailureTolerance: '$(twinTester.edgeHubRestartFailureTolerance)' | ||
metricsCollector.metricsEndpointsCSV: '$(metricsCollector.metricsEndpointsCSV)' | ||
metricsCollector.scrapeFrequencyInSecs: '$(metricsCollector.scrapeFrequencyInSecs)' | ||
metricsCollector.uploadTarget: '$(metricsCollector.uploadTarget)' | ||
metricsCollector.hostPlatform: '$(hostPlatform)' | ||
longHaul.parentHostname: '$(parentName)' | ||
longHaul.parentEdgeDevice: '$(parentDeviceId)' | ||
testResultCoordinator.storageAccountConnectionString: '$(EdgeLonghaulStorageAccountConnString)' | ||
quickstart.package.name: '$(quickstart.package.name)' | ||
aziotis.artifact.name: '$(aziotis.artifact.name)' | ||
aziotis.package.filter: '$(aziotis.package.filter)' |
Oops, something went wrong.