[Feature Request]: Improve stability of PSGallery installations
- Lingua principale
- PowerShell
- Stelle
- 737
- Fork
- 436
- Merge medio
- 10g 7h
- PR unite (30g)
- 1
Descrizione
### Description
Recently, more and more pipelines fail because of PSGallery installations ([ref](https://github.com/Azure/ResourceModules/actions/runs/6841965758/job/18602958170#step:3:118)). We should hence invest (likely via a try-catch-retry) how we can improve the stability here.
```PowerShell
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.