60 Commits

Author SHA1 Message Date
Wang Xuerui
29fc2f5a1f Allow running on PaX kernels
`ruby` needs the PaX MPROTECT flag disabled to run on PaX-enabled systems because of JIT. Mark it as such.
2017-12-30 17:57:05 +08:00
solidnerd
c570f1c196
Remove GITALY_ENABLED
Since the last version Gitaly is now the way to go. So I removed this variable from the image.

Signed-off-by: solidnerd <niclas@mietz.io>
2017-10-26 21:47:53 +02:00
solidnerd
3fc8424bba
Use git as installation for gitaly
This commit applys the patch from @fmauNeko .

Signed-off-by: solidnerd <niclas@mietz.io>
2017-10-26 21:47:53 +02:00
solidnerd
e025be725e
Fix gitlab-pages installation
This fixes the installation of gitlab-pages.
Git will be now used to download gitlab-pages and the new make script will be used.
Signed-off-by: solidnerd <niclas@mietz.io>
2017-10-22 19:22:47 +02:00
Even Holthe
985d57afb9 Add ajv as an explicit dependency
Thanks to @phenomax to pointing this out. Should probably be removed in
the future once it's fixed upstream.

See the following links for more info:
  - https://gitlab.com/gitlab-org/gitlab-ce/issues/38275
  - https://gitlab.com/gitlab-org/gitlab-ce/issues/38050
  - https://github.com/sameersbn/docker-gitlab/issues/1360
2017-10-01 21:33:25 +02:00
solidnerd
d1287f4895
Remove explicit gettext:compile
This is not needed anymore it got fixed by the upstream.

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13122/diffs
Signed-off-by: solidnerd <niclas@mietz.io>
2017-08-19 09:06:56 +02:00
solidnerd
de3a4a1349
Add gettext:compile for assets
This helps to let js and other stuff working correctly with i18n translations.

Fixes #1301
2017-07-25 09:29:41 +02:00
Niclas Mietz
04589d2d66 Merge pull request #1288 from MichaelEischer/regenerate-secrets
Regenerate secrets on container startup
2017-07-23 13:19:21 +02:00
Sergey Rusakov
31c7561641
Add RE2 library to install script 2017-07-21 23:29:17 +02:00
Michael Eischer
e383d84296 Generate secrets on container startup 2017-07-16 20:30:33 +02:00
Abel Tay
3b1b03c75d Fix typo in gitlab-workhorse 2017-07-07 14:42:41 +08:00
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