-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into perform-snat-always-bug
- Loading branch information
Showing
6,370 changed files
with
255,343 additions
and
96,942 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Variable 'BotAccessToken' was defined in the Variables tab | ||
# Multi-job configuration must be converted to matrix strategy: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#multi-job-configuration | ||
parameters: | ||
- name: AzurePowerShellVersion | ||
displayName: Azure PowerShell Version(like 9.0.0) | ||
type: string | ||
- name: IsLatestVersion | ||
displayName: IsLatestVersion | ||
type: boolean | ||
default: true | ||
|
||
jobs: | ||
- job: Job_1 | ||
displayName: "Sync latest UX metadata files to Storage Blob" | ||
timeoutInMinutes: 90 | ||
pool: pool-windows-2019 | ||
steps: | ||
- checkout: self | ||
- task: PowerShell@2 | ||
displayName: Compress the UX metadata files | ||
inputs: | ||
targetType: inline | ||
script: >- | ||
.\CompressUXMetadata.ps1 | ||
workingDirectory: tools | ||
- task: AzurePowerShell@5 | ||
displayName: Upload to Storage Blob | ||
inputs: | ||
azureSubscription: 'azureps-infra-sp' | ||
ScriptType: InlineScript | ||
workingDirectory: artifacts | ||
Inline: | | ||
$context = New-AzStorageContext -StorageAccountName "$(StorageAccountName)" | ||
If ("${{ parameters.IsLatestVersion }}" -eq "True") | ||
{ | ||
Copy-Item "UX.zip" -Destination "azps-latest.zip" | ||
Set-AzStorageBlobContent -Container $(StorageBlobContainerName) -Context $context -File "azps-latest.zip" -Blob "$(StorageBlobFolder)/azps-latest.zip" -Force | ||
} | ||
$zipFile = "${{ parameters.AzurePowerShellVersion }}.zip" | ||
Move-Item "UX.zip" -Destination $zipFile | ||
Set-AzStorageBlobContent -Container $(StorageBlobContainerName) -Context $context -File $zipFile -Blob "$(StorageBlobFolder)/$zipFile" -Force | ||
azurePowerShellVersion: LatestVersion | ||
pwsh: true | ||
- template: util/publish-artifacts-steps.yml | ||
parameters: | ||
artifactName: ux-portal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.