-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Use stages pipeline #13040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Use stages pipeline #13040
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
59d84fc
Use stages pipeline
dougbu c0bdb2b
Cleanup hopefully-unnecessary YAML changes
dougbu 505a00c
Correct syntax of `@(SignValidationExclusionList)` items
dougbu 93eccd0
Use `$env:DOTNET_INSTALL_DIR` in `DotNetCommands`
dougbu d7141d1
Do not publish to the BAR unless tests succeed
dougbu 062fde7
!fixup! Move BAR publication to the end correctly
dougbu d2cb4a3
Correct publication of loose .pdb files and use Arcade to publish ins…
dougbu 1f145de
!fixup! Qualify a metadata reference, remove a quote !fixup!
dougbu 411f6b2
Use new `%(ItemsToPushToBlobFeed.PublishFlatContainer)` metadata
dougbu 67805aa
!fixup! bad merge of ci.yml and `$(ManifestArtifactData)` value
dougbu 3848e4b
Update dependencies from dotnet/arcade build '20190908.2'
dougbu 540cdaa
Handle signing validation exclusions in SignCheckExclusionsFile.txt file
dougbu 7a1cdc3
Use `$(DotNetFinalVersionKind)` in preparation for servicing builds
dougbu 0574504
!fixup! typos in last two commits
dougbu 74d0cc1
Update SignCheckExclusionsFile.txt syntax but disable signing validat…
dougbu 17e0f59
Remove incorrectly-added file
dougbu 8bda9c2
Do not publish default items from Linux and macOS builds
dougbu b80df34
!fixup! Correct name of parameter passed to publish-build-assets.yml …
dougbu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,56 @@ | ||
<Project> | ||
<PropertyGroup Condition=" HasTrailingSlash('$(ArtifactsDir)') "> | ||
<!-- The one use of ArtifactsDir in Publish.proj adds an additional slash, confusing itself. --> | ||
<ArtifactsDir>$(ArtifactsDir.Substring(0, $([MSBuild]::Subtract($(ArtifactsDir.Length), 1))))</ArtifactsDir> | ||
|
||
<PublishDependsOnTargets>$(PublishDependsOnTargets);_PublishInstallers</PublishDependsOnTargets> | ||
|
||
<_UploadPathRoot>aspnetcore</_UploadPathRoot> | ||
</PropertyGroup> | ||
|
||
<!-- $(InstallersOutputPath) and $(SymbolsOutputPath) are not defined. Root Directory.Build.props is not imported. --> | ||
<ItemGroup> | ||
<!-- Include our "loose" PDBs when publishing symbols. --> | ||
<FilesToPublishToSymbolServer Include="$(ArtifactsDir)\symbols\**\*.pdb" /> | ||
|
||
<!-- Prepare for _PublishInstallers target. --> | ||
<_InstallersToPublish Remove="@(_InstallersToPublish)" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\packages\**\*.jar" UploadPathSegment="jar" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\packages\**\*.pom" UploadPathSegment="jar" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\packages\**\*.tgz" UploadPathSegment="npm" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.deb" UploadPathSegment="Runtime" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.exe" UploadPathSegment="Runtime" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.msi" UploadPathSegment="Runtime" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.rpm" UploadPathSegment="Runtime" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.tar.gz" UploadPathSegment="Runtime" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.version" UploadPathSegment="Runtime" | ||
Condition=" '$(PublishInstallerBaseVersion)' == 'true' " /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.wixlib" UploadPathSegment="Runtime" /> | ||
<_InstallersToPublish Include="$(ArtifactsDir)\installers\**\*.zip" UploadPathSegment="Runtime" /> | ||
</ItemGroup> | ||
|
||
<Target Name="_PublishInstallers"> | ||
<!-- This target is defined in eng/targets/Packaging.targets and included in every C# and F# project. --> | ||
<MSBuild Projects="$(RepoRoot)src\Mvc\Mvc\src\Microsoft.AspNetCore.Mvc.csproj" | ||
dougbu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Targets="_GetPackageVersionInfo" | ||
SkipNonexistentProjects="false"> | ||
<Output TaskParameter="TargetOutputs" ItemName="_ResolvedPackageVersionInfo" /> | ||
</MSBuild> | ||
|
||
<PropertyGroup> | ||
<_PackageVersion>@(_ResolvedPackageVersionInfo->'%(PackageVersion)')</_PackageVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- Do not push .nupkg files from Linux and macOS builds. They'll be packed up separately and signed on Windows. --> | ||
<ItemsToPushToBlobFeed Remove="@(ItemsToPushToBlobFeed)" Condition="'$(OS)' != 'Windows_NT'" /> | ||
|
||
<ItemsToPushToBlobFeed Include="@(_InstallersToPublish)"> | ||
<IsShipping>false</IsShipping> | ||
<ManifestArtifactData>NonShipping=true;ShipInstaller=dotnetcli</ManifestArtifactData> | ||
<PublishFlatContainer>true</PublishFlatContainer> | ||
<RelativeBlobPath>$(_UploadPathRoot)/%(_InstallersToPublish.UploadPathSegment)/$(_PackageVersion)/%(Filename)%(Extension)</RelativeBlobPath> | ||
</ItemsToPushToBlobFeed> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |
This file contains hidden or 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,4 @@ | ||
apphost.exe;; Exclude the apphost because this is expected to be code-signed by customers after the SDK modifies it. | ||
.js;; We do not sign JavaScript files. | ||
.binlog;; MSBuild binary logs are not signed though they are sometimes placed where validation thinks they should be. | ||
WixUIWixca|WixDepCA;; We do not sign WiX content in our installers. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,5 @@ | ||
<!-- eng\common\build.ps1 fails without a project to build, so we give it this empty project to satisfy its desires --> | ||
<Project> | ||
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.