Commit 0f615d4096810b9db13fca1a8aafb64f946fbd5f

Authored by Ben Bodenmiller
1 parent 6654db2c

add creating new release guide

Showing 1 changed file with 56 additions and 0 deletions   Show diff stats
doc/make_release.md 0 → 100644
@@ -0,0 +1,56 @@ @@ -0,0 +1,56 @@
  1 +# Things to do when creating new release
  2 +NOTE: This is a developer guide. If you are trying to install GitLab see the latest stable [installation guide](install/installation.md) and if you are trying to upgrade, see the [upgrade guides](update).
  3 +## Install guide up to date?
  4 +
  5 +* References correct GitLab branch `x-x-stable` and correct GitLab shell tag?
  6 +
  7 +## Make upgrade guide
  8 +
  9 +### From x.x to x.x
  10 +
  11 +#### 0. Any major changes? Database updates? Web server change? File strucuture changes?
  12 +
  13 +#### 1. Make backup
  14 +
  15 +#### 2. Stop server
  16 +
  17 +#### 3. Do users need to update dependencies like `git`?
  18 +
  19 +#### 4. Get latest code
  20 +
  21 +#### 5. Does GitLab shell need to be updated?
  22 +
  23 +#### 6. Install libs, migrations, etc.
  24 +
  25 +#### 7. Any config files updated since last release?
  26 +
  27 +Check if any of these changed since last release (~22nd of last month depending on when last release branch was created):
  28 +
  29 +* https://github.com/gitlabhq/gitlabhq/commits/master/lib/support/nginx/gitlab
  30 +* https://github.com/gitlabhq/gitlab-shell/commits/master/config.yml.example
  31 +* https://github.com/gitlabhq/gitlabhq/commits/master/config/gitlab.yml.example
  32 +* https://github.com/gitlabhq/gitlabhq/commits/master/config/puma.rb.example
  33 +* https://github.com/gitlabhq/gitlabhq/commits/master/config/database.yml.mysql
  34 +* https://github.com/gitlabhq/gitlabhq/commits/master/config/database.yml.postgresql
  35 +
  36 +#### 8. Need to update init script?
  37 +
  38 +Check if changed since last release (~22nd of last month depending on when last release branch was created): https://github.com/gitlabhq/gitlabhq/commits/master/lib/support/init.d/gitlab
  39 +
  40 +#### 9. Start application
  41 +
  42 +#### 10. Check application status
  43 +
  44 +## Make sure code status is good
  45 +
  46 +* [![build status](http://ci.gitlab.org/projects/1/status.png?ref=master)](http://ci.gitlab.org/projects/1?ref=master) on ci.gitlab.org (master branch)
  47 +
  48 +* [![build status](https://secure.travis-ci.org/gitlabhq/gitlabhq.png)](https://travis-ci.org/gitlabhq/gitlabhq) on travis-ci.org (master branch)
  49 +
  50 +* [![Code Climate](https://codeclimate.com/github/gitlabhq/gitlabhq.png)](https://codeclimate.com/github/gitlabhq/gitlabhq)
  51 +
  52 +* [![Dependency Status](https://gemnasium.com/gitlabhq/gitlabhq.png)](https://gemnasium.com/gitlabhq/gitlabhq) this button can be yellow (small updates are available) but must not be red (a security fix or an important update is available)
  53 +
  54 +* [![Coverage Status](https://coveralls.io/repos/gitlabhq/gitlabhq/badge.png?branch=master)](https://coveralls.io/r/gitlabhq/gitlabhq)
  55 +
  56 +## Make release branch