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

Add support for upgrade of Azure stack HCI cluster #14174

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

remove unnecessary parameteres

79e9629
Select commit
Loading
Failed to load commit list.
Draft

Add support for upgrade of Azure stack HCI cluster #14174

remove unnecessary parameteres
79e9629
Select commit
Loading
Failed to load commit list.
Azure Pipelines / AzQuickStarts-MAC succeeded Oct 8, 2024 in 2m 28s

Build #161475 succeeded with issues

Annotations

Check failure on line 17 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AzQuickStarts-MAC

Build log #L17

D:\a\1\test\ci-scripts\Validate-ReadMe.ps1 : Readme file must be named README.md (with that exact casing).
At D:\a\_temp\b996f386-b6dd-4104-bb42-51d45e3f5679.ps1:4 char:1
+ . 'D:\a\1\test\ci-scripts\Validate-ReadMe.ps1'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Validate-ReadMe.ps1
Get-Content : Cannot find path 'D:\a\1\s\quickstarts\microsoft.azurestackhci\upgrade-cluster\README.md' because it does not exist.
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:84 char:11
+ $readme = Get-Content $readmePath -Raw
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (D:\a\1\s\quickstart…e-cluster\README.md:String) [Get-Content], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
You cannot call a method on a null-valued expression.
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:105 char:5
+ if (-not ($readme.StartsWith("# ")) -and
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Note-FixableError : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.azurestackhci/upgrade-cluster/PublicLastTestDate.svg

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:113 char:9
+         Note-FixableError "Readme is missing badge: $badge"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.azurestackhci/upgrade-cluster/PublicDeployment.svg

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:113 char:9
+         Note-FixableError "Readme is missing badge: $badge"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.azurestackhci/upgrade-cluster/FairfaxLastTestDate.svg

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:113 char:9
+         Note-FixableError "Readme is missing badge: $badge"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.azurestackhci/upgrade-cluster/FairfaxDeployment.svg

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:113 char:9
+         Note-FixableError "Readme is missing badge: $badge"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.azurestackhci/upgrade-cluster/BestPracticeResult.svg

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:113 char:9
+         Note-FixableError "Readme is missing badge: $badge"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme is missing badge: https://azurequickstartsservice.blob.core.windows.net/badges/quickstarts/microsoft.azurestackhci/upgrade-cluster/CredScanResult.svg

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:113 char:9
+         Note-FixableError "Readme is missing badge: $badge"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme must have a button with the link: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.svg?sanitize=true

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:121 char:9
+         Note-FixableError "Readme must have a button with the link: $ …
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme must have a button with the link: http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.azurestackhci%2Fupgrade-cluster%2Fazuredeploy.json

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:121 char:9
+         Note-FixableError "Readme must have a button with the link: $ …
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme must have a button with the link: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:121 char:9
+         Note-FixableError "Readme must have a button with the link: $ …
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme must have a button with the link: https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.azurestackhci%2Fupgrade-cluster%2Fazuredeploy.json

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:121 char:9
+         Note-FixableError "Readme must have a button with the link: $ …
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme must have a button with the link: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazuregov.svg?sanitize=true

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:121 char:9
+         Note-FixableError "Readme must have a button with the link: $ …
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError
Note-FixableError : Readme must have a button with the link: https://portal.azure.us/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.azurestackhci%2Fupgrade-cluster%2Fazuredeploy.json

**** SEE BELOW FOR EXPECTED MARKUP TO COPY AND PASTE INTO THE README ****
"Pass in -Fix flag to attempt fix"
At D:\a\1\test\ci-scripts\Validate-ReadMe.ps1:121 char:9
+         Note-FixableError "Readme must have a button with the link: $ …
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Note-FixableError

Check failure on line 137 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AzQuickStarts-MAC

Build log #L137

PowerShell exited with code '1'.

Check failure on line 29 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AzQuickStarts-MAC

Build log #L29

Analyze-Template : TemplateAnalyzer failed trying to analyze: D:\a\1\s\quickstarts\microsoft.azurestackhci\upgrade-cluster\azuredeploy.json D:\a\1\s\quickstarts\microsoft.azurestackhci\upgrade-cluster\gen.azuredeploy.parameters.json
At D:\a\1\test\ci-scripts\Run-TemplateAnalyzer.ps1:78 char:34
+             $newAnalysisPassed = Analyze-Template @params
+                                  ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Analyze-Template

Check failure on line 36 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AzQuickStarts-MAC

Build log #L36

PowerShell exited with code '1'.