gitlab-org--gitlab-foss/doc/release/howto_update_guides.md

1.9 KiB

Create update guides

  1. Create: CE update guide from previous version. Like 7.3-to-7.4.md
  2. Create: CE to EE update guide in EE repository for latest version.
  3. Update: 6.x-or-7.x-to-7.x.md to latest version.
  4. Create: CI update guide from previous version

It's best to copy paste the previous guide and make changes where necessary. The typical steps are listed below with any points you should specifically look at.

0. Any major changes?

List any major changes here, so the user is aware of them before starting to upgrade. For instance:

  • Database updates
  • Web server changes
  • File structure changes

1. Stop server

2. Make backup

3. Do users need to update dependencies like git?

4. Get latest code

5. Does GitLab shell need to be updated?

6. Install libs, migrations, etc.

7. Any config files updated since last release?

Check if any of these changed since last release:

8. Need to update init script?

Check if the init.d/gitlab script changed since last release: lib/support/init.d/gitlab

9. Start application

10. Check application status