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

3.14.3 patch release #9870

Closed
12 tasks done
uwedeportivo opened this issue Apr 15, 2020 · 1 comment
Closed
12 tasks done

3.14.3 patch release #9870

uwedeportivo opened this issue Apr 15, 2020 · 1 comment
Assignees

Comments

@uwedeportivo
Copy link
Contributor

uwedeportivo commented Apr 15, 2020

3.14.3 Patch Release

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

Release sourcegraph/server

  • Push the branch 3.14 with your cherry-picked commit(s) and make sure CI passes.
  • Push a release candidate tag:
    git checkout '3.14'
    git tag -a 'v3.14.3-rc.1' -m 'v3.14.3-rc.1' && git push origin 'v3.14.3-rc.1'
    
  • If CI passes, push the release tag:
    git checkout '3.14'
    git tag -a 'v3.14.3' -m 'v3.14.3' && git push origin 'v3.14.3'
    
  • 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.14 ./dev/run-server-image.sh
    
    # 2. Answer NO to delete /tmp/sourcegraph with the new image
    IMAGE=sourcegraph/server:3.14.3 ./dev/run-server-image.sh
    
    # 3. Answer YES to delete /tmp/sourcegraph with the new image
    IMAGE=sourcegraph/server:3.14.3 ./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.14 branch. Then push the release tag:
    git checkout 3.14
    git pull
    git cherry-pick <commit0> <commit1> ... # all relevant commits from the master branch
    git push 3.14
    git tag v3.14.3
    git push origin v3.14.3
    

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.14.3
    
  • 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 Apr 15, 2020
@bobheadxi
Copy link
Member

This should be closed right?

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

2 participants