Commit e25fafa 1 parent 603d160 commit e25fafa Copy full SHA for e25fafa
File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ functions:
4
4
- command : git.get_project
5
5
params :
6
6
directory : " src"
7
- # Make an evergreen exapanstion file with dynamic values
7
+ # Make an evergreen expansion file with dynamic values
8
8
- command : shell.exec
9
9
params :
10
10
working_dir : " src"
@@ -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-evergreen -tools"
20
20
export PROJECT_DIRECTORY="$(pwd)"
21
21
22
22
# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
@@ -111,15 +111,10 @@ functions:
111
111
" prepare resources " :
112
112
- command : shell.exec
113
113
params :
114
+ working_dir : src
114
115
script : |
115
116
${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
117
+ git submodule update --init
123
118
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
124
119
125
120
" upload test results " :
Original file line number Diff line number Diff line change @@ -66,13 +66,14 @@ jobs:
66
66
with :
67
67
python-version : ' 3.13'
68
68
69
- - id : setup-mongodb
70
- uses : mongodb-labs/drivers-evergreen-tools@master
69
+ - name : " Setup MongoDB"
70
+ id : setup-mongodb
71
+ uses : ./tests/drivers-evergreen-tools
71
72
with :
72
73
version : ${{ matrix.mongodb-version }}
73
74
topology : ${{ matrix.topology }}
74
75
75
- - name : " Setup"
76
+ - name : " Setup PHP "
76
77
uses : " ./.github/actions/setup"
77
78
with :
78
79
php-version : ${{ matrix.php-version }}
Original file line number Diff line number Diff line change
1
+ [submodule "drivers-evergreen-tools "]
2
+ path = tests/drivers-evergreen-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