Migrate StoreBroker tasks to SN+I authentication (#2179)

* update

* reset
This commit is contained in:
oneonezhang 2024-05-31 23:43:12 +08:00 коммит произвёл GitHub
Родитель b0f1531eeb
Коммит 7315f364b9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -20,7 +20,7 @@ jobs:
in(dependencies.Buildx86.result, 'Succeeded', 'SucceededWithIssues', 'Skipped'),
in(dependencies.BuildARM.result, 'Succeeded', 'SucceededWithIssues', 'Skipped'),
in(dependencies.BuildARM64.result, 'Succeeded', 'SucceededWithIssues', 'Skipped')
)
)
variables:
skipComponentGovernanceDetection: true
StoreBrokerMediaRootPath: $(TEMP)\SBMedia
@ -41,7 +41,7 @@ jobs:
displayName: Publish MsixBundleSigned artifact
targetPath: $(Build.ArtifactStagingDirectory)\msixBundle
artifactName: msixBundleSigned
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
- output: pipelineArtifact
displayName: Publish StoreBroker Payload artifact
targetPath: $(StoreBrokerPackagePath)
@ -151,7 +151,7 @@ jobs:
}
]
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
- ${{ if eq(parameters.createStoreBrokerPackages, true) }}:
- powershell: |
# Just modify this line to indicate where your en-us PDP file is. Leave the other lines alone.
$enUSPdpFilePath = "$(Build.SourcesDirectory)\PDP\en-US\PDP.xml"
@ -170,11 +170,11 @@ jobs:
vstsFeed: WindowsInboxApps
vstsFeedPackage: calculator-pdp-media
vstsPackageVersion: $(SBMediaReleaseVersion)
- task: MS-RDX-MRO.windows-store-publish-dev.package-task.store-package@2
- task: MS-RDX-MRO.windows-store-publish-dev.package-task.store-package@3
displayName: Create StoreBroker Payload
inputs:
serviceEndpoint: Calculator StoreBroker Connection
ConnectedServiceNameARM: Calculator StoreBroker SNI
sbConfigPath: Tools/Build/StoreBroker/SBCalculatorConfig.json
sourceFolder: $(Build.ArtifactStagingDirectory)/msixBundle
contents: Microsoft.WindowsCalculator_8wekyb3d8bbwe.msixbundle

Просмотреть файл

@ -17,11 +17,11 @@ jobs:
displayName: Download storeBrokerPayload artifact
artifact: storeBrokerPayload
- task: MS-RDX-MRO.windows-store-publish-dev.flight-task.store-flight@2
- task: MS-RDX-MRO.windows-store-publish-dev.flight-task.store-flight@3
displayName: Flight StoreBroker Payload to team ring
name: StoreBrokerFlight
inputs:
serviceEndpoint: Calculator StoreBroker Connection
ConnectedServiceNameARM: Calculator StoreBroker SNI
appId: $(AppId)
flightId: $(FlightId)
inputMethod: JsonAndZip
@ -42,4 +42,4 @@ jobs:
submissionId: $(StoreBrokerFlight.WS_SubmissionId)
submissionDataPath: $(StoreBrokerPackagePath)\SBCalculator.json
packagePath: $(StoreBrokerPackagePath)\SBCalculator.zip
serviceEndpoint: AeroUpload-APS-Calculator
serviceEndpoint: AeroUpload-APS-Calculator