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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-05-24 11:34:22 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-05-30 11:36:24 +0300
commit2f6f07f70ae1496acaa822b6966505c6989d0b8d (patch)
tree0e266a8bcb126f29ccd0f65effd7b1298adad864
parent8dcc38ae5144aabb08520860b768f9277ffb3a52 (diff)
ci: Start testing with Go 1.19 and 1.20
We're about to bump the minimum required Go version to 1.19, so this commit drops test jobs which exercise Go 1.18 and adds test jobs for the new Go 1.20 release. Note that we're not yet introducing tests with Go 1.20 for our FIPS test jobs given that there is no FIPS-enabled image for Go 1.20 yet.
-rw-r--r--.gitlab-ci.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f2878023..91a8cdd00 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ variables:
CACHE_PREFIX: "debian-${DEBIAN_VERSION}"
# We use Gitaly's Git version by default.
GIT_VERSION: "default"
- GO_VERSION: "1.19"
+ GO_VERSION: "1.20"
RUBY_VERSION: "3.1"
RUST_VERSION: "1.65"
POSTGRES_VERSION: "12-alpine"
@@ -178,7 +178,7 @@ build:
- go run ./tools/test-boot ${TEST_BOOT_ARGS}
parallel:
matrix:
- - GO_VERSION: [ "1.18", "1.19" ]
+ - GO_VERSION: [ "1.19", "1.20" ]
TEST_BOOT_ARGS: "--bundled-git"
- GIT_VERSION: "v2.40.0"
@@ -203,7 +203,7 @@ build:binaries:
expire_in: 6 months
parallel:
matrix:
- - GO_VERSION: [ "1.18", "1.19" ]
+ - GO_VERSION: [ "1.19", "1.20" ]
test:
<<: *test_definition
@@ -211,7 +211,7 @@ test:
matrix:
# The following jobs all test with our default Git version, which is
# using bundled Git binaries.
- - GO_VERSION: [ "1.18", "1.19" ]
+ - GO_VERSION: [ "1.19", "1.20" ]
TEST_TARGET: test
- TEST_TARGET: [ test-with-praefect, race-go, test-wal, test-with-praefect-wal]
# We also verify that things work as expected with a non-bundled Git
@@ -311,7 +311,7 @@ test:fips:
matrix:
- TEST_TARGET: [ test, test-with-praefect ]
FIPS_MODE: "YesPlease"
- GO_VERSION: ["1.18", "1.19"]
+ GO_VERSION: ["1.19"]
rules:
# Automatically run the job when the FIPS label is set.
- if: $CI_MERGE_REQUEST_LABELS =~ /FIPS/