mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-27 23:27:11 +01:00
23426d6ab2
GitOrigin-RevId: 603a9fb8e00f358033bdbb541281226577a31676
17 lines
420 B
Bash
Executable File
17 lines
420 B
Bash
Executable File
set -o errexit
|
|
set -o verbose
|
|
|
|
cd src
|
|
|
|
for i in {1..5}; do
|
|
git clone --depth 1 https://x-access-token:${github_token}@github.com/10gen/QA.git jstests/qa_tests && RET=0 && break || RET=$? && sleep 1
|
|
echo "Failed to clone github.com:10gen/QA.git, retrying..."
|
|
done
|
|
|
|
if [ $RET -ne 0 ]; then
|
|
echo "Failed to clone github.com/10gen/QA.git"
|
|
exit $RET
|
|
fi
|
|
|
|
cp -r src/mongo/db/modules/enterprise jstests/enterprise_tests
|