gitlab: upgrade to CE v8.4.0

This commit is contained in:
Sameer Naik 2016-01-22 18:27:07 +05:30
parent 36d6c7eda8
commit df27d2cebb
4 changed files with 21 additions and 3 deletions

View File

@ -5,6 +5,7 @@ This file only reflects the changes that are made in this image. Please refer to
**latest**
- gitlab-shell: upgrade to v.2.6.10
- gitlab-workhorse: upgrade to v0.6.1
- gitlab: upgrade to CE v8.4.0
**8.3.4**
- gitlab-workhorse: upgrade to v0.5.4

View File

@ -1,7 +1,7 @@
FROM sameersbn/ubuntu:14.04.20160121
MAINTAINER sameer@damagehead.com
ENV GITLAB_VERSION=8.3.4 \
ENV GITLAB_VERSION=8.4.0 \
GITLAB_SHELL_VERSION=2.6.10 \
GITLAB_WORKHORSE_VERSION=0.6.1 \
GITLAB_USER="git" \

View File

@ -4,8 +4,8 @@
#
########################### NOTE #####################################
# This file should not receive new settings. All configuration options #
# that do not require an application restart are being moved to #
# ApplicationSetting model! #
# * are being moved to ApplicationSetting model! #
# If a setting requires an application restart say so in that screen. #
# If you change this file in a Merge Request, please also create #
# a MR on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests #
########################################################################
@ -301,6 +301,15 @@ production: &base
# arguments, followed by optional 'args' which can be either a hash or an array.
# Documentation for this is available at http://doc.gitlab.com/ce/integration/omniauth.html
providers:
# See omniauth-cas3 for more configuration details
# - { name: 'cas3',
# label: 'cas3',
# args: {
# url: 'https://sso.example.com',
# disable_ssl_verification: false,
# login_url: '/cas/login',
# service_validate_url: '/cas/p3/serviceValidate',
# logout_url: '/cas/logout'} }
- { name: 'github',
label: 'GitHub',
app_id: '{{OAUTH_GITHUB_API_KEY}}',
@ -339,6 +348,9 @@ production: &base
application_name: '{{OAUTH_CROWD_APP_NAME}}',
application_password: '{{OAUTH_CROWD_APP_PASSWORD}}' } }
# SSO maximum session duration in seconds. Defaults to CAS default of 8 hours.
# cas3:
# session_duration: 28800
# Shared file storage settings
shared:

View File

@ -1120,6 +1120,11 @@ migrate_database() {
echo "Migrating database..."
exec_as_git bundle exec rake db:migrate >/dev/null
if [[ ${DB_ADAPTER} == mysql2 ]]; then
exec_as_git bundle exec rake add_limits_mysql >/dev/null
fi
echo "${GITLAB_VERSION}" > ${GITLAB_DATA_DIR}/tmp/VERSION
rm -rf ${GITLAB_DATA_DIR}/tmp/GITLAB_RELATIVE_URL_ROOT # force cache cleanup
fi