From 5391bfdd43d434a0caa9f1430d6a6da649ddc1da Mon Sep 17 00:00:00 2001 From: Jiri Formacek Date: Fri, 26 Apr 2024 20:41:07 +0200 Subject: [PATCH] removed hybrid worker helper teporarily --- .../Manage-AutomationAccount.ps1 | 12 ++++++------ vss-extension.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 b/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 index 619407f..7732c7c 100644 --- a/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 +++ b/Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1 @@ -15,20 +15,20 @@ $reportMissingImplementation = Get-VstsInput -Name 'reportMissingImplementation' $verboseLog = Get-VstsInput -Name 'verbose' $helperHybridWorkerModuleManagement = Get-VstsInput -Name 'helperHybridWorkerModuleManagement' -#load Automation account REST wrapper +<# #load Automation account REST wrapper $parentDirectory = Split-Path -Path $PSScriptRoot -Parent $grandparentDirectory = Split-Path -Path $parentDirectory -Parent - + #> if ($verboseLog) { $VerbosePreference = 'Continue' } -if ($helperHybridWorkerModuleManagement) { +<# if ($helperHybridWorkerModuleManagement) { $blobNameModulesJson = "required-modules.json" $manageModulesPs1 = "HybridWorkerModuleManagement.ps1" $manageModulesPs1Path = "$($grandparentDirectory)\Helpers\HybridWorkerModuleManagement\$($manageModulesPS1)" } -#load VstsTaskSdk module + #>#load VstsTaskSdk module Write-Host "Installing dependencies..." if ($null -eq (Get-Module -Name VstsTaskSdk -ListAvailable)) { Write-Host "VstsTaskSdk module not found, installing..." @@ -429,7 +429,7 @@ if (Check-Scope -Scope $scope -RequiredScope 'Modules') { if ([string]::IsNullOrEmpty($StorageAccount) -or [string]::IsNullOrEmpty($storageAccountContainer)) { continue } - # using solution for sync of powershell modules between automation account and hybrid workers - if you wish to not use the solution set $helperHybridWorkerModuleManagement = $false +<# # using solution for sync of powershell modules between automation account and hybrid workers - if you wish to not use the solution set $helperHybridWorkerModuleManagement = $false if ($helperHybridWorkerModuleManagement) { # process modules for hybrid workers $requiredModules = Get-ModulesForHybridWorker -definitions $definitions ` @@ -450,7 +450,7 @@ if (Check-Scope -Scope $scope -RequiredScope 'Modules') { -filePath $manageModulesPS1Path ` -storageBlobName $manageModulesPS1 } - + #> } if ($FullSync) { $runtime = '5.1' diff --git a/vss-extension.json b/vss-extension.json index 93d1881..5bb9a35 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "Manage-AutomationAccount", "name": "Manage-AutomationAccount", - "version": "1.9.62", + "version": "1.9.63", "publisher": "GreyCorbelSolutions", "targets": [ {