summaryrefslogtreecommitdiff
path: root/eng/common
diff options
context:
space:
mode:
authordotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>2019-04-05 14:04:57 -0700
committerJan Kotas <jkotas@microsoft.com>2019-04-05 14:04:57 -0700
commit552d72db3b73ef48ae930d5a87d24f7dac1d2ac7 (patch)
tree1e6d180b98e7868258245d8a27738ae9a81b674a /eng/common
parent5888a2b78324aa9bf5cf85f766b51092077a8626 (diff)
downloadcoreclr-552d72db3b73ef48ae930d5a87d24f7dac1d2ac7.tar.gz
coreclr-552d72db3b73ef48ae930d5a87d24f7dac1d2ac7.tar.bz2
coreclr-552d72db3b73ef48ae930d5a87d24f7dac1d2ac7.zip
[master] Update dependencies from dotnet/arcade (#23718)
* Update dependencies from https://github.com/dotnet/arcade build 20190404.16 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19204.16 - Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19204.16
Diffstat (limited to 'eng/common')
-rw-r--r--eng/common/PublishToPackageFeed.proj26
-rw-r--r--eng/common/PublishToSymbolServers.proj74
-rw-r--r--eng/common/SigningValidation.proj28
3 files changed, 108 insertions, 20 deletions
diff --git a/eng/common/PublishToPackageFeed.proj b/eng/common/PublishToPackageFeed.proj
index ccb81e8c35..e17f72644e 100644
--- a/eng/common/PublishToPackageFeed.proj
+++ b/eng/common/PublishToPackageFeed.proj
@@ -1,11 +1,13 @@
-<!--
- This MSBuild file is intended to be used as the body of the default
- publishing release pipeline. The release pipeline will use this file
- to invoke the PushToStaticFeed task that will read the build asset
- manifest and publish the assets described in the manifest to
- informed target feeds.
--->
+<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
+ <!--
+ This MSBuild file is intended to be used as the body of the default
+ publishing release pipeline. The release pipeline will use this file
+ to invoke the PushToStaticFeed task that will read the build asset
+ manifest and publish the assets described in the manifest to
+ informed target feeds.
+ -->
+
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
@@ -41,6 +43,16 @@
<PropertyGroup>
<TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == '.NETCORE'">https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json</TargetStaticFeed>
<TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == '.NETCOREVALIDATION'">https://dotnetfeed.blob.core.windows.net/arcade-validation/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'ASPNETCORE'">https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'ASPNETCORETOOLING'">https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'ENTITYFRAMEWORKCORE'">https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'ASPNETEXTENSIONS'">https://dotnetfeed.blob.core.windows.net/aspnet-extensions/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'CORECLR'">https://dotnetfeed.blob.core.windows.net/dotnet-coreclr/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'CORESDK'">https://dotnetfeed.blob.core.windows.net/dotnet-sdk/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'TOOLSINTERNAL'">https://dotnetfeed.blob.core.windows.net/dotnet-tools-internal/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'TOOLSET'">https://dotnetfeed.blob.core.windows.net/dotnet-toolset/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'WINDOWSDESKTOP'">https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json</TargetStaticFeed>
+ <TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'NUGETCLIENT'">https://dotnetfeed.blob.core.windows.net/nuget-nugetclient/index.json</TargetStaticFeed>
</PropertyGroup>
<Error
diff --git a/eng/common/PublishToSymbolServers.proj b/eng/common/PublishToSymbolServers.proj
new file mode 100644
index 0000000000..36c08f0ea4
--- /dev/null
+++ b/eng/common/PublishToSymbolServers.proj
@@ -0,0 +1,74 @@
+<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
+<Project Sdk="Microsoft.NET.Sdk">
+ <!--
+ This MSBuild file is intended to be used as the body of the default
+ publishing release pipeline. The release pipeline will use this file
+ to invoke the PublishSymbols tasks to publish symbols to MSDL and SymWeb.
+
+ Parameters:
+
+ - PDBArtifactsDirectory : Full path to directory containing PDB files to be published.
+ - BlobBasePath : Full path containing *.symbols.nupkg packages to be published.
+ - DotNetSymbolServerTokenMsdl : PAT to access MSDL.
+ - DotNetSymbolServerTokenSymWeb : PAT to access SymWeb.
+ - DotNetSymbolExpirationInDays : Expiration days for published packages. Default is 3650.
+ -->
+
+ <PropertyGroup>
+ <TargetFramework>netcoreapp2.1</TargetFramework>
+ </PropertyGroup>
+
+ <Import Project="$(NuGetPackageRoot)microsoft.symboluploader.build.task\$(SymbolUploaderVersion)\build\PublishSymbols.targets" />
+
+ <Target Name="PublishSymbols">
+ <ItemGroup>
+ <FilesToPublishToSymbolServer Include="$(PDBArtifactsDirectory)\*.pdb"/>
+ <PackagesToPublishToSymbolServer Include="$(BlobBasePath)\*.symbols.nupkg"/>
+ </ItemGroup>
+
+ <PropertyGroup>
+ <DotNetSymbolExpirationInDays Condition="'$(DotNetSymbolExpirationInDays)' == ''">3650</DotNetSymbolExpirationInDays>
+ <PublishToSymbolServer>true</PublishToSymbolServer>
+ <PublishToSymbolServer Condition="'@(FilesToPublishToSymbolServer)' == '' and '@(PackagesToPublishToSymbolServer)' == ''">false</PublishToSymbolServer>
+ </PropertyGroup>
+
+ <Message
+ Importance="High"
+ Text="No symbol package(s) were found to publish."
+ Condition="$(PublishToSymbolServer) == false" />
+
+ <!-- Symbol Uploader: MSDL -->
+ <Message Importance="High" Text="Publishing symbol packages to MSDL ..." Condition="$(PublishToSymbolServer)" />
+ <PublishSymbols PackagesToPublish="@(PackagesToPublishToSymbolServer)"
+ FilesToPublish="@(FilesToPublishToSymbolServer)"
+ PersonalAccessToken="$(DotNetSymbolServerTokenMsdl)"
+ SymbolServerPath="https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection"
+ ExpirationInDays="$(DotNetSymbolExpirationInDays)"
+ VerboseLogging="true"
+ DryRun="false"
+ ConvertPortablePdbsToWindowsPdbs="false"
+ PdbConversionTreatAsWarning=""
+ Condition="$(PublishToSymbolServer)"/>
+
+ <!--
+ Symbol Uploader: SymWeb
+ Watson, VS insertion testings and the typical internal dev usage require SymWeb.
+ Currently we need to call the task twice (https://github.com/dotnet/core-eng/issues/3489).
+ -->
+ <Message Importance="High" Text="Publishing symbol packages to SymWeb ..." Condition="$(PublishToSymbolServer)" />
+ <PublishSymbols PackagesToPublish="@(PackagesToPublishToSymbolServer)"
+ FilesToPublish="@(FilesToPublishToSymbolServer)"
+ PersonalAccessToken="$(DotNetSymbolServerTokenSymWeb)"
+ SymbolServerPath="https://microsoft.artifacts.visualstudio.com/DefaultCollection"
+ ExpirationInDays="$(DotNetSymbolExpirationInDays)"
+ VerboseLogging="true"
+ DryRun="false"
+ ConvertPortablePdbsToWindowsPdbs="false"
+ PdbConversionTreatAsWarning=""
+ Condition="$(PublishToSymbolServer)"/>
+ </Target>
+
+ <ItemGroup>
+ <PackageReference Include="Microsoft.SymbolUploader.Build.Task" Version="$(SymbolUploaderVersion)" />
+ </ItemGroup>
+</Project>
diff --git a/eng/common/SigningValidation.proj b/eng/common/SigningValidation.proj
index 17e40d1287..7045fb6fb9 100644
--- a/eng/common/SigningValidation.proj
+++ b/eng/common/SigningValidation.proj
@@ -1,18 +1,20 @@
-<!--
- This MSBuild file is intended to be used as the body of the default
- publishing release pipeline. The release pipeline will use this file
- to invoke the the SignCheck tool to validate that packages about to
- be published are correctly signed.
+<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
+<Project Sdk="Microsoft.NET.Sdk">
+ <!--
+ This MSBuild file is intended to be used as the body of the default
+ publishing release pipeline. The release pipeline will use this file
+ to invoke the the SignCheck tool to validate that packages about to
+ be published are correctly signed.
- Parameters:
+ Parameters:
- - PackageBasePath : Directory containing all files that need to be validated.
- - SignCheckVersion : Version of SignCheck package to be used.
- - SignValidationExclusionList : ItemGroup containing exclusion list to be forwarded to SignCheck.
- - EnableJarSigningCheck : Whether .jar files should be validated.
- - EnableStrongNameCheck : Whether strong name check should be performed.
--->
-<Project Sdk="Microsoft.NET.Sdk">
+ - PackageBasePath : Directory containing all files that need to be validated.
+ - SignCheckVersion : Version of SignCheck package to be used.
+ - SignValidationExclusionList : ItemGroup containing exclusion list to be forwarded to SignCheck.
+ - EnableJarSigningCheck : Whether .jar files should be validated.
+ - EnableStrongNameCheck : Whether strong name check should be performed.
+ -->
+
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>