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>2020-04-08 15:22:22 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2020-04-08 15:22:22 +0300
commit9b176ae5af1de6f1e90827776d0cc0cd30c18919 (patch)
tree5de429a857f48f999d520eb7b5b84580ed788136
parent325c5b9eb3f551112e275cfc1eaa021d6de8b307 (diff)
parenta9d5d0f2c34d6dd51de37871ee3bd15e9d4a61f9 (diff)
Merge branch 'cc-git-2-26-0' into 'master'
Upgrade to Git 2.26 See merge request gitlab-org/gitaly!1983
-rw-r--r--.gitlab-ci.yml28
-rw-r--r--Dockerfile2
-rw-r--r--README.md2
-rw-r--r--_support/instrumented-cluster/docker-compose.yml2
-rw-r--r--changelogs/unreleased/cc-git-2-26-0.yml5
-rw-r--r--internal/service/operations/rebase_test.go2
6 files changed, 27 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e7998d861..68885ece5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,13 +4,13 @@ stages:
- publish
default:
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.24
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.26
tags:
- gitlab-org
variables:
DOCKER_DRIVER: overlay2
- CUSTOM_IMAGE_VERSION: ruby-2.6-golang-1.13-git-2.24
+ CUSTOM_IMAGE_VERSION: ruby-2.6-golang-1.13-git-2.26
SAST_DISABLE_DIND: "true"
SAST_DEFAULT_ANALYZERS: "gosec"
@@ -97,33 +97,41 @@ proto:
build:go1.14:
<<: *build_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.24
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.26
build:go1.13:
<<: *build_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.22
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.24
binaries_go1.14:
<<: *assemble_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.24
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.26
binaries_go1.13:
<<: *assemble_definition
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.22
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.24
+
+test:go1.14-git-2.26-ruby-2.6:
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.26
+ <<: *test_definition
test:go1.14-git-2.24-ruby-2.6:
image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.24
<<: *test_definition
-test:go1.13-git-2.21-ruby-2.6:
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.21
+test:go1.14-git-2.22-ruby-2.6:
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.14-git-2.26
<<: *test_definition
-test:go1.13-git-2.22-ruby-2.6:
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.22
+test:go1.13-git-2.26-ruby-2.6:
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.26
<<: *test_definition
test:go1.13-git-2.24-ruby-2.6:
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.22
+ <<: *test_definition
+
+test:go1.13-git-2.22-ruby-2.6:
image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.24
<<: *test_definition
diff --git a/Dockerfile b/Dockerfile
index 8396ea028..37a57e430 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,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.6-golang-1.13-git-2.24
+FROM registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.26
RUN mkdir -p /app/ruby
diff --git a/README.md b/README.md
index aea4e2d3b..aec604d7d 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@ Gitaly requires Go 1.13.9 or newer and Ruby 2.6. Run `make` to download
and compile Ruby dependencies, and to compile the Gitaly Go
executable.
-Gitaly uses `git`. Versions `2.22.0` and `2.24.0` are supported.
+Gitaly uses `git`. Versions `2.24.x` and `2.26.x` are supported.
## Configuration
diff --git a/_support/instrumented-cluster/docker-compose.yml b/_support/instrumented-cluster/docker-compose.yml
index bcd491740..bde60b474 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.6-golang-1.13-git-2.24
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.26
volumes:
- gitalydata1:/repositories
- ./gitaly1repos/setup.sh:/setup.sh
diff --git a/changelogs/unreleased/cc-git-2-26-0.yml b/changelogs/unreleased/cc-git-2-26-0.yml
new file mode 100644
index 000000000..9f0e5cb9e
--- /dev/null
+++ b/changelogs/unreleased/cc-git-2-26-0.yml
@@ -0,0 +1,5 @@
+---
+title: Upgrade to Git 2.26
+merge_request: 1983
+author:
+type: deprecated
diff --git a/internal/service/operations/rebase_test.go b/internal/service/operations/rebase_test.go
index 228284530..197e3cef7 100644
--- a/internal/service/operations/rebase_test.go
+++ b/internal/service/operations/rebase_test.go
@@ -387,7 +387,7 @@ func TestFailedUserRebaseConfirmableDueToGitError(t *testing.T) {
firstResponse, err := rebaseStream.Recv()
require.NoError(t, err, "receive first response")
- require.Contains(t, firstResponse.GitError, "error: Failed to merge in the changes.")
+ require.Contains(t, firstResponse.GitError, "CONFLICT (content): Merge conflict in README.md")
err = testhelper.ReceiveEOFWithTimeout(func() error {
_, err = rebaseStream.Recv()