313 Commits

Author SHA1 Message Date
Sameer Naik
5443eb4583 added GITLAB_SSL_SELF_SIGNED configuration option 2014-04-28 20:55:29 +05:30
Sameer Naik
7d012f8468 README: document GITLAB_HTTPS setting 2014-04-28 20:55:28 +05:30
Sameer Naik
54333b951b README: added waffle.io badge for testing status 2014-04-28 20:55:04 +05:30
Sameer Naik
4dc1ebde4a Merge pull request #55 from waffle-iron/master
waffle.io Badge
2014-04-28 19:15:18 +05:30
Making GitHub Delicious.
57273d5bf5 add waffle.io badge 2014-04-28 07:44:47 -06:00
Sameer Naik
cd21d296b6 Merge branch 'feature/fix-usage-with-non-standard-ports', fixes #53, #34 2014-04-26 17:37:28 +05:30
Sameer Naik
c8a62b1c94 fix git over ssh when the default http/https ports are not used.
Internally the SSH and the http/https servers always bind to ports 22 and
80/443 respectively. If the GITLAB_PORT variable is set to any other
port, then cloning over SSH would not work.

This is because internally gitlab-shell tries to communicate with the
gitlab server over http interface. In gitlab-shell configured with
the GITLAB_PORT value the conmmunication will effective fail and thereby
the cloning operation would return an error.

To fix this, we make gitlab-shell communicate with the http server
directly with the default http/https ports since this is all internal.

Prior to this update, cloning repositories over ssh protocol would not
work when the container is started in the following way:

```bash
docker run -i -t --rm \
  -p 8888:80 -p 2222:22 \
  -e "GITLAB_PORT=8888" -e "GITLAB_SHELL_SSH_PORT=2222" \
  sameersbn/gitlab
```
2014-04-26 17:37:13 +05:30
Sameer Naik
96d975d9f4 use https protocol in the wget request if https is enabled 2014-04-26 17:36:37 +05:30
Sameer Naik
296a6ad027 construct the gitlab_url based on whether https is enabled and whether the default ports are changed 2014-04-26 17:36:32 +05:30
Sameer Naik
cd87085d5b set the default GITLAB_PORT to 443 if https is enabled, else set it to 80 2014-04-26 17:36:28 +05:30
Sameer Naik
cef12f872a cat does not seem to keep the ownership of git user, touch it first 2014-04-24 21:04:20 +05:30
Sameer Naik
dddde324d0 use cat instead of echo in the last commit 2014-04-24 20:57:29 +05:30
Sameer Naik
b2d261b116 compile the assets only if it does not exist or if the gitlab version has changed. 2014-04-24 20:55:22 +05:30
Sameer Naik
05019fd2e0 upgrade gitlab-shell to version 1.9.4 2014-04-24 15:47:27 +05:30
Sameer Naik
b4196eca4f cache public/assets in local cache at /home/git/data/tmp/ 2014-04-24 10:54:42 +05:30
Sameer Naik
8296235575 moved tmp/cache storage to /home/git/data/tmp/ 2014-04-24 10:53:59 +05:30
Sameer Naik
2c3656a9f4 Merge branch 'gramakri-nginx_config', closes #49 2014-04-23 22:27:57 +05:30
Girish Ramakrishnan
e34c9649d9 Remove default nginx configuration
The 'default' nginx config (part of ubuntu) causes ssh pushes to fail.
This is because gitlab-shell makes http://localhost/api/v3/interal/* calls
and they get routed to 'default' nginx configuration instead of the @gitlab
named location.
2014-04-23 22:16:54 +05:30
Sameer Naik
1ea9df0311 silence assets compilation output 2014-04-23 21:47:57 +05:30
Sameer Naik
6cf203eb06 do not clear redis cache at startup 2014-04-23 21:46:35 +05:30
Sameer Naik
f0c0d48fc5 cache compiled assets to boost application startup 2014-04-23 21:45:51 +05:30
Sameer Naik
1be9fe79b3 install: make sure /home/git/.ssh does not exist before creating the symlink to /home/git/data/.ssh directory 2014-04-23 21:24:40 +05:30
Sameer Naik
efd0695d3f install: make sure tmp/backups does not exist before creating the symlink to /home/git/data/backups directory 2014-04-23 21:24:23 +05:30
Sameer Naik
4493a1a0b4 fix symlink to /home/git/data/uploads directory v6.8.1 2014-04-23 21:24:02 +05:30
Sameer Naik
267fff47e4 upgrade to gitlab-ce version 6.8.1 2014-04-23 19:00:04 +05:30
Sameer Naik
5ee46a8338 fix permissions on repositories directory 2014-04-23 15:55:54 +05:30
Sameer Naik
70a85b99a7 fix permissions on gitlab-satellites directory 2014-04-23 15:15:24 +05:30
Sameer Naik
9c03af2e06 Merge pull request #48 from gramakri/doc_change
Use --name instead of -name
2014-04-23 10:04:28 +05:30
Girish Ramakrishnan
677c27799f Use --name instead of -name 2014-04-22 21:00:36 -07:00
Sameer Naik
d431d805b6 Merge branch 'feature/gitlab-6.8.0' v6.8.0 2014-04-22 22:55:02 +05:30
Sameer Naik
e11ef261fe upgrade to gitlab-shell 1.9.3 2014-04-22 22:32:12 +05:30
Sameer Naik
b91c930e65 fix permissions on gitlab-satellites directory 2014-04-22 22:32:12 +05:30
Sameer Naik
7ed1cc8403 Changelog: update version to 6.8.0 2014-04-22 22:32:12 +05:30
Sameer Naik
669e843eba added GITLAB_SIGNIN setting to enable or disable standard login form 2014-04-22 22:32:12 +05:30
Sameer Naik
0c20a30560 upgraded to gitlab-ce version 6.8.0 2014-04-22 22:32:06 +05:30
Sameer Naik
ad57dce015 removed packaged config.tar.bz2 2014-04-22 22:30:26 +05:30
Sameer Naik
648073e8f6 Merge branch 'feature/build-optimizations', closes #44 2014-04-22 16:43:02 +05:30
Sameer Naik
5c0ba7d666 moved config directory back inside assets directory 2014-04-22 16:42:26 +05:30
Sameer Naik
7b985b8915 install setup and init scripts seperately 2014-04-22 16:41:46 +05:30
Sameer Naik
dbe5c399cb move the config templates outside the assets directory, closes #44 2014-04-22 11:53:44 +05:30
Sameer Naik
64e8377a9e README: remove anchor tag from links 2014-04-21 22:00:05 +05:30
Sameer Naik
b60dc4bd15 README: fix typo 2014-04-21 21:58:55 +05:30
Sameer Naik
5a7202e122 README: added links section with links to issues page and announcement thread 2014-04-21 21:57:48 +05:30
Sameer Naik
9381aaf462 added support for linking to a redis container 2014-04-21 21:56:52 +05:30
li-chao
dcb373b3da fixed git push fail when GITLAB_PORT is not 80 2014-04-21 19:05:11 +08:00
Sameer Naik
916bb7d38f optimize RUN statements 2014-04-19 22:08:11 +05:30
Sameer Naik
d723a97acd use sameersbn/ubuntu:12.04.20140418 as the base image 2014-04-19 22:08:05 +05:30
Sameer Naik
20e944246b update apt cache 2014-04-18 21:53:00 +05:30
Sameer Naik
4b4a9a5af5 update apt cache 2014-04-18 19:09:33 +05:30
Sameer Naik
f71a8b565b README: use CREATE ROLE statement in postgresql setup instructions 2014-04-16 10:16:43 +05:30