Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
232a8f75
Commit
232a8f75
authored
Apr 16, 2019
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj-git-2.21-tests' into 'master'
Test using Git 2.21 See merge request gitlab-org/gitlab-ce!27418
parents
b008942c
98befb5d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
+14
-9
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+2
-2
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+1
-1
changelogs/unreleased/zj-git-2-21-tests.yml
changelogs/unreleased/zj-git-2-21-tests.yml
+5
-0
doc/install/installation.md
doc/install/installation.md
+4
-4
lib/system_check/app/git_version_check.rb
lib/system_check/app/git_version_check.rb
+1
-1
No files found.
.gitlab-ci.yml
View file @
232a8f75
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.
18
-chrome-71.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29"
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.
21
-chrome-71.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29"
variables
:
variables
:
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
1"
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
1"
...
...
.gitlab/ci/frontend.gitlab-ci.yml
View file @
232a8f75
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
gitlab:assets:compile:
gitlab:assets:compile:
<<
:
*assets-compile-cache
<<
:
*assets-compile-cache
extends
:
.dedicated-no-docs-pull-cache-job
extends
:
.dedicated-no-docs-pull-cache-job
image
:
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-git-2.
18
-chrome-71.0-node-8.x-yarn-1.12-graphicsmagick-1.3.29-docker-18.06.1
image
:
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-git-2.
21
-chrome-71.0-node-8.x-yarn-1.12-graphicsmagick-1.3.29-docker-18.06.1
dependencies
:
dependencies
:
-
setup-test-env
-
setup-test-env
services
:
services
:
...
...
.gitlab/ci/rails.gitlab-ci.yml
View file @
232a8f75
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
.rspec-metadata-pg-10
:
&rspec-metadata-pg-10
.rspec-metadata-pg-10
:
&rspec-metadata-pg-10
<<
:
*rspec-metadata
<<
:
*rspec-metadata
<<
:
*use-pg-10
<<
:
*use-pg-10
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.
18
-chrome-71.0-node-10.x-yarn-1.12-postgresql-10-graphicsmagick-1.3.29"
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.11-git-2.
21
-chrome-71.0-node-10.x-yarn-1.12-postgresql-10-graphicsmagick-1.3.29"
.rspec-metadata-mysql
:
&rspec-metadata-mysql
.rspec-metadata-mysql
:
&rspec-metadata-mysql
<<
:
*rspec-metadata
<<
:
*rspec-metadata
...
...
changelogs/unreleased/zj-git-2-21-tests.yml
0 → 100644
View file @
232a8f75
---
title
:
Test using Git
2.21
merge_request
:
27418
author
:
type
:
added
doc/install/installation.md
View file @
232a8f75
...
@@ -95,7 +95,7 @@ Make sure you have the right version of Git installed:
...
@@ -95,7 +95,7 @@ Make sure you have the right version of Git installed:
# Install Git
# Install Git
sudo
apt-get
install
-y
git-core
sudo
apt-get
install
-y
git-core
# Make sure Git is version 2.
18
.0 or higher
# Make sure Git is version 2.
21
.0 or higher
git
--version
git
--version
```
```
...
@@ -110,9 +110,9 @@ sudo apt-get install -y libcurl4-openssl-dev libexpat1-dev gettext libz-dev libs
...
@@ -110,9 +110,9 @@ sudo apt-get install -y libcurl4-openssl-dev libexpat1-dev gettext libz-dev libs
# Download and compile from source
# Download and compile from source
cd
/tmp
cd
/tmp
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.
18
.0.tar.gz
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.
21
.0.tar.gz
echo
'
94faf2c0b02a7920b0b46f4961d8e9cad08e81418614102898a55f980fa3e7e4 git-2.18.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.18
.0.tar.gz
echo
'
85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147bee'
git-2.21.0.tar.gz
' | shasum -a256 -c - && tar -xzf git-2.21
.0.tar.gz
cd
git-2.
18
.0/
cd git-2.
21
.0/
./configure
./configure
make prefix=/usr/local all
make prefix=/usr/local all
...
...
lib/system_check/app/git_version_check.rb
View file @
232a8f75
...
@@ -7,7 +7,7 @@ module SystemCheck
...
@@ -7,7 +7,7 @@ module SystemCheck
set_check_pass
->
{
"yes (
#{
self
.
current_version
}
)"
}
set_check_pass
->
{
"yes (
#{
self
.
current_version
}
)"
}
def
self
.
required_version
def
self
.
required_version
@required_version
||=
Gitlab
::
VersionInfo
.
parse
(
'2.
18
.0'
)
@required_version
||=
Gitlab
::
VersionInfo
.
parse
(
'2.
21
.0'
)
end
end
def
self
.
current_version
def
self
.
current_version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment