Skip to content
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

Deploy D2 to Production #2072

Closed
9 tasks done
analogrelay opened this issue Apr 21, 2014 · 0 comments
Closed
9 tasks done

Deploy D2 to Production #2072

analogrelay opened this issue Apr 21, 2014 · 0 comments
Milestone

Comments

@analogrelay
Copy link
Contributor

Deployment D2

Status: Ready for testing.

Focus: Minor Gallery UI tweaks

Services Deployed:

  • Search - v3.0.16-r-master
  • Gallery - v3.0.15-r-master
  • Work - v3.0.12-r-master

Bugs Fixed: https://github.com/NuGet/NuGetGallery/issues?milestone=51&page=1&state=closed

Deployment Process

  • Update and rebuild the NuGet.Operations repository. From inside the NuGet.Operations repo, but NOT in NuOps, just in a VS Command Prompt, run:
git pull origin master
.\build
nucmd work invoke -j RebuildSearchIndex -p "{'StorageContainerName':'ng-search-pri-d2'}"

NOTE: Record the Invocation ID reported by this command

  • Schedule Index Updates
nucmd azure login
nucmd scheduler newjob -dc 0 -sing -j UpdateSearchIndex -i UpdateSearchIndex_D2 -f Minute -in  1 -p "{'StorageContainerName':'ng-search-pri-d2'}"
nucmd scheduler newjob -dc 0 -sing -j GenerateSearchRankings -i GenerateSearchRankings_D2 -f Day -in  1 -p "{'DestinationContainerName':'ng-search-pri-d2'}"
nucmd scheduler newjob -dc 0 -sing -j GenerateDownloadCountReport -i GenerateDownloadCountReport_D2 -f Minute -in  5 -p "{'DestinationContainerName':'ng-search-pri-d2'}"
  • Wait for the RebuildSearchIndex job to complete, using nucmd work get and pasting in the Invocation ID reported by the nucmd work invoke execution above`
  • Change the "Search.IndexContainer" config setting in the production slot of "nuget--0-search" to "ng-search-pri-d2" and Save.

Deployment Notes

We are changing some indexing logic now. After deploying, other bugs can be verified but #2074 must wait until the index is rebuilt and the Search Service is swapped

Pull Requests/Interesting Commits

Relevant Pull Requests are either (a) in the D2 Milestone or (b) attached to Issues in the D2 Milestone.

@analogrelay analogrelay added this to the D2 milestone Apr 21, 2014
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

No branches or pull requests

1 participant