30 Commits

Author SHA1 Message Date
SolidNerd
4402f44f46 Fix assets:precompile during build
Since 8.10 you need the default git repository folder from `config/gitlab.yml ` to precompile the assets.
2016-07-23 02:39:14 +02:00
SolidNerd
70dc29de1a Use tcp for workhorse communication.
Signed-off-by: SolidNerd <niclas@mietz.io>
2016-07-17 09:28:24 +02:00
Chengwei Yang
923843905b Fix typo: workhorse -> shell
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-05-09 17:39:56 +08:00
Sameer Naik
7c3e63f521 revert rake gitlab:setup changes from gitlabhq/gitlabhq@a54af831ba
The `db:setup` rake task attempts to DROP an existing gitlab database.
This operation can only be performed by a superuser or users with the
required privileges.

In the context of this image this is not required anyway and may well be
an oversight by GitLab Inc.
2016-04-24 12:19:47 +05:30
Sameer Naik
800840f706 gitlab: upgrade to CE v8.7.0 2016-04-24 12:00:33 +05:30
Sameer Naik
a5da507777 shallow clone gitlab-ce from the official github mirror 2016-04-17 09:35:53 +05:30
Sameer Naik
8677ffd110 download tarballs of gitlab-shell and gitlab-workhorse 2016-04-17 09:34:38 +05:30
Sameer Naik
fee7ce6eed gitlab-workhorse: upgrade to v0.7.1 2016-03-23 10:38:14 +05:30
Mizunashi Mana
822074576d add GITLAB_WORKHORSE_TIMEOUT env 2016-03-21 06:17:25 +09:00
Sameer Naik
8f1e9d9c0e download official golang binary release
Closes #635
2016-03-12 11:44:15 +05:30
Sameer Naik
6455752b17 install gitlab-workhorse at /usr/local prefix
Fixes #579
2016-01-24 11:47:24 +05:30
Sameer Naik
6c000f9e01 define DEBIAN_FRONTEND=noninteractive while purging packages 2016-01-23 20:16:39 +05:30
Sameer Naik
6c607a4310 assets:precompile moved back to build time 2016-01-23 20:16:16 +05:30
Sameer Naik
36d6c7eda8 moved execution of assets:precompile raketask to runtime
GitLab 8.4.0 requires a working database connection while executing the
`assets:precompile` raketask. As a result the execution of the rake task
is postponed to execute at runtime with the assets cached in the data
volume. This adds a noticable increase in the container startup time.
2016-01-23 13:23:57 +05:30
Sameer Naik
cc9109b989 remove unused ${GITLAB_HOME}/repositories directory 2016-01-22 18:28:56 +05:30
Sameer Naik
cd548269dc use ${GITLAB_USER}: shortform in chown invocation 2016-01-05 14:19:32 +05:30
Sameer Naik
6a767b287f do not use sudo if user is git in exec_as_git 2015-12-24 11:26:40 +05:30
Sameer Naik
237a2553ac script variables for clone urls 2015-12-22 12:17:24 +05:30
Sameer Naik
60cd3d2572 gitlab-shell: upgrade to v.2.6.9 2015-12-22 12:05:20 +05:30
Sameer Naik
607928ffcc gitlab: upgrade to CE v8.3.0 2015-12-22 11:19:27 +05:30
Sameer Naik
a541669f36 gitlab-workhorse: upgrade to v0.5.1 2015-12-22 10:52:38 +05:30
Sameer Naik
40c0656c45 merged consecutive sed commands 2015-12-13 12:13:25 +05:30
Sameer Naik
fcad872ae9 replace ' with " in sed substitution commands
using `"` in `sed` commands allows use to use bash variables directly in
the substitutions.
2015-12-10 20:58:24 +05:30
Sameer Naik
356897ef6d switch back to gitlab.com clone urls: no comments 2015-11-29 20:02:07 +05:30
Sameer Naik
5d44415802 remove the builds and shared directories at build time. refer #509 2015-11-24 12:48:52 +05:30
Sameer Naik
2cafebb0fc replace / with | character as the sed delimiter 2015-11-23 12:12:43 +05:30
Sameer Naik
d98b93ffc1 gitlab-workhorse: upgrade to v.0.4.2
Module formerly known as gitlab-git-http-server
2015-11-22 12:10:27 +05:30
Sameer Naik
8752a7234c install: clone git sources from https://github.com 2015-11-19 20:06:02 +05:30
Sameer Naik
8344978162 build: look for gem cache in "${GITLAB_BUILD_DIR}/cache 2015-11-19 19:54:46 +05:30
Sameer Naik
50e13e5fc4 Restructured repo and code for better readability and maintenance 2015-11-17 22:20:05 +05:30