Skip to content

Commit

Permalink
Merge pull request #94970 from flokli/20.03-gitlab-13.0.12
Browse files Browse the repository at this point in the history
[20.03] gitlab: 13.0.12
  • Loading branch information
flokli committed Aug 12, 2020
2 parents 2090411 + 16ec57b commit 4e4906d
Show file tree
Hide file tree
Showing 14 changed files with 766 additions and 484 deletions.
3 changes: 3 additions & 0 deletions nixos/modules/services/misc/gitlab.nix
Expand Up @@ -43,6 +43,9 @@ let
[gitlab-shell]
dir = "${cfg.packages.gitlab-shell}"
secret_file = "${cfg.statePath}/gitlab_shell_secret"
gitlab_url = "http+unix://${pathUrlQuote gitlabSocket}"
http_settings = { self_signed_cert = false }
${concatStringsSep "\n" (attrValues (mapAttrs (k: v: ''
[[storage]]
Expand Down
16 changes: 8 additions & 8 deletions pkgs/applications/version-management/gitlab/data.json
@@ -1,13 +1,13 @@
{
"version": "12.10.14",
"repo_hash": "1h3h5irmanaxizw66dw87ahrnzpfs3g4s9gxlsypbkdnzbi1rfsm",
"version": "13.0.12",
"repo_hash": "0m9pn1alxdib9ppf878wf186bvn0llik7vcpqijzcdzc18q9cldq",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v12.10.14-ee",
"rev": "v13.0.12-ee",
"passthru": {
"GITALY_SERVER_VERSION": "12.10.14",
"GITLAB_PAGES_VERSION": "1.17.0",
"GITLAB_SHELL_VERSION": "12.2.0",
"GITLAB_WORKHORSE_VERSION": "8.30.3"
"GITALY_SERVER_VERSION": "13.0.12",
"GITLAB_PAGES_VERSION": "1.18.0",
"GITLAB_SHELL_VERSION": "13.2.0",
"GITLAB_WORKHORSE_VERSION": "8.31.2"
}
}
}
16 changes: 9 additions & 7 deletions pkgs/applications/version-management/gitlab/gitaly/Gemfile
Expand Up @@ -4,25 +4,25 @@ source 'https://rubygems.org'
gem 'bundler', '>= 1.17.3'

gem 'rugged', '~> 0.28'
gem 'github-linguist', '~> 7.5', require: 'linguist'
gem 'gitlab-markup', '~> 1.7.0'
gem 'activesupport', '6.0.2'
gem 'github-linguist', '~> 7.9', require: 'linguist'
gem 'gitlab-markup', '~> 1.7.1'
gem 'activesupport', '~> 6.0.3.1'
gem 'rdoc', '~> 6.0'
gem 'gitlab-gollum-lib', '~> 4.2.7.8', require: false
gem 'gitlab-gollum-lib', '~> 4.2.7.9', require: false
gem 'gitlab-gollum-rugged_adapter', '~> 0.4.4.2', require: false
gem 'grpc', '~> 1.27.0'
gem 'grpc', '~> 1.24.0'
gem 'sentry-raven', '~> 2.9.0', require: false
gem 'faraday', '~> 0.12'
gem 'rbtrace', require: false

# Labkit provides observability functionality
gem 'gitlab-labkit', '~> 0.9.1'
gem 'gitlab-labkit', '~> 0.12.0'

# Detects the open source license the repository includes
# This version needs to be in sync with GitLab CE/EE
gem 'licensee', '~> 8.9.0'

gem 'google-protobuf', '~> 3.11.2'
gem 'google-protobuf', '~> 3.8.0'

group :development, :test do
gem 'rubocop', '~> 0.69', require: false
Expand All @@ -32,6 +32,8 @@ group :development, :test do
gem 'factory_bot', require: false
gem 'pry', '~> 0.12.2', require: false

gem 'grpc-tools', '= 1.0.1'

# gitlab-shell spec gems
gem 'listen', '~> 0.5.0'
gem 'simplecov', '~> 0.17.1', require: false
Expand Down
58 changes: 30 additions & 28 deletions pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
Expand Up @@ -2,25 +2,25 @@ GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
actionpack (6.0.2)
actionview (= 6.0.2)
activesupport (= 6.0.2)
rack (~> 2.0)
actionpack (6.0.3.1)
actionview (= 6.0.3.1)
activesupport (= 6.0.3.1)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (6.0.2)
activesupport (= 6.0.2)
actionview (6.0.3.1)
activesupport (= 6.0.3.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activesupport (6.0.2)
activesupport (6.0.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
zeitwerk (~> 2.2, >= 2.2.2)
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
Expand All @@ -34,7 +34,7 @@ GEM
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
concurrent-ruby (1.1.5)
concurrent-ruby (1.1.6)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.6)
Expand All @@ -47,16 +47,16 @@ GEM
activesupport (>= 4.2.0)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ffi (1.11.1)
ffi (1.12.2)
gemojione (3.3.0)
json
github-linguist (7.5.1)
github-linguist (7.9.0)
charlock_holmes (~> 0.7.6)
escape_utils (~> 1.2.0)
mini_mime (~> 1.0)
rugged (>= 0.25.1)
github-markup (1.7.0)
gitlab-gollum-lib (4.2.7.8)
gitlab-gollum-lib (4.2.7.9)
gemojione (~> 3.2)
github-markup (~> 1.6)
gitlab-gollum-rugged_adapter (~> 0.4.4.2)
Expand All @@ -67,20 +67,21 @@ GEM
gitlab-gollum-rugged_adapter (0.4.4.2)
mime-types (>= 1.15)
rugged (~> 0.25)
gitlab-labkit (0.9.1)
gitlab-labkit (0.12.0)
actionpack (>= 5.0.0, < 6.1.0)
activesupport (>= 5.0.0, < 6.1.0)
grpc (~> 1.19)
jaeger-client (~> 0.10)
opentracing (~> 0.4)
redis (> 3.0.0, < 5.0.0)
gitlab-markup (1.7.0)
google-protobuf (3.11.4)
gitlab-markup (1.7.1)
google-protobuf (3.8.0)
googleapis-common-protos-types (1.0.4)
google-protobuf (~> 3.0)
grpc (1.27.0)
google-protobuf (~> 3.11)
grpc (1.24.0)
google-protobuf (~> 3.8)
googleapis-common-protos-types (~> 1.0)
grpc-tools (1.0.1)
hashdiff (0.3.9)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
Expand All @@ -93,7 +94,7 @@ GEM
licensee (8.9.2)
rugged (~> 0.24)
listen (0.5.3)
loofah (2.4.0)
loofah (2.5.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
memoizable (0.4.2)
Expand Down Expand Up @@ -140,7 +141,7 @@ GEM
optimist (>= 3.0.0)
rdoc (6.2.0)
redis (4.1.3)
rouge (3.18.0)
rouge (3.19.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
Expand Down Expand Up @@ -185,7 +186,7 @@ GEM
thread_safe (0.3.6)
thrift (0.11.0.0)
timecop (0.9.1)
tzinfo (1.2.6)
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-display_width (1.6.0)
unparser (0.4.7)
Expand All @@ -201,23 +202,24 @@ GEM
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
zeitwerk (2.2.2)
zeitwerk (2.3.0)

PLATFORMS
ruby

DEPENDENCIES
activesupport (= 6.0.2)
activesupport (~> 6.0.3.1)
bundler (>= 1.17.3)
factory_bot
faraday (~> 0.12)
github-linguist (~> 7.5)
gitlab-gollum-lib (~> 4.2.7.8)
github-linguist (~> 7.9)
gitlab-gollum-lib (~> 4.2.7.9)
gitlab-gollum-rugged_adapter (~> 0.4.4.2)
gitlab-labkit (~> 0.9.1)
gitlab-markup (~> 1.7.0)
google-protobuf (~> 3.11.2)
grpc (~> 1.27.0)
gitlab-labkit (~> 0.12.0)
gitlab-markup (~> 1.7.1)
google-protobuf (~> 3.8.0)
grpc (~> 1.24.0)
grpc-tools (= 1.0.1)
licensee (~> 8.9.0)
listen (~> 0.5.0)
pry (~> 0.12.2)
Expand Down
11 changes: 2 additions & 9 deletions pkgs/applications/version-management/gitlab/gitaly/default.nix
Expand Up @@ -19,14 +19,14 @@ let
};
};
in buildGoPackage rec {
version = "12.10.14";
version = "13.0.12";
pname = "gitaly";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
sha256 = "0v2ikj4vvlgj2cpp4m5di9kw63nsc3p9hgjfacvzr7nj3ar2pwqa";
sha256 = "00jzrib8f51b3wkl0zy9a9cr5j9kp6cmm49vxm27zgxpyz8k1axw";
};

# Fix a check which assumes that hook files are writeable by their
Expand All @@ -49,13 +49,6 @@ in buildGoPackage rec {
postInstall = ''
mkdir -p $ruby
cp -rv $src/ruby/{bin,lib,proto,git-hooks,gitlab-shell} $ruby
# gitlab-shell will try to read its config relative to the source
# code by default which doesn't work in nixos because it's a
# read-only filesystem
substituteInPlace $ruby/gitlab-shell/lib/gitlab_config.rb --replace \
"ROOT_PATH.join('config.yml')" \
"Pathname.new('/run/gitlab/shell-config.yml')"
'';

outputs = [ "bin" "out" "ruby" ];
Expand Down

0 comments on commit 4e4906d

Please sign in to comment.