Commit 6a7e4af 1 parent f74c42f commit 6a7e4af Copy full SHA for 6a7e4af
File tree 4 files changed +7
-9
lines changed
4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ functions:
16
16
CURRENT_VERSION=latest
17
17
fi
18
18
19
- export DRIVERS_TOOLS="$(pwd)/.. /drivers-tools"
19
+ export DRIVERS_TOOLS="$(pwd)/tests /drivers-tools"
20
20
export PROJECT_DIRECTORY="$(pwd)"
21
21
22
22
# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
@@ -113,13 +113,7 @@ functions:
113
113
params :
114
114
script : |
115
115
${PREPARE_SHELL}
116
- rm -rf $DRIVERS_TOOLS
117
- if [ "${project}" = "drivers-tools" ]; then
118
- # If this was a patch build, doing a fresh clone would not actually test the patch
119
- cp -R ${PROJECT_DIRECTORY}/ $DRIVERS_TOOLS
120
- else
121
- git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git --depth 1 $DRIVERS_TOOLS
122
- fi
116
+ git submodule update --init
123
117
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
124
118
125
119
" upload test results " :
Original file line number Diff line number Diff line change 67
67
python-version : ' 3.13'
68
68
69
69
- id : setup-mongodb
70
- uses : mongodb-labs/ drivers-evergreen- tools@master
70
+ uses : ./tests/ drivers-tools
71
71
with :
72
72
version : ${{ matrix.mongodb-version }}
73
73
topology : ${{ matrix.topology }}
Original file line number Diff line number Diff line change
1
+ [submodule "drivers-tools "]
2
+ path = tests/drivers-tools
3
+ url = https://github.com/mongodb-labs/drivers-evergreen-tools
1
4
[submodule "specifications "]
2
5
path = tests/specifications
3
6
url = https://github.com/mongodb/specifications
You can’t perform that action at this time.
0 commit comments