49 Commits

Author SHA1 Message Date
solidnerd
ceb4e1d1f0
Use gitlab:assets:compile for compiling assets
This commit will replace the following rake tasks through a single one.

- assets:clean
- assets:precompile
- webpack:compile

Signed-off-by: solidnerd <niclas@mietz.io>
2017-07-02 12:52:16 +02:00
solidnerd
d4de4f3b7b
Remove lock for omniauth-google-oauth2
This gonna be fixed through the upstream commit b60a14357f

Signed-off-by: solidnerd <niclas@mietz.io>
2017-07-02 12:52:16 +02:00
timfeirg
793b33c2e5 install gitaly 2017-07-01 17:26:40 +08:00
timfeirg
0c28126033 extra steps required when installing gitlab-shell 2017-06-29 12:25:01 +08:00
timfeirg
3a32735558 Upgrade to Gitlab CE 9.3.0 2017-06-27 16:46:32 +08:00
Andrew Stuart
42275623d6
Temporary workaround for omniauth Gemfile.lock incompatibility 2017-05-26 11:46:04 -07:00
Andrew Stuart
105c701235
Add flexibility to use versions committed into gitlab-ce 2017-05-26 11:45:42 -07:00
Andrew Stuart
169963397e
Update to 9.2.0 2017-05-26 11:45:28 -07:00
lsm
67e402674c Fix #1188
@solidnerd This is the change would allow me to build again.
2017-05-09 20:07:48 -07:00
solidnerd
1a849ffe6d
Use git clone for gitlab-workhorse
This replace the old behaviour instead of downloading an artifact from
gitlab-workhorse. The gitlab-workhorse repository will be shallowed
cloned.
2017-04-23 00:13:15 +02:00
Ian Matyssik
fb8cfdb5b2
Set git config for repack.writeBitmaps to true 2017-03-25 06:15:11 +09:00
Ian Matyssik
a42aadc777 Use yarn to install JS dependencies
Since yarn is part of the image now, we should use it to install JS dependencies.
2017-03-20 21:58:26 +09:00
solidnerd
cd635cd57e
Add GitLab Pages 2017-03-18 11:51:49 +01:00
Chang Hyun Park
644895fb3f
Adds installation of dependent node packages, and webpack compilation
Dependent node packages are built with the `npm install` command
Then the rake webpack:compile instruction compiles necessary webpack stuff.

Signed-off-by: Chang Hyun Park <heartinpiece@gmail.com>
2017-03-04 12:47:42 +01:00
Niclas Mietz
72eacd1f42 Merge pull request #842 from solidnerd/change-gitlab_clone_url
Change `GITLAB_CLONE_URL` from github to gitlab directly
2016-12-26 13:52:40 +01:00
Pieter Meyvaert
005f754a38 Applied patches for gitlab 8.13.0 2016-10-25 10:11:17 +02:00
SolidNerd
155920da38 Upgrade Ruby to 2.3 2016-08-22 22:41:09 +02:00
SolidNerd
287e7d52f7 Change GITLAB_CLONE_URL from github to gitlab directly 2016-08-17 23:39:46 +02:00
SolidNerd
3186fb9540 Add SKIP_STORAGE_VALIDATION to let assets:precompile
This is the new way how we could resolve the problem with assets:precompile since 8.10.0
GITLAB MR Link: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5478/commits
2016-07-30 10:38:32 +02:00
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