Skip to content

Commit ad43095

Browse files
strogiyotecAlmas Abdrazak
andauthored
improve git clone for mongo tools repository (#1866)
Pipeline doesn't clone the whole git history of driver tools --------- Co-authored-by: Almas Abdrazak <abdrazak.almas@mongodb.com>
1 parent e2f5c40 commit ad43095

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.evergreen/.evg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ functions:
112112
# If this was a patch build, doing a fresh clone would not actually test the patch
113113
cp -R ${PROJECT_DIRECTORY}/ $DRIVERS_TOOLS
114114
else
115-
git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS
115+
git clone --depth 1 https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS
116116
fi
117117
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
118118

0 commit comments

Comments
 (0)