We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1513f49 commit 2dfaa26Copy full SHA for 2dfaa26
.evergreen/mongodl.py
@@ -625,8 +625,10 @@ def refresh_full_json(self) -> None:
625
"""
626
Sync the content of the MongoDB full.json downloads list.
627
628
+ default_source = "https://downloads.mongodb.org/full.json"
629
+ download_source = os.environ.get("MONGODB_DOWNLOAD_SOURCE", default_source)
630
with self._db.transaction():
- dl = self.download_file("https://downloads.mongodb.org/full.json")
631
+ dl = self.download_file(download_source)
632
if not dl.is_changed:
633
# We still have a good cache
634
return
0 commit comments