Skip to content

Commit 8ac4779

Browse files
committed
updated module import logging
1 parent 2397e85 commit 8ac4779

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,10 +443,12 @@ if (Check-Scope -Scope $scope -RequiredScope 'Modules') {
443443
$results = $importingPackages
444444
do
445445
{
446+
Start-Sleep -Seconds 5
446447
$results = $results `
447448
| Get-AutoPackage `
448449
| Where-Object {$_.properties.provisioningState -in @('Creating')}
449-
Start-Sleep -Seconds 5
450+
"Waiting for $($results.Count) module(s) to be imported"
451+
$results | select-object name, @{N = 'version'; E = { $_.properties.version } }, @{N = 'provisioningState'; E = { $_.properties.provisioningState } } | Out-String
450452
}while($results.Count -gt 0)
451453
}
452454
$results = $importingPackages | Get-AutoPackage

vss-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifestVersion": 1,
33
"id": "Manage-AutomationAccount",
44
"name": "Manage-AutomationAccount",
5-
"version": "2.0.6",
5+
"version": "2.0.7",
66
"publisher": "GreyCorbelSolutions",
77
"targets": [
88
{

0 commit comments

Comments
 (0)