Skip to content

Commit

Permalink
V3 publishing for Runtime (#42262)
Browse files Browse the repository at this point in the history
* V3 publishing  (#41899)
  • Loading branch information
epananth committed Sep 17, 2020
1 parent a747fee commit 7f9b8ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion eng/pipelines/official/stages/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
parameters:
PublishRidAgnosticPackagesFromPlatform: Windows_NT_x64
publishingInfraVersion: 3

stages:

Expand All @@ -23,6 +24,7 @@ stages:
# Stages-based publishing entry point
- template: /eng/common/templates/post-build/post-build.yml
parameters:
publishingInfraVersion: ${{ parameters.publishingInfraVersion }}
validateDependsOn:
- PrepareForPublish
# The following checks are run after the build in the validation and release pipelines
Expand All @@ -47,6 +49,6 @@ stages:
-TsaRepositoryName "$(TsaRepositoryName)"
-TsaCodebaseName "$(TsaCodebaseName)"
-TsaPublish $True
# Publish to blob storage.
publishInstallersAndChecksums: true
10 changes: 6 additions & 4 deletions src/installer/publish/prepare-artifacts.proj
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,14 @@
<PushToAzureDevOpsArtifacts
ItemsToPush="@(ItemsToPush)"
ManifestBuildData="@(ManifestBuildData)"
ManifestRepoUri="$(BUILD_REPOSITORY_URI)"
ManifestRepoUri="$(BUILD_REPOSITORY_NAME)"
ManifestBranch="$(BUILD_SOURCEBRANCH)"
ManifestBuildId="$(BUILD_BUILDNUMBER)"
ManifestCommit="$(BUILD_SOURCEVERSION)"
IsStableBuild="$(IsStableBuild)"
AssetManifestPath="$(AssetManifestFile)"
AssetsTemporaryDirectory="$(TempWorkingDir)" />
AssetsTemporaryDirectory="$(TempWorkingDir)"
PublishingVersion="3" />

<!-- Copy the generated manifest to the build's artifacts -->
<Copy SourceFiles="$(AssetManifestFile)" DestinationFolder="$(TempWorkingDir)" />
Expand Down Expand Up @@ -153,14 +154,15 @@
<PushToAzureDevOpsArtifacts
ItemsToPush="@(ItemsToPush)"
ManifestBuildData="@(ManifestBuildData)"
ManifestRepoUri="$(BUILD_REPOSITORY_URI)"
ManifestRepoUri="$(BUILD_REPOSITORY_NAME)"
ManifestBranch="$(BUILD_SOURCEBRANCH)"
ManifestBuildId="$(BUILD_BUILDNUMBER)"
ManifestCommit="$(BUILD_SOURCEVERSION)"
IsStableBuild="$(IsStableBuild)"
PublishFlatContainer="true"
AssetManifestPath="$(AssetManifestFile)"
AssetsTemporaryDirectory="$(TempWorkingDir)" />
AssetsTemporaryDirectory="$(TempWorkingDir)"
PublishingVersion ="3" />

<!-- Copy the generated manifest to the build's artifacts -->
<Copy SourceFiles="$(AssetManifestFile)" DestinationFolder="$(TempWorkingDir)" />
Expand Down

0 comments on commit 7f9b8ce

Please sign in to comment.