File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -368,14 +368,20 @@ functions:
368
368
# fetch_c_driver_source may be used to fetch the C driver source without installing the C driver.
369
369
# This can be used when only CI scripts are needed.
370
370
" fetch_c_driver_source " :
371
+ - command : expansions.update
372
+ type : setup
373
+ params :
374
+ updates :
375
+ - key : mongoc_version_minimum
376
+ value : *mongoc_version_minimum
371
377
- command : shell.exec
372
378
params :
373
379
shell : bash
374
380
working_dir : " ."
375
381
script : |
376
382
set -o errexit
377
383
set -o pipefail
378
- git clone --depth 1 https://github.com/mongodb/mongo-c-driver mongoc
384
+ git clone --depth 1 --branch ${mongoc_version_minimum} https://github.com/mongodb/mongo-c-driver mongoc
379
385
380
386
" lint " :
381
387
- command : shell.exec
@@ -1082,6 +1088,12 @@ tasks:
1082
1088
commands :
1083
1089
- func : " setup"
1084
1090
- func : " start_mongod"
1091
+ - command : expansions.update
1092
+ type : setup
1093
+ params :
1094
+ updates :
1095
+ - key : mongoc_version_minimum
1096
+ value : *mongoc_version_minimum
1085
1097
- command : shell.exec
1086
1098
type : test
1087
1099
params :
@@ -1090,7 +1102,7 @@ tasks:
1090
1102
script : |-
1091
1103
set -o errexit
1092
1104
cd examples/add_subdirectory
1093
- [ -d mongo-c-driver ] || git clone --depth 1 https://github.com/mongodb/mongo-c-driver
1105
+ [ -d mongo-c-driver ] || git clone --depth 1 --branch ${mongoc_version_minimum} https://github.com/mongodb/mongo-c-driver
1094
1106
rsync -aq --exclude='examples/add_subdirectory' $(readlink -f ../..) .
1095
1107
[ -d build ] || mkdir build
1096
1108
. ./mongo-c-driver/.evergreen/scripts/find-cmake-latest.sh
You can’t perform that action at this time.
0 commit comments