Skip to content
Snippets Groups Projects
Commit 6457fb56 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Use a GOPATH to install gitlab-workhorse

This allows you to use more Go tools during development.
parent f4b0b7d3
No related branches found
No related tags found
1 merge request!173Use a GOPATH to install gitlab-workhorse
Loading
Loading
@@ -149,16 +149,16 @@ localhost.key:
openssl req -new -subj "/CN=localhost/" -x509 -days 365 -newkey rsa:2048 -nodes -keyout "localhost.key" -out "localhost.crt"
chmod 600 $@
 
gitlab-workhorse-setup: gitlab-workhorse/gitlab-workhorse
gitlab-workhorse-setup: gitlab-workhorse/bin/gitlab-workhorse
 
gitlab-workhorse-update: gitlab-workhorse/.git/pull
make
 
gitlab-workhorse/gitlab-workhorse: gitlab-workhorse/.git
cd ${gitlab_development_root}/gitlab-workhorse && make
gitlab-workhorse/bin/gitlab-workhorse: gitlab-workhorse/src/gitlab.com/gitlab-org/gitlab-workhorse/.git
GOPATH=${gitlab_development_root}/gitlab-workhorse go install gitlab.com/gitlab-org/gitlab-workhorse/...
 
gitlab-workhorse/.git:
git clone ${gitlab_workhorse_repo} gitlab-workhorse
gitlab-workhorse/src/gitlab.com/gitlab-org/gitlab-workhorse/.git:
git clone ${gitlab_workhorse_repo} gitlab-workhorse/src/gitlab.com/gitlab-org/gitlab-workhorse
 
gitlab-workhorse/.git/pull:
cd ${gitlab_development_root}/gitlab-workhorse && \
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@ redis: exec redis-server /home/git/redis/redis.conf
postgresql: exec support/postgresql-signal-wrapper postgres -D /home/git/postgresql/data -k /home/git/postgresql -h ''
#postgresql-replica: exec support/postgresql-signal-wrapper postgres -D /home/git/postgresql-replica/data -k /home/git/postgresql-replica -h ''
#openldap: exec support/exec-cd gitlab-openldap libexec/slapd -F slapd.d -d2 -h "ldap://127.0.0.1:3890"
gitlab-workhorse: exec /usr/bin/env PATH=/home/git/gitlab-workhorse:$PATH gitlab-workhorse -authSocket /home/git/gitlab.socket -listenAddr $host:$port -documentRoot /home/git/gitlab/public -developmentMode
gitlab-workhorse: exec /usr/bin/env PATH=/home/git/gitlab-workhorse/bin:$PATH gitlab-workhorse -authSocket /home/git/gitlab.socket -listenAddr $host:$port -documentRoot /home/git/gitlab/public -developmentMode
rails-web: exec /usr/bin/env RAILS_ENV=development support/exec-cd gitlab bin/web start_foreground
rails-background-jobs: exec /usr/bin/env SIDEKIQ_LOG_ARGUMENTS=1 RAILS_ENV=development support/exec-cd gitlab bin/background_jobs start_foreground
#influxdb: exec influxdb/bin/influxd -config influxdb/influxdb.conf
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