Skip to content
Snippets Groups Projects
Commit 2ef8deb8 authored by Jan-Willem van der Meer's avatar Jan-Willem van der Meer
Browse files

Execute commands via the current user instead of git user

parent 4ad12a14
No related branches found
No related tags found
1 merge request!1Improve makefile
Loading
Loading
@@ -14,7 +14,7 @@ gitlab/.git:
gitlab-config: gitlab/config/gitlab.yml gitlab/config/database.yml gitlab/config/unicorn.rb gitlab/config/resque.yml
 
gitlab/config/gitlab.yml:
sed "s|/home/git|${gitlab_development_root}|;s|#user: git|user: $(shell whoami)|" gitlab/config/gitlab.yml.example > gitlab/config/gitlab.yml
sed "s|/home/git|${gitlab_development_root}|;s|# user: git|user: $(shell whoami)|" gitlab/config/gitlab.yml.example > gitlab/config/gitlab.yml
 
gitlab/config/database.yml:
sed "s|/home/git|${gitlab_development_root}|" database.yml.example > gitlab/config/database.yml
Loading
Loading
@@ -36,7 +36,7 @@ gitlab-shell/.git:
git clone ${gitlab_shell_repo} gitlab-shell
 
gitlab-shell/config.yml:
sed "s|/home/git|${gitlab_development_root}|" gitlab-shell/config.yml.example > gitlab-shell/config.yml
sed "s|/home/git|${gitlab_development_root}|;s|user: git|user: $(shell whoami)|" gitlab-shell/config.yml.example > gitlab-shell/config.yml
 
gitlab-shell/.bundle:
cd ${gitlab_development_root}/gitlab-shell && bundle install --without production --jobs 4
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