Skip to content

Publishing nuget packages to myget feed. #155

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 2 commits into from
May 15, 2018

Conversation

eerhardt
Copy link
Member

Fixes #11

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

Fixes dotnet#11
nuGetFeedType: internal
feedPublish: MachineLearning
solution: build/publish.proj
msbuildArguments: /t:PublishPackages /p:NuGetFeedUrl=$(_NuGetFeedUrl) /p:NuGetApiKey=$(dotnet-myget-org-api-key)
Copy link
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
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
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.

<PropertyGroup>
<PublishSymbolsPackage>Microsoft.SymbolUploader.Build.Task</PublishSymbolsPackage>
<EnablePublishSymbols Condition="'$(EnablePublishSymbols)'==''" >true</EnablePublishSymbols>
<NuGetPushTimeoutSeconds Condition="'$(NuGetPushTimeoutSeconds)' == ''">3600</NuGetPushTimeoutSeconds>
Copy link
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
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.

Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka left a comment

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
Copy link
Member

@safern safern left a comment

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