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

README, gitignore for new gitlab-workhorse

parent 8b797009
No related branches found
No related tags found
1 merge request!173Use a GOPATH to install gitlab-workhorse
gitlab-shell/
.ssh/
gitlab-satellites/
repositories/
gitlab/
gitlab-ci/
gitlab-runner/
gitlab-ci-multi-runner/
Procfile
postgresql/data
postgresql/.s.*
postgresql-replica/data
postgresql-replica/.s.*
redis/*.conf
/gitlab-shell/
/.ssh/
/gitlab-satellites/
/repositories/
/gitlab/
/Procfile
/postgresql/data
/postgresql/.s.*
/postgresql-replica/data
/postgresql-replica/.s.*
/redis/*.conf
.bundle/
gitlab-openldap/bin/
gitlab-openldap/etc/
gitlab-openldap/include/
gitlab-openldap/lib/
gitlab-openldap/libexec/
gitlab-openldap/openldap-2.4.40.tgz
gitlab-openldap/openldap-2.4.40/
gitlab-openldap/sbin/
gitlab-openldap/share/
.vagrant/
gitlab-workhorse/
.vagrant_enabled
host
port
.ruby-version
localhost.*
influxdb/
grafana/
openssh/*_key
openssh/*.pub
openssh/sshd_config
nginx/logs
nginx/conf/nginx.conf
nginx/tmp
nginx/client_body_temp
nginx/fastcgi_temp
nginx/proxy_temp
nginx/scgi_temp
nginx/uwsgi_temp
.gitlab-shell-bundle
.gitlab-bundle
/gitlab-openldap/bin/
/gitlab-openldap/etc/
/gitlab-openldap/include/
/gitlab-openldap/lib/
/gitlab-openldap/libexec/
/gitlab-openldap/openldap-2.4.40.tgz
/gitlab-openldap/openldap-2.4.40/
/gitlab-openldap/sbin/
/gitlab-openldap/share/
/.vagrant/
/gitlab-workhorse/pkg
/gitlab-workhorse/bin
/gitlab-workhorse/src
/.vagrant_enabled
/host
/port
/.ruby-version
/localhost.*
/influxdb/
/grafana/
/openssh/*_key
/openssh/*.pub
/openssh/sshd_config
/nginx/logs
/nginx/conf/nginx.conf
/nginx/tmp
/nginx/client_body_temp
/nginx/fastcgi_temp
/nginx/proxy_temp
/nginx/scgi_temp
/nginx/uwsgi_temp
/.gitlab-shell-bundle
/.gitlab-bundle
# GitLab-Workhorse in GitLab Development Kit
In GDK, gitlab-workhorse is installed inside its own GOPATH rooted here.
To set GOPATH in your current shell for working on gitlab-workhorse run the following command:
```
. env.sh
```
The gitlab-workhorse repository is cloned into:
```
gitlab-workhorse/src/gitlab.com/gitlab-org/gitlab-workhorse
```
You can use the following shortcut to `cd` into that directory:
```
. cd.sh
```
## Cleaning up an old gitlab-workhorse checkout
If you installed GDK before we started using a GOPATH for gitlab-workhorse you now have a bit of a mess in this directory. You can clean up as follows. Start in the GitLab Development Kit root.
```
# in GDK root!!
mv gitlab-workhorse gitlab-workhorse.old.$(date +%s)
git checkout -- gitlab-workhorse
make
```
cd src/gitlab.com/gitlab-org/gitlab-workhorse
export GOPATH=$(pwd)
echo "GOPATH=$GOPATH"
export PATH=$(pwd)/bin:$PATH
echo "PATH=$PATH"
\ No newline at end of file
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