File tree 7 files changed +19
-14
lines changed
7 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 12
12
13
13
[ mongodb-labs/drivers-evergreen-tools] ( https://github.com/mongodb-labs/drivers-evergreen-tools )
14
14
consists of common scripts used by many drivers (e.g. starting
15
- [ mongo-orchestration] ( https://github.com/10gen/mongo-orchestration ) ). The PHP
16
- driver clones this during the build process .
15
+ [ mongo-orchestration] ( https://github.com/10gen/mongo-orchestration ) ). This package is installed as a Git submodule
16
+ in the ` tests ` repository .
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ functions:
22
22
CURRENT_VERSION=latest
23
23
fi
24
24
25
- export DRIVERS_TOOLS="$(pwd)/.. /drivers-tools"
25
+ export DRIVERS_TOOLS="$(pwd)/tests /drivers-evergreen -tools"
26
26
export PROJECT_DIRECTORY="$(pwd)"
27
27
28
28
# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
@@ -72,15 +72,10 @@ functions:
72
72
" prepare resources " :
73
73
- command : shell.exec
74
74
params :
75
+ working_dir : src
75
76
script : |
76
77
${PREPARE_SHELL}
77
- rm -rf $DRIVERS_TOOLS
78
- if [ "${project}" = "drivers-tools" ]; then
79
- # If this was a patch build, doing a fresh clone would not actually test the patch
80
- cp -R ${PROJECT_DIRECTORY}/ $DRIVERS_TOOLS
81
- else
82
- git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS
83
- fi
78
+ git submodule update --init
84
79
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
85
80
86
81
Original file line number Diff line number Diff line change 4
4
directory : " /"
5
5
schedule :
6
6
interval : " weekly"
7
+ - package-ecosystem : " gitsubmodule"
8
+ directory : " /tests/"
9
+ schedule :
10
+ interval : " weekly"
Original file line number Diff line number Diff line change 57
57
with :
58
58
python-version : ' 3.13'
59
59
60
- - id : setup-mongodb
61
- uses : mongodb-labs/drivers-evergreen-tools@master
60
+ - name : Setup MongoDB
61
+ id : setup-mongodb
62
+ uses : ./tests/drivers-evergreen-tools
62
63
with :
63
64
version : ${{ matrix.mongodb-version }}
64
65
topology : ${{ matrix.topology }}
Original file line number Diff line number Diff line change 64
64
with :
65
65
submodules : true
66
66
67
- - id : setup-mongodb
68
- uses : mongodb-labs/drivers-evergreen-tools@master
67
+ - name : Setup MongoDB
68
+ id : setup-mongodb
69
+ uses : ./tests/drivers-evergreen-tools
69
70
with :
70
71
version : " 7.0"
71
72
topology : " server"
Original file line number Diff line number Diff line change 6
6
path = src/libmongocrypt
7
7
url = https://github.com/mongodb/libmongocrypt.git
8
8
ignore = untracked
9
+ [submodule "tests/drivers-evergreen-tools "]
10
+ path = tests/drivers-evergreen-tools
11
+ url = https://github.com/mongodb-labs/drivers-evergreen-tools.git
You can’t perform that action at this time.
0 commit comments