We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6411cbb commit 30d46faCopy full SHA for 30d46fa
.evergreen/mongodl.py
@@ -651,8 +651,10 @@ def refresh_full_json(self) -> None:
651
"""
652
Sync the content of the MongoDB full.json downloads list.
653
654
+ default_source = "https://downloads.mongodb.org/full.json"
655
+ download_source = os.environ.get("MONGODB_DOWNLOAD_SOURCE", default_source)
656
with self._db.transaction():
- dl = self.download_file("https://downloads.mongodb.org/full.json")
657
+ dl = self.download_file(download_source)
658
if not dl.is_changed:
659
# We still have a good cache
660
return
0 commit comments