Commit Graph

83 Commits

Author SHA1 Message Date
xyb d4f3ce5e96 Update patch_versions.md, add `yarn:install` in `Clean up assets and cache` command. 2017-04-04 10:23:44 +00:00
Mike Greiling 7e51cd32d3 update scripts and docs to reference the newly namespaced rake task 2017-01-27 15:23:09 -06:00
Rémy Coutable 0c212fae19 Re-order update steps in the 8.14 -> 8.15 upgrade guide
1. Gems need to be installed before we can run the
  gitlab:workhorse:install task
1. Update gitlab-shell after gitlab-workhorse since it's a manual step
  that needs to be done in `/home/git/gitlab-shell`

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-09 09:59:20 +01:00
Rémy Coutable c9f65322f8
Patch upgrade documentation should be consulted on stable branch
[ci skip]

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-02 12:39:36 +01:00
Rémy Coutable 2c0bcefdc6
Don't allow to specify a repo or version when installing Workhorse
The task will use the canonical repo and the required version.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-01 19:22:46 +01:00
Rémy Coutable 935c684ad3 Revert "Merge branch 'doc-fix-db-gem-install-instructions' into 'master' "
This reverts commit 66d8ef1ad9, reversing
changes made to 6a8359f3d3.

The `--with` option was added in Bundler 1.10 but in this case it
shouldn't even be needed: I've tested the original command locally and
the pg gem was installed, so I believe the user that opened the original
MR ran the wrong command (i.e. `sudo -u git -H bundle install --without
development test postgres --deployment` instead of `sudo -u git -H bundle
install --without development test mysql --deployment`.

See discussion at
66d8ef1ad9
for more context.
2016-05-13 18:39:32 +02:00
Rémy Coutable 66d8ef1ad9 Merge branch 'doc-fix-db-gem-install-instructions' into 'master'
Update patch_versions.md with explicit --with statement for db gem group

## What does this MR do?
Updates `patch_versions.md`'s instructions on installing gems to explicitly install either the postgres or mysql groups.

## Are there points in the code the reviewer needs to double check?
No, but thank you for your time.

## Why was this MR needed?
I performed the steps listed in `patch_versions.md` and ran the command for updating postgres gems. Bundler told me at the end that it had not installed the postgres gem group, which caused the next step, migrating the DB, to fail for obvious reasons.

Changing the command to `--with postgres` made it install the postgres gem group, and db:migrate then passed.

## What are the relevant issue numbers?
None

## Screenshots (if relevant)
N/A

See merge request !3955
2016-05-04 15:56:01 +00:00
Jacob Vosmaer (GitLab) 872e854840 Merge branch 'prepend-letter-v-to-workhorse-version-numbers' into 'master'
Prepend letter v to GitLab Workhorse version numbers

This helps to address gitlab-org/gitlab-ce#12684 so as to maintain consistency in all GitLab projects.

It also addresses: https://gitlab.com/gitlab-org/gitlab-workhorse/issues/4

Next Steps

- create a set of duplicate tags in workhorse to prevent errors when updating from the patch guide


See merge request !3088
2016-04-28 14:12:47 +00:00
mike b677b0e33a Add explicit --with statement for postgres and mysql gem groups as necessary. When I followed these instructions, the first command did not install the postgres group and it had to be made explicit. 2016-04-27 16:03:20 -06:00
Christian Mehlmauer a19b4e7529
make cleanup optional 2016-03-07 15:39:12 +01:00
Kelvin d7d644a428 Prepend letter v to GitLab Workhorse version numbers 2016-03-04 12:58:05 +03:00
Christian Mehlmauer 7ea3bbd4e0
add bundle clean to upgrade docs 2016-02-14 10:31:28 +01:00
Christian Mehlmauer 0134a85bee
added make command to docs 2016-01-04 00:29:30 +01:00
Kelvin d00d3444a4 Remove the prepended v on GitLab Workhorse upgrade doc 2015-12-08 18:23:30 +03:00
Achilleas Pipinellis 0ec0c93824 Also update gitlab-workhorse in patch updates [ci skip] 2015-12-02 15:54:44 +02:00
Benny Schimmer 8479feeba2 Simplify patch version updates (less steps) 2015-10-20 00:41:42 +02:00
Jan Bruckner a5f6af007a don't set LATEST_TAG automatically in patch update guide 2015-10-05 16:01:39 +02:00
Achilleas Pipinellis 0ced0ace28 Add LATEST_TAG variable 2015-09-14 09:54:38 +03:00
Achilleas Pipinellis 8ab6bd3eb3 Do a git checkout on Gemfile.lock and schema.rb prior to update. Fixes #2227 2015-08-07 22:13:18 +03:00
Vinnie Okada 5f86c08b2a Fix link in patch update guide 2015-03-21 11:29:24 -06:00
Ben Bodenmiller f73cb6ff74 note about latest details being on master branch
[ci skip]
2015-02-05 20:41:18 +01:00
Sytse Sijbrandij 1d0f638248 Don't update GitLab Shell to the latest version but to the corresponding version. 2014-10-28 10:57:30 -07:00
Ciro Santilli fd348de76d Update docs to markdown style guide. 2014-06-03 23:16:31 +02:00
Dmitriy Zaporozhets 42ef81be54 Merge branch 'patch_update_robustness' into 'master'
Patch Update Robustness
2014-03-13 20:07:19 +00:00
Arif Ali 28f40b7205 prioritise postgres in doc/update/patch_versions.md, assume postgres in doc/update/ruby.md 2014-03-04 00:40:30 +00:00
Jacob Vosmaer 324749486f Use tags to do minor updates of GitLab 2014-02-27 12:39:04 +01:00
dosire bdc745b291 Make everygreen. 2013-12-06 11:21:33 +01:00
dosire d277bf4bf9 Update universal guide. 2013-12-06 09:17:19 +01:00
Dmitriy Zaporozhets 7101b22c2e
Recommend gitlab-shell 1.7.9 in docs and check task
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-20 12:34:14 +02:00
Jacob Vosmaer 0ab0ca0d9d Use gitlab-shell 1.7.8 2013-11-14 13:35:45 +01:00
Sytse Sijbrandij c467ef5221 Number 3 was missing. 2013-11-04 11:36:07 -08:00
Jacob Vosmaer 27fe6cbe13 Include gitlab-shell in patch update doc 2013-11-04 20:28:07 +01:00
Dmitriy Zaporozhets bc0a419eca Universal update guide for patch versions 2013-10-28 13:23:09 +02:00