Skip to content
Snippets Groups Projects
Commit 3cee0e6d authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Add update commands to update gitlab and gitlab-shell.

parent c1f87f42
No related branches found
No related tags found
1 merge request!23[WIP] Update gitlab and gitlab-shell repos in Makefile
Loading
Loading
@@ -31,6 +31,9 @@ gitlab/config/resque.yml:
gitlab/.bundle:
cd ${gitlab_development_root}/gitlab && bundle install --without mysql production --jobs 4
 
gitlab/db_migrate:
cd ${gitlab_development_root}/gitlab && bundle exec rake db:migrate
# Set up gitlab-shell
 
gitlab-shell-setup: gitlab-shell/.git gitlab-shell/config.yml gitlab-shell/.bundle
Loading
Loading
@@ -48,6 +51,19 @@ gitlab-shell/config.yml:
gitlab-shell/.bundle:
cd ${gitlab_development_root}/gitlab-shell && bundle install --without production --jobs 4
 
# Update gitlab and gitlab-shell
update: gitlab-update gitlab-shell-update
gitlab-update: gitlab/.git/pull gitlab/.bundle gitlab/db_migrate
gitlab-shell-update: gitlab-shell/.git/pull gitlab-shell/.bundle
gitlab/.git/pull:
cd ${gitlab_development_root}/gitlab && git pull
gitlab-shell/.git/pull:
cd ${gitlab_development_root}/gitlab-shell && git pull
# Set up supporting services
 
support-setup: Procfile redis postgresql .bundle
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment