mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Upgrade to Git v2.28.0.rc1
Git v2.28.0.rc1 has been released. As the v2.28.0 release series is the first to contain support for the reference-transaction hook which is currently a focus for Gitaly, this commit adds the release candidate version so we can test the hook as part of Gitaly's CI.
This commit is contained in:
parent
3c146e671a
commit
3e75b17a99
3 changed files with 15 additions and 1 deletions
|
|
@ -67,6 +67,8 @@ ruby-2.6-golang-1.14-git-2.25 test: *test_custom
|
|||
ruby-2.6-golang-1.14-git-2.26 test: *test_custom
|
||||
ruby-2.6-golang-1.14-git-2.27 test: *test_custom
|
||||
ruby-2.6-golang-1.14-git-2.27-pgbouncer-1.14 test: *test_custom
|
||||
ruby-2.6-golang-1.14-git-2.28 test: *test_custom
|
||||
ruby-2.6-golang-1.14-git-2.28-pgbouncer-1.14 test: *test_custom
|
||||
|
||||
# Used by GitLab: https://gitlab.com/gitlab-org/gitlab/blob/master/.gitlab-ci.yml
|
||||
ruby-2.6.6-golang-1.14-git-2.27-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 test: *test_custom
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ ENV PATH $PATH:/usr/local/go/bin
|
|||
|
||||
# Git
|
||||
ARG GIT_VERSION
|
||||
ARG GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz
|
||||
ARG GIT_DOWNLOAD_URL
|
||||
ARG GIT_DOWNLOAD_SHA256
|
||||
|
||||
RUN if [ -n "$GIT_VERSION" ]; then /scripts/install-pcre2 && pcre2-config --version; fi
|
||||
|
|
|
|||
|
|
@ -97,11 +97,23 @@ function print_git_args() {
|
|||
GIT_VERSION=2.27.0
|
||||
GIT_DOWNLOAD_SHA256=77ded85cbe42b1ffdc2578b460a1ef5d23bcbc6683eabcafbb0d394dffe2e787
|
||||
;;
|
||||
2.28)
|
||||
GIT_VERSION=2.28.0.rc1
|
||||
GIT_DOWNLOAD_SHA256=f63afef021d710e930f2e4942323b3844fa75d423a7398daf3b1100eb5c8098d
|
||||
;;
|
||||
*) echo "Unknown git version $1"; exit 1;
|
||||
esac
|
||||
|
||||
case "$GIT_VERSION" in
|
||||
*.rc[0-9])
|
||||
GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git/testing/git-${GIT_VERSION}.tar.gz;;
|
||||
*)
|
||||
GIT_DOWNLOAD_URL=https://www.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz;;
|
||||
esac
|
||||
|
||||
printf -- "--build-arg GIT_VERSION=%s " "$GIT_VERSION"
|
||||
printf -- "--build-arg GIT_DOWNLOAD_SHA256=%s " "$GIT_DOWNLOAD_SHA256"
|
||||
printf -- "--build-arg GIT_DOWNLOAD_URL=%s " "$GIT_DOWNLOAD_URL"
|
||||
}
|
||||
|
||||
# see https://github.com/git-lfs/git-lfs/releases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue