Skip to content

PowerShell test gallery https://www.poshtestgallery.com is down #17019

Closed

Description

PowerShell test gallery https://www.poshtestgallery.com is down, we are investigating the root cause now.

We marked the PowerShellGet tests pending in the following files because of this

  • PackageManagement.Tests.ps1
  • PowerShellGet.Tests.ps1

Make sure to re-enable those tests when this issue is resolved.

Activity

  1. OscoreJohnSteiner commented on Mar 22, 2022

    @OscoreJohnSteiner

    Any update on this?

  2. daxian-dbw commented on Mar 22, 2022

    @daxian-dbw
    MemberAuthor

    OscoreJohnSteiner Are you blocked by the outage of the test gallery? What scenario do you depend on the test gallery?

  3. OscoreJohnSteiner commented on Mar 22, 2022

    @OscoreJohnSteiner

    I've inherited some code as follows:

        $packageSource = Register-PackageSource -Trusted -ProviderName 'PowerShellGet' -Name 'Posh Test Gallery' -Location 'https://www.poshtestgallery.com/api/v2/' -Force
        Install-Module -Name 'AzureAD.Standard.Preview' -Force -Scope CurrentUser -SkipPublisherCheck -AllowClobber 
        Import-Module AzureAD.Standard.Preview
    
        $context = [Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider]::Instance.Profile.DefaultContext
        $graphToken = [Microsoft.Azure.Commands.Common.Authentication.AzureSession]::Instance.AuthenticationFactory.Authenticate($context.Account, $context.Environment, $context.Tenant.Id.ToString(), $null, [Microsoft.Azure.Commands.Common.Authentication.ShowDialog]::Never, $null, "https://graph.microsoft.com").AccessToken
        $aadToken = [Microsoft.Azure.Commands.Common.Authentication.AzureSession]::Instance.AuthenticationFactory.Authenticate($context.Account, $context.Environment, $context.Tenant.Id.ToString(), $null, [Microsoft.Azure.Commands.Common.Authentication.ShowDialog]::Never, $null, "https://graph.windows.net").AccessToken
    
        Connect-AzureAD -AadAccessToken $aadToken -AccountId $context.Account.Id -TenantId $context.tenant.id -MsAccessToken $graphToken
    

    Any sense of whether I should be able to just change poshtestgallery.com for powershellgallery.com (and remove the preview part from AzureAD.Standard.Preview?) I'll give it a try but I'm sure there was a reason that poshtestgallery and not powershellgallery was chosen at the time.

  4. daxian-dbw commented on Mar 22, 2022

    @daxian-dbw
    MemberAuthor

    You may want to try AzureADPreview which is available on PowerShell Gallery. The test gallery does not have any service level agreement or objectives. Packages in it could be deleted without notifications. So, you should depend on powershellgallery.com only.

  5. daxian-dbw commented on Mar 25, 2022

    @daxian-dbw
    MemberAuthor

    The PackageManagement.Tests.ps1 and PowerShellGet.Tests.ps1 are updated to test against powershellgallery.com (#17062).
    The test gallery actually becomes Microsoft internal access only, due to a policy enforced in Microsoft. The gallery team intends to keep it internal accessible only, so I will close this issue.

  6. ghost removed
    Needs-TriageThe issue is new and needs to be triaged by a work group.
    on Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Resolution-Won't FixThe issue won't be fixed, possibly due to compatibility reason.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions