Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

3.16.2 patch release #11498

Closed
14 tasks done
uwedeportivo opened this issue Jun 15, 2020 · 4 comments
Closed
14 tasks done

3.16.2 patch release #11498

uwedeportivo opened this issue Jun 15, 2020 · 4 comments
Assignees

Comments

@uwedeportivo
Copy link
Contributor

uwedeportivo commented Jun 15, 2020

3.16.2 Patch Release

Attention developers: Add pending changes to this checklist, cherry-pick the relevant commits onto branch 3.16. Only check off items if the relevant PR/commits have been cherry-picked into the branch:

Release sourcegraph/server

  • Push the branch 3.16 with your cherry-picked commit(s) and make sure CI passes.
  • Push a release candidate tag:
    git checkout '3.16'
    git tag -a 'v3.16.2-rc.1' -m 'v3.16.2-rc.1' && git push origin 'v3.16.2-rc.1'
    
  • If CI passes, push the release tag:
    git checkout '3.16'
    git tag -a 'v3.16.2' -m 'v3.16.2' && git push origin 'v3.16.2'
    
  • Wait for the final Docker images to be available at https://hub.docker.com/r/sourcegraph/server/tags.
  • Run the old and new images at least three times to make sure it starts:
    # 1. Answer YES to delete /tmp/sourcegraph with the old image
    IMAGE=sourcegraph/server:3.16 ./dev/run-server-image.sh
    
    # 2. Answer NO to delete /tmp/sourcegraph with the new image
    IMAGE=sourcegraph/server:3.16.2 ./dev/run-server-image.sh
    
    # 3. Answer YES to delete /tmp/sourcegraph with the new image
    IMAGE=sourcegraph/server:3.16.2 ./dev/run-server-image.sh
    

Release Kubernetes deployment

In deploy-sourcegraph:

  • Wait for Renovate to open a PR named "Update Sourcegraph Docker images" and merge that PR (example and note Renovate may have merged it automatically).
  • Wait for Renovate to open a PR named "Update Sourcegraph Prometheus / Grafana Docker images" and merge that PR (note Renovate may have merged it automatically).
  • Cherry-pick the image tag update commits from master onto 3.16 branch. Then push the release tag:
    git checkout 3.16
    git pull
    git cherry-pick <commit0> <commit1> ... # all relevant commits from the master branch
    git push 3.16
    git tag v3.16.2
    git push origin v3.16.2
    

Update the docs

  • Open and merge PRs that publish the release (the PRs created by this command must be merged manually):
    yarn run release release:publish 3.16.2
    
  • Cherry pick the release-publishing PR from sourcegraph/sourcegraph@master into the release branch.
  • Create a new section for the patch version in the changelog. Verify that all changes that have been cherry picked onto the release branch have been moved to this section of the CHANGELOG on master.
  • Post a reply in the #dev-announce thread to say that the release is complete.
@uwedeportivo uwedeportivo self-assigned this Jun 15, 2020
@rvantonder
Copy link
Contributor

rvantonder commented Jun 15, 2020

@uwedeportivo I'd appreciate if we can get this commit into this release (fixes a regression to result counts): https://github.com/sourcegraph/sourcegraph/commit/7fc96d319f49f55da46a7649ccf261aa7e8327c3

@ryanslade
Copy link
Contributor

@uwedeportivo
Copy link
Contributor Author

3.16.2 is in the books

@rvantonder
Copy link
Contributor

Thank you @uwedeportivo <3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants