Skip to content

Commit 2dfaa26

Browse files
committed
TUNE-99 Add environment variable to choose version link in drivers-evergreen-tools
1 parent 1513f49 commit 2dfaa26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.evergreen/mongodl.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,10 @@ def refresh_full_json(self) -> None:
625625
"""
626626
Sync the content of the MongoDB full.json downloads list.
627627
"""
628+
default_source = "https://downloads.mongodb.org/full.json"
629+
download_source = os.environ.get("MONGODB_DOWNLOAD_SOURCE", default_source)
628630
with self._db.transaction():
629-
dl = self.download_file("https://downloads.mongodb.org/full.json")
631+
dl = self.download_file(download_source)
630632
if not dl.is_changed:
631633
# We still have a good cache
632634
return

0 commit comments

Comments
 (0)