diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-03-04 14:52:14 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-03-07 12:19:10 +0300 |
commit | 0af622b5e786db5786d69ae968bb7cdf921bd9db (patch) | |
tree | b1dca5bd4b71555932091684c749c17b25c4022f | |
parent | 34cc0384561c5f87c3004776f1a1f6c51dc5c056 (diff) |
test minimum required git versionpks-ci-bundled-git
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b401401b..1bc413ba7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -129,13 +129,9 @@ build: - _support/test-boot . ${TEST_BOOT_ARGS} parallel: matrix: - # These definitions are for the non-default Git versions. - #- GO_VERSION: [ "1.16", "1.17" ] - # GIT_VERSION: [ ] - # These definitions are for the default Git version where we want to - # apply our default set of Git patches. - GO_VERSION: [ "1.16", "1.17" ] TEST_BOOT_ARGS: "--bundled-git" + - GIT_VERSION: "v2.33.0" build:binaries: stage: build @@ -170,15 +166,15 @@ test: - setpriv --reuid=9999 --regid=9999 --clear-groups --no-new-privs env HOME=/dev/null make ${TARGET} SKIP_RSPEC_BUILD=YesPlease $(test "${GIT_VERSION}" = default && echo WITH_BUNDLED_GIT=YesPlease) parallel: matrix: - # These definitions are for the non-default Git versions. - #- GO_VERSION: [ "1.16", "1.17" ] - # GIT_VERSION: [ ] - # TARGET: test - # These definitions are for the default Git version where we want to - # apply our default set of Git patches. + # The following jobs all test with our default Git version, which is + # using bundled Git binaries. - GO_VERSION: [ "1.16", "1.17" ] TARGET: test - TARGET: [ test-with-proxies, test-with-praefect, race-go ] + # We also verify that things work as expected with a non-bundled Git + # version matching our minimum required Git version. + - TARGET: test + GIT_VERSION: "v2.33.0" # Execute tests with our minimum required Postgres version, as well. If # the minimum version changes, please change this to the new minimum # version. Furthermore, please make sure to update the minimum required |