Skip to content
Commit fec2f197 authored by Lingkai Dong's avatar Lingkai Dong
Browse files

azure-update: Clean up ADU group, device class, device & deployment



Azure Device Update has a per-instance limit of 100 device groups and 80
device classes. Once the limit is reached, no more groups or device
classes can be created and this results in deployment failures in CI
runs.

Add deletion of group and device class to the cleanup command. Because
Azure only allows deleting empty groups which have no devices or
deployments, we also query and delete the group's associated device and
deployment.

Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
parent 5350a14d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment