Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFRA-149: Pinning Az PS modules to version 10.4.1 #32

Merged
merged 5 commits into from
Nov 20, 2023
Merged

Conversation

BenedekFarkas
Copy link
Member

@BenedekFarkas BenedekFarkas commented Nov 16, 2023

INFRA-149
Previously we installed the latest version of Az.Storage, Az.Sql and Az.Websites. With the recent release of Az modules, Az.Storage version 6.0.0 is installed, but when running Invoke-AzureWebAppStorageAzCopy in GitHub Actions (during reset-azure-environment), it fails with this error:

Cannot perform sync due to error: Login Credentials missing. No SAS token or OAuth token is present and the resource is not public

Works fine locally. The DB copy operation in the workflow also failed, so we're installing the whole Az PS module package at the last known working version (that includes Az.Storage 5.10.1).

@BenedekFarkas BenedekFarkas self-assigned this Nov 16, 2023
Install-Module Az.Sql -AllowClobber -Force
Install-Module Az.Websites -AllowClobber -Force
Install-Module SqlServer -AllowClobber -Force
Install-Module Az -RequiredVersion 10.4.1 -AllowClobber -Force
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@Piedone Piedone merged commit c57449e into dev Nov 20, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants