Skip to content

Commit

Permalink
removed hybrid worker helper teporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
jformacek committed Apr 26, 2024
1 parent c332545 commit 5391bfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down Expand Up @@ -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 `
Expand All @@ -450,7 +450,7 @@ if (Check-Scope -Scope $scope -RequiredScope 'Modules') {
-filePath $manageModulesPS1Path `
-storageBlobName $manageModulesPS1
}

#>
}
if ($FullSync) {
$runtime = '5.1'
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "Manage-AutomationAccount",
"name": "Manage-AutomationAccount",
"version": "1.9.62",
"version": "1.9.63",
"publisher": "GreyCorbelSolutions",
"targets": [
{
Expand Down

0 comments on commit 5391bfd

Please sign in to comment.