Skip to content

Commit 03fbaa5

Browse files
github-actions[bot]Anirudh Agnihotry
andauthored
[main] [Release/6.0] Add uploading of intermediate package assets (#59490)
* add uploading of intermediate package assets * dont push or sign sourcebuild packages in normal leg to avoid duplication * add comments Co-authored-by: Anirudh Agnihotry <anagniho@microsoft.com>
1 parent 053afbb commit 03fbaa5

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

eng/pipelines/runtime-official.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,10 @@ stages:
332332
- SourceBuild_Linux_x64
333333
jobParameters:
334334
nameSuffix: SourceBuild
335+
extraStepsTemplate: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
336+
extraStepsParameters:
337+
name: SourceBuildPackages
338+
335339

336340
#
337341
# Installer Build

src/installer/prepare-artifacts.proj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
<RelativeBlobPath>$(InstallersRelativePath)workloads/$(SdkBandVersion)/%(Filename)%(Extension)</RelativeBlobPath>
123123
<PublishFlatContainer>true</PublishFlatContainer>
124124
</ItemsToPush>
125+
126+
<!-- Source build intermediated packages will be pushed and signed by the sourcebuild leg. -->
127+
<ItemsToPush Remove="@(ItemsToPush)" Condition="$([System.String]::new('%(Identity)').Contains('Microsoft.SourceBuild.Intermediate'))" />
128+
<ItemsToSignPostBuild Remove="@(ItemsToSignPostBuild)" Condition="$([System.String]::new('%(Identity)').Contains('Microsoft.SourceBuild.Intermediate'))" />
125129
</ItemGroup>
126130

127131
<!-- Push items to AzDO as build artifacts, generating the asset manifest as a side effect. -->

0 commit comments

Comments
 (0)