Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-11-14 18:11:06 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-11-14 18:11:06 +0300
commitc373059b05483bb66def4fb88f283073bda80a41 (patch)
tree873bede1c3fe27c5ddd8da0aee9d06797f30ca4d
parent6d81554fb674ac78bf835470adcca19240e1c5e4 (diff)
parent93c99ba08f5eb377f5288e429c3914728fb59690 (diff)
Merge branch 'sh-bump-ruby-2-5-3' into 'master'
Upgrade to Ruby 2.5.3 See merge request gitlab-org/gitaly!942
-rw-r--r--.gitlab-ci.yml20
-rw-r--r--.ruby-version2
-rw-r--r--Dockerfile2
-rw-r--r--_support/instrumented-cluster/docker-compose.yml2
-rw-r--r--changelogs/unreleased/sh-bump-ruby-2-5-3.yml5
-rw-r--r--ruby/.rubocop.yml3
6 files changed, 23 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc3b9c00c..0a6cfdc08 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.11-git-2.18
+image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.11-git-2.18
stages:
- build
@@ -7,7 +7,7 @@ stages:
variables:
DOCKER_DRIVER: overlay
- CUSTOM_IMAGE_VERSION: ruby-2.4-golang-1.11-git-2.18
+ CUSTOM_IMAGE_VERSION: ruby-2.5-golang-1.11-git-2.18
danger-review:
image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger
@@ -23,7 +23,7 @@ danger-review:
.ruby_template: &ruby_definition
cache:
- key: gems-ruby-2.4
+ key: gems-ruby-2.5
paths:
- ruby/vendor/bundle
@@ -55,7 +55,7 @@ danger-review:
stage: test
# Override the ruby_definition cache definition for pull
cache:
- key: gems-ruby-2.4
+ key: gems-ruby-2.5
paths:
- ruby/vendor/bundle
policy: pull
@@ -80,23 +80,27 @@ verify:
build:go1.11:
<<: *build_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.11-git-2.18
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.11-git-2.18
build:go1.10:
<<: *build_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.10-git-2.18
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.10-git-2.18
binaries_go1.11:
<<: *assemble_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.11-git-2.18
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.11-git-2.18
binaries_go1.10:
<<: *assemble_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.10-git-2.18
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.10-git-2.18
test:default:
<<: *test_definition
+test:go1.10-git2.18-ruby-2.5:
+ <<: *test_definition
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.10-git-2.18
+
test:go1.10-git2.18-ruby-2.4:
<<: *test_definition
image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.10-git-2.18
diff --git a/.ruby-version b/.ruby-version
index 59aa62c1f..aedc15bb0 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-2.4.5
+2.5.3
diff --git a/Dockerfile b/Dockerfile
index 8e4be4d88..12e952066 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@
# See the _support/load-cluster/docker-compose.yml for an example of how to use
# this image
#
-FROM registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2-4-golang-1.11-git-2.17
+FROM registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2-5-golang-1.11-git-2.18
RUN mkdir -p /app/ruby
diff --git a/_support/instrumented-cluster/docker-compose.yml b/_support/instrumented-cluster/docker-compose.yml
index 5ea115dfa..fda8e3ece 100644
--- a/_support/instrumented-cluster/docker-compose.yml
+++ b/_support/instrumented-cluster/docker-compose.yml
@@ -2,7 +2,7 @@ version: "2.4"
services:
gitaly1repos:
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.4-golang-1.11-git-2.17
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.5-golang-1.11-git-2.18
volumes:
- gitalydata1:/repositories
- ./gitaly1repos/setup.sh:/setup.sh
diff --git a/changelogs/unreleased/sh-bump-ruby-2-5-3.yml b/changelogs/unreleased/sh-bump-ruby-2-5-3.yml
new file mode 100644
index 000000000..c142136cd
--- /dev/null
+++ b/changelogs/unreleased/sh-bump-ruby-2-5-3.yml
@@ -0,0 +1,5 @@
+---
+title: Upgrade to Ruby 2.5.3
+merge_request: 942
+author:
+type: other
diff --git a/ruby/.rubocop.yml b/ruby/.rubocop.yml
index 5fad10077..ac84a3285 100644
--- a/ruby/.rubocop.yml
+++ b/ruby/.rubocop.yml
@@ -7,3 +7,6 @@ AllCops:
Style/NumericPredicate:
Enabled: false
+
+Style/RedundantBegin:
+ Enabled: false