Skip to content

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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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