Skip to content

Replacement method - NuPkg publish to blob feed: SDK - #1726

Merged
8 commits merged into
release/2.0.0from
unknown repository
Nov 14, 2017
Merged

8 commits merged into
release/2.0.0from
unknown repository

Conversation

@ghost

@ghost ghost commented Nov 12, 2017 •

Copy link
Copy Markdown

Replacing the method to publish to the internal blob feed.

Why?
The current method is publishing to the older Transport feed URL: https://dotnetfeed.blob.core.windows.net/dotnet-core/packages/index.json
Correct Transport feed URL=https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json

.gitignore
build/Publish/PublishNupkgToTransportFeed.targets
build/Publish/Publish.csproj
deleting - removing the previous methodology

NuGet.config:
Updating the Transport feed URL.

build.proj:
Add a restore of the 'build toolset' project

tools/BuildToolset.proj:
Supports the 'build toolset' NuPkg references

tools/PublishToBlobFeed.proj:
The main project file for "PublishNupkgToBlobFeed"; the 'ExpectedFeedUrl' is fully configurable.

Follow-up:
Need to enable the VSO build task that calls the "PublishToBlobFeed" target and disable the older VSO build task: https://devdiv.visualstudio.com/DevDiv/Default/_build/index?context=allDefinitions&path=%5CDotNet%5CSDK&definitionId=3736

Remove the VSO variable: "PUBLISH_NUPKG_TO_TRANSPORT_FEED"

@chcosta
@karajas
@jcagme

@ghost ghost added the Infrastructure label Nov 12, 2017
@ghost ghost self-assigned this Nov 12, 2017
@ghost

ghost commented Nov 13, 2017

Copy link
Copy Markdown
Author

@ghost ghost added the build label Nov 13, 2017
@mmitche

mmitche commented Nov 13, 2017

Copy link
Copy Markdown
Member

@johnbeisner Made some tweaks:

  • Removed 'default', replace with 'drop' and 'symbols'
  • Simplified the signing conditionals (use 'in' instead of 'eq')
  • Fixed a typo in a coupe of the symbol publishing steps
  • Removed blob from the default set of publishing types (keep existing build identical)

@mmitche

mmitche commented Nov 13, 2017

Copy link
Copy Markdown
Member

@johnbeisner Do you want this project to always publish to the transport feed?

@mmitche

mmitche commented Nov 13, 2017

Copy link
Copy Markdown
Member

@johnbeisner Made some last tweaks to the disabled step of the build def. Should that step be enabled and the one marked "OLD" be disabled?

@ghost

ghost commented Nov 13, 2017

Copy link
Copy Markdown
Author

@mmitche
"Should that step be enabled and the one marked "OLD" be disabled?"
Not until the merge of this PR occurs; sequence is:

  1. Disable the old - enable the new
  2. Merge the PR
    in that order and quickly...

@ghost

ghost commented Nov 13, 2017

Copy link
Copy Markdown
Author

@mmitche
"Do you want this project to always publish to the transport feed?"
That is my understanding; that we publish to the default transport feed every time we build - and that the MyGet publish will be eventually turned-off.

@ghost
ghost merged commit c8dc2a3 into dotnet:release/2.0.0 Nov 14, 2017
@ghost
ghost deleted the EnableTransportFeed branch December 12, 2017 18:18
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant