Skip to content

[Feature Request]: Improve stability of PSGallery installations  #4239

@AlexanderSehr

Description

@AlexanderSehr

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions