Skip to content

Use Microsoft.SymbolUploader build task for symbol publishing#29247

Merged
tmat merged 3 commits intomasterfrom
SymbolUploader
Aug 15, 2018
Merged

Use Microsoft.SymbolUploader build task for symbol publishing#29247
tmat merged 3 commits intomasterfrom
SymbolUploader

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Aug 13, 2018

Replaces symbol publishing VSTS tasks with SymbolUploader msbuild task for publishing symbols to symbol servers. This task is used by .NET and Arcade repositories for publishing symbols. It supports publishing both Portable and Windows PDBs, automatically archives all symbols (explicit archiving is not needed anymore) and doesn't suffer from MAX_PATH issues.

Signed build from SymbolUploader branch that successfully publishes symbols during Vsbuild step:
https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=1942163&_a=summary&view=logs

@tmat tmat requested a review from a team as a code owner August 13, 2018 18:22
Comment thread .vsts-ci.yml
/p:PublishStableVersions=false
/p:VersionStampToPublish=prerelease
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have linked the variable group that defines these variables with Roslyn-Signed build definition.

@Pilchie
Copy link
Copy Markdown
Member

Pilchie commented Aug 13, 2018

Do repo-toolset repos get this for free?

Also tagging @brettfo for F# builds.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 13, 2018

Do repo-toolset repos get this for free?

Yes. They have been using this task for a while.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 13, 2018

Of course, the repos need to be on the latest version of the toolset and have their YAML definition updated.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 13, 2018

test windows_debug_vs-integration_prtest please

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 13, 2018

test ubuntu_16_debug_prtest please

1 similar comment
@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 13, 2018

test ubuntu_16_debug_prtest please

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 14, 2018

@jaredpar @jasonmalinowski @dotnet/roslyn-infrastructure PTAL.

<PackageReference Include="Microsoft.NETCore.Platforms" Version="$(MicrosoftNETCorePlatformsVersion)" ExcludeAssets="all" />
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Feed" Version="$(MicrosoftDotNetBuildTasksFeedVersion)" ExcludeAssets="all" />
<PackageReference Include="Microsoft.SymbolUploader.Build.Task" Version="$(MicrosoftSymbolUploaderBuildTaskVersion)" ExcludeAssets="all" />
<PackageReference Include="Microsoft.Net.RoslynDiagnostics" Version="$(MicrosoftNetRoslynDiagnosticsVersion)" ExcludeAssets="all" />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this second reference need to get added for this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a bad merge. Will remove.

@jaredpar
Copy link
Copy Markdown
Member

Does this significantly alter our build times or is it mostly neutral?

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 15, 2018

I'ts 20 minutes faster. The difference is in Drop Publishing - we don't publish the symbols to a drop anymore.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 15, 2018

test this please

@tmat tmat closed this Aug 15, 2018
@tmat tmat reopened this Aug 15, 2018
@tmat tmat merged commit 92330f5 into master Aug 15, 2018
@tmat tmat deleted the SymbolUploader branch August 15, 2018 23:14
333fred added a commit to 333fred/roslyn that referenced this pull request Aug 23, 2018
…atures/compiler

* dotnet/features/compiler: (183 commits)
  Document dotnet#13686 (dotnet#29416)
  Fix xml doc-comment resolution warnings
  PR feedback
  Add a perf benchmark for the compiler Emit phase (dotnet#29323)
  PR feedback
  Add documentation for the ProduceOnlyReferenceAssembly msbuild option to the refout docs (dotnet#29404)
  PR feedback
  Address PR feedback
  Expose refonly as an msbuild property (dotnet#29352)
  Add refactoring to convert foreach loop into linq invocations (Select, SelectMany and Where invocations)
  disable bad test
  Fix build error
  Restore the machinery for enabling language features by feature flags
  Assert message should sort diagnostics when possible (dotnet#29151)
  Update unix contributing docs
  Added Newtonsoft.Json to exclusion list
  Fix generation of compiler binding redirects (dotnet#29331)
  fixing hintspan size when Sub has attributes (dotnet#29115)
  Use Microsoft.SymbolUploader build task for symbol publishing (dotnet#29247)
  Remove default handling for bound nodes in (CS/VB)OperstionFactory.CreateInternal. (dotnet#29258)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants