ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

[Feature Request]: Improve stability of PSGallery installations

Open AlexanderSehr opened this issue 3 years ago • 0 comments

Description

Recently, more and more pipelines fail because of PSGallery installations (ref). We should hence invest (likely via a try-catch-retry) how we can improve the stability here.

  VERBOSE: Try installing:
  VERBOSE: - 1. [Az.Accounts]
  VERBOSE: - 2. [Az.Resources]
  VERBOSE: - 3. [powershell-yaml]
  VERBOSE: Found pre-installed modules in path [/usr/share/az_9.3.0]. Adding it PSModulePath environment variable.
  VERBOSE: Install-CustomModule start
  VERBOSE: =====================
  VERBOSE: HANDLING MODULE [1/3] [Az.Accounts] 
  VERBOSE: =====================
  Get-PackageSource: Unable to find repository 'PSGallery'. Use Get-PSRepository to see all
  available repositories.

This improvement should also be ported to the AVM CI.

AlexanderSehr avatar Nov 13 '23 08:11 AlexanderSehr