Skip to content

Publishing nuget packages to myget feed. - #155

Merged
eerhardt merged 2 commits into
dotnet:masterfrom
eerhardt:PublishPackages
May 15, 2018
Merged

Publishing nuget packages to myget feed.#155
eerhardt merged 2 commits into
dotnet:masterfrom
eerhardt:PublishPackages

Conversation

@eerhardt

Copy link
Copy Markdown
Member

Fixes #11

Also - set the symbols expiration days default based on feedback from the .NET core-eng team.

Fixes dotnet#11
Comment thread build/vsts-ci.yml
nuGetFeedType: internal
feedPublish: MachineLearning
solution: build/publish.proj
msbuildArguments: /t:PublishPackages /p:NuGetFeedUrl=$(_NuGetFeedUrl) /p:NuGetApiKey=$(dotnet-myget-org-api-key)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

dotnet-myget-org-api-key [](start = 93, length = 24)

Is it purposely not defined, or we have some kind of hidden storage somewhere?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it will be defined in the build defination using variable groups.

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.

Correct. It is already in build definition. This does make it appear a bit magical, but that's how secret variables work.

Comment thread build/publish.proj Outdated
<PropertyGroup>
<PublishSymbolsPackage>Microsoft.SymbolUploader.Build.Task</PublishSymbolsPackage>
<EnablePublishSymbols Condition="'$(EnablePublishSymbols)'==''" >true</EnablePublishSymbols>
<NuGetPushTimeoutSeconds Condition="'$(NuGetPushTimeoutSeconds)' == ''">3600</NuGetPushTimeoutSeconds>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

3600 [](start = 76, length = 4)

One hour looks like a lot of time considering size of packages.

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.

Agreed. I copied this from the core-setup repo, but looking at other places it is only 10 minutes. I'll update this.

@Ivanidzo4ka Ivanidzo4ka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@eerhardt
eerhardt merged commit 436700a into dotnet:master May 15, 2018
@eerhardt
eerhardt deleted the PublishPackages branch May 15, 2018 16:04

@safern safern left a comment

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.

LGTM.

eerhardt added a commit to eerhardt/machinelearning that referenced this pull request Jul 27, 2018
* Publishing nuget packages to myget feed.

Also - set the symbols expiration days default based on feedback from the .NET core-eng team.

Fixes dotnet#11

* Shorten nuget push timeout to match corefx and coreclr.
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants