hanzhang54 852d1ad718
Cherry-pick StoreBroker and localization commits (#2183)
* Migrate StoreBroker tasks to SN+I authentication (#2179)

* update

* reset

(cherry picked from commit 7315f364b9412e7a49934b4de20ba78138762c5a)

* Update localized strings 2024-06-04 (#2181)

(cherry picked from commit f3d8e7588cdefc6d8f84dcb960938a5bdebea69e)

---------

Co-authored-by: oneonezhang <oneonezhang@users.noreply.github.com>
2024-06-06 01:03:15 +08:00

46 lines
1.5 KiB
YAML

# This template contains jobs to release the app to the Store.
jobs:
- job: ReleaseStore
dependsOn: Package
variables:
skipComponentGovernanceDetection: true
StoreBrokerPackagePath: $(Pipeline.Workspace)\storeBrokerPayload
StoreBrokerLogPath: $(StoreBrokerPackagePath)\StoreBroker.log
FlightId: 161f0975-cb5f-475b-8ef6-26383c37621f
AppId: 9WZDNCRFHVN5
ProductId: 00009007199266248474
steps:
- checkout: none
- download: current
displayName: Download storeBrokerPayload artifact
artifact: storeBrokerPayload
- task: MS-RDX-MRO.windows-store-publish-dev.flight-task.store-flight@3
displayName: Flight StoreBroker Payload to team ring
name: StoreBrokerFlight
inputs:
ConnectedServiceNameARM: Calculator StoreBroker SNI
appId: $(AppId)
flightId: $(FlightId)
inputMethod: JsonAndZip
jsonPath: $(StoreBrokerPackagePath)\SBCalculator.json
zipPath: $(StoreBrokerPackagePath)\SBCalculator.zip
force: true
skipPolling: true
targetPublishMode: Immediate
logPath: $(StoreBrokerLogPath)
deletePackages: true
numberOfPackagesToKeep: 0
- task: APS-Aero-Package.aero-upload-task.AeroUploadTask.AeroUpload@0
displayName: Aero Upload
inputs:
productId: $(ProductId)
flightId: $(FlightId)
submissionId: $(StoreBrokerFlight.WS_SubmissionId)
submissionDataPath: $(StoreBrokerPackagePath)\SBCalculator.json
packagePath: $(StoreBrokerPackagePath)\SBCalculator.zip
serviceEndpoint: AeroUpload-APS-Calculator