110 Commits

Author SHA1 Message Date
Allineer
3c37f50366 rack_attack.rb wrong place 2016-02-03 23:07:54 +03:00
Allineer
4eac70c252 Fix typo
`GITLAB_BACKUP` => `GITLAB_BACKUP_SCHEDULE`
2016-01-25 23:49:39 +03:00
Sameer Naik
6c607a4310 assets:precompile moved back to build time 2016-01-23 20:16:16 +05:30
Sameer Naik
58cb48e6a0 added GITLAB_TEMP_DIR script macro 2016-01-23 13:37:04 +05:30
Sameer Naik
001ba77fb2 sanitize ${GITLAB_DATA_DIR}/tmp 2016-01-23 13:34:48 +05:30
Sameer Naik
78da0e291a fix azure oauth integration 2016-01-23 13:29:35 +05:30
Sameer Naik
6efebdf758 Merge branch 'azure' of https://github.com/jayme-github/docker-gitlab into jayme-github-azure 2016-01-23 13:28:26 +05:30
Sameer Naik
f487ea2cf1 oauth: expose cas3 oauth configuration options 2016-01-23 13:24:19 +05:30
Sameer Naik
df27d2cebb gitlab: upgrade to CE v8.4.0 2016-01-23 13:24:19 +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
63c628f895 gitlab-shell: upgrade to v.2.6.10 2016-01-22 18:30:50 +05:30
Sameer Naik
2bc1e0b2e6 removed use of git for the updation of VERSION and GITLAB_RELATIVE_URL_ROOT files 2016-01-22 18:30:37 +05:30
Sameer Naik
807ffd43be ensure CACHE_VERSION is defined before performing version comparison 2016-01-22 18:29:49 +05:30
Sameer Naik
da43e64ecf the official postgres image create the database named POSTGRES_USER if POSTGRES_DB is not specified 2016-01-14 12:35:49 +05:30
Sameer Naik
3cff982096 read POSTGRES_DB env variable when linked with official postgres image 2016-01-14 12:34:24 +05:30
Sameer Naik
a9caf40b15 expose LDAP_TIMEOUT configuration parameter 2016-01-14 10:11:46 +05:30
Sameer Naik
c3ef733fc8 gitlab: upgrade to CE v8.3.4 2016-01-14 09:56:06 +05:30
jayme-github
da3b1199f6 Add configuration parameters for Azure OAuth2
Allow configuration of Omniauth OAuth2 via Microsoft Azure using
https://github.com/KonaTeam/omniauth-azure-oauth2
Will be available with GitLab 8.4, merge request at
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2187
2016-01-07 09:49:34 +01:00
Sameer Naik
fbad0c39c5 intercept migration from versions < 8.0.0 2016-01-07 11:36:50 +05:30
Sameer Naik
cd548269dc use ${GITLAB_USER}: shortform in chown invocation 2016-01-05 14:19:32 +05:30
Sameer Naik
9a86a01568 chown destination file after copying in install_template
Instead of `sudo -HEu ${USR} cp ...`, copy the file as `root` and
`chown` it later with the specified ownership.
2016-01-05 14:17:23 +05:30
Sameer Naik
5021235fbb gitlab: upgrade to CE v8.3.1 2015-12-29 09:27:34 +05:30
Sameer Naik
e27673998d add version check on database migration 2015-12-28 21:58:40 +05:30
Sameer Naik
78aa32279f restore: extract timestamp from backup filename using bash builtins 2015-12-28 21:13:07 +05:30
Sameer Naik
050960b20e restore: display appropriate message when no backup is selected 2015-12-28 21:04:24 +05:30
Sameer Naik
74fef65abb restore: display the backup creation date/time while selecting a backup 2015-12-28 21:03:15 +05:30
Sameer Naik
cd18eb156a proxy pass requests to static assets to gitlab unicorn
When relative_url is in used, the links to assets in the
`application.css` file to not have the relative_url prefix. To fix this
we proxy pass asset requests to the upstream gitlab unicorn.

Fixes #521
2015-12-24 15:15:53 +05:30
Sameer Naik
de94d95cee remove trailing / from location block when relative_url is used 2015-12-24 15:05:32 +05:30
Sameer Naik
72b18f663f make GITLAB_RELATIVE_URL_ROOT__with_trailing_slash local to nginx_configure_gitlab_relative_url function 2015-12-24 15:02:15 +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
d91c622381 seggregate migration and cache clear blocks 2015-12-22 12:54:33 +05:30
Sameer Naik
e57f53a381 added arg to install_template to set the file mode
defaults to `0644`
2015-12-22 12:26:51 +05:30
Sameer Naik
60cd3d2572 gitlab-shell: upgrade to v.2.6.9 2015-12-22 12:05:20 +05:30
Sameer Naik
04d298967f install sample rack_attack.rb template 2015-12-22 11:19:29 +05:30
Sameer Naik
59238a96c2 removed NGINX_MAX_UPLOAD_SIZE configuration parameter 2015-12-22 11:19:29 +05:30
Sameer Naik
c7059c18a3 expose GITLAB_MAX_OBJECT_SIZE configuration parameter 2015-12-22 11:19:29 +05:30
Sameer Naik
b532eb9fca removed asset recompilation when relative_url is used
Since 8.3.0 static assets are handled by gitlab-workhorse. We no longer
need to recompile the assets to handle issues such as #481 #521 #581 and
the like
2015-12-22 11:19:29 +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
addf64afbb introducing GITLAB_RELATIVE_URL_ROOT__with_trailing_slash script variable 2015-12-22 10:43:10 +05:30
Sameer Naik
208f95e246 relative_url_root should not be set when GITLAB_RELATIVE_URL_ROOT is
not used

Fixes #541
2015-12-22 10:35:56 +05:30
Sameer Naik
b9e5232c08 renamed function gitlab_configure_backups_cron -> gitlab_configure_backups_schedule 2015-12-19 23:49:52 +05:30
Sameer Naik
8fd099d45f create automatic backups job only if it does not already exist 2015-12-19 23:47:44 +05:30
Sameer Naik
6c921ffd4a renamed config GITLAB_BACKUPS to GITLAB_BACKUPS_SCHEDULE 2015-12-19 23:31:36 +05:30
Sameer Naik
a42963c24d fix relative_url access without trailing / in url 2015-12-13 21:15:23 +05:30
Sameer Naik
2e72bd67f0 localize install_template variables 2015-12-13 12:32:00 +05:30
Sameer Naik
cd8f3c1aa4 add Strict-Transport-Security header even when https is configured at the load balancer
Refer #417
2015-12-13 12:31:28 +05:30
Sameer Naik
b07697f6ff moved X-Accel-Buffering header inside server block
Closes #417
2015-12-13 12:29:06 +05:30
Sameer Naik
908578b2ce moved HSTS configuration into its own function 2015-12-13 12:21:39 +05:30
Sameer Naik
ac6aa3e84f renamed config GITLAB_HTTPS_HSTS_MAXAGE to NGINX_HSTS_MAXAGE 2015-12-13 12:19:51 +05:30