-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve Get-OSRepoAvailableVersions #124
base: dev
Are you sure you want to change the base?
Improve Get-OSRepoAvailableVersions #124
Conversation
Changes due to split of Development Environment installer to separate Service Studio and Integration Studio ones.
…ersion[]] Fix issues with names and version numbers incompatible with [System.Version[]] Some files in the repository have names ending in ..exe or have version numbers not following major.minor.build.revision causing variable assignment with [System.Version[]] to fail Removing extension and whatever is after the correct version numbering with regex.
"Cannot index into a null array." from $AppVersions[0].ToString()
043ee10
to
0e31076
Compare
Several tests are failing with the following error: Line 49 of Az.Storage.psm1 is: The Register-AzModule function is part of the Az.Accounts module, and it is installed as a dependency of Az.Storage. One of the changes implemented in this PR with commit eebb252, is to replace the dependency on AzureRM.Storage module with Az.Storage which is part of the new Az modules. The two modules should not coexist in Windows PowerShell 5.1, so if the Az module is installed the older AzureRM should be removed. This is also a problem for users wishing to install OutSystems.SetupTools having the Az modules already installed (it will throw an error when installing), which is increasingly common as users migrate away from AzureRM module closer to its retire date. The Az module installation in the build environment fails because of possible conflicts with AzureRM that is installed, so it is made using AllowClobber to overcome this. I was able to reproduce after reading this about something very similar: Steps to reproduce:
Even though the AzureRM module is removed from the session, I think that some assemblies remain loaded in the session and cause the issue, possibly the NewtonSoft.Json referred in the previous link. @pedro132 I believe that to solve this would required some knowledge of the configuration of the build environment, can you help?. |
https://learn.microsoft.com/en-gb/powershell/azure/migrate-from-azurerm-to-az