Skip to content

Commit

Permalink
Bump to Gitlab 7.12 stable branch
Browse files Browse the repository at this point in the history
* bump gitlab to 7-12-stable branch
* bump gitlab-shell to 2.6.3 (latest)
* bump ruby version to 2.1.6
  • Loading branch information
sbadia committed Jul 11, 2015
1 parent da69224 commit 91a71d8
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion manifests/ci.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#
# [*gitlab_ruby_version*]
# Ruby version to install with rbenv for Gitlab user
# default: 2.1.2
# default: 2.1.6
#
# [*gitlab_manage_nginx*]
# Whether or not this module should install a templated Nginx
Expand Down
2 changes: 1 addition & 1 deletion manifests/ci/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
$gitlabci_bundler_flags = '--deployment'
$gitlabci_bundler_jobs = 1
$exec_path = "${ci_home}/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
$gitlab_ruby_version = '2.1.2'
$gitlab_ruby_version = '2.1.6'

} # Class:: gitlab::ci::params
4 changes: 2 additions & 2 deletions manifests/ci/runner.pp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#
# [*ruby_version*]
# Ruby version to install with rbenv for Gitlab user
# default: 2.1.2
# default: 2.1.6
#
# [*exec_path*]
# The default PATH passed to all exec ressources (this path include rbenv shims)
Expand All @@ -46,7 +46,7 @@
$ensure = 'present',
$branch = '5-0-stable',
$exec_path = '/home/gitlab_ci_runner/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
$ruby_version = '2.1.2',
$ruby_version = '2.1.6',
$source = 'https://gitlab.com/gitlab-org/gitlab-ci-runner.git',
$user = 'gitlab_ci_runner',
$user_home = '/home/gitlab_ci_runner',
Expand Down
6 changes: 3 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
#
# [*gitlab_branch*]
# Gitlab branch
# default: 6-9-stable
# default: 7-12-stable
#
# [*gitlabshell_sources*]
# Gitlab-shell sources
# default: git://github.com/gitlabhq/gitlab-shell.git
#
# [*gitlabshell_branch*]
# Gitlab-shell branch
# default: v1.9.4
# default: v2.6.3
#
# [*gitlabshell_log_folder*]
# Gitlab-shell log folder
Expand Down Expand Up @@ -294,7 +294,7 @@
#
# [*gitlab_ruby_version*]
# Ruby version to install with rbenv for the Gitlab user
# default: 2.1.2
# default: 2.1.6
#
# [*gitlab_secret_file*]
# File that contains the secret key for verifying access for gitlab-shell.
Expand Down
6 changes: 3 additions & 3 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
$git_timeout = 10
$gitlab_webhook_timeout = 10
$gitlab_sources = 'git://github.com/gitlabhq/gitlabhq.git'
$gitlab_branch = '6-9-stable'
$gitlab_branch = '7-12-stable'
$gitlabshell_sources = 'git://github.com/gitlabhq/gitlab-shell.git'
$gitlabshell_branch = 'v1.9.4'
$gitlabshell_branch = 'v2.6.3'
$gitlabshell_log_folder = undef
$gitlab_log_folder = undef
$gitlab_manage_nginx = true
Expand Down Expand Up @@ -74,7 +74,7 @@
$gitlab_ensure_postfix = true
$gitlab_ensure_curl = true
$gitlab_manage_rbenv = true
$gitlab_ruby_version = '2.1.2'
$gitlab_ruby_version = '2.1.6'
$gitlab_auth_file = "${git_home}/.ssh/authorized_keys"
$gitlab_secret_file = undef
$exec_path = "${git_home}/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/ci/gitlab_ci_runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
it { is_expected.to contain_rbenv__compile('gitlab-ci-runner/ruby').with(
:user => 'gitlab_ci_runner',
:home => '/home/gitlab_ci_runner',
:ruby => '2.1.2',
:ruby => '2.1.6',
:global => true,
:notify => 'Exec[install gitlab-ci-runner]'
)}
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/ci/gitlab_setup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
it { is_expected.to contain_rbenv__compile('gitlabci/ruby').with(
:user => 'gitlab_ci',
:home => '/home/gitlab_ci',
:ruby => '2.1.2',
:ruby => '2.1.6',
:global => true,
:notify => 'Exec[install gitlab-ci]'
)}
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/gitlab_package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
:user => 'git',
:provider => 'git',
:source => 'git://github.com/gitlabhq/gitlabhq.git',
:revision => '6-9-stable'
:revision => '7-12-stable'
)}
it { is_expected.to contain_vcsrepo('/home/git/gitlab-shell').with(
:ensure => 'present',
:user => 'git',
:provider => 'git',
:source => 'git://github.com/gitlabhq/gitlab-shell.git',
:revision => 'v1.9.4'
:revision => 'v2.6.3'
)}
end
context 'with specifics params' do
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/gitlab_setup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
it { is_expected.to contain_rbenv__compile('gitlab/ruby').with(
:user => 'git',
:home => '/home/git',
:ruby => '2.1.2',
:ruby => '2.1.6',
:global => true,
:notify => ['Exec[install gitlab-shell]', 'Exec[install gitlab]']
)}
Expand Down

0 comments on commit 91a71d8

Please sign in to comment.