mongodb-labs / drivers-evergreen-tools

Scripts for MongoDB drivers to bootstrap their Evergreen configuration file - This Repository is NOT a supported MongoDB product
10 stars 64 forks source link

DRIVERS-3001 Add script to update mongodb-download.sh #519

Closed blink1073 closed 2 weeks ago

blink1073 commented 2 weeks ago

For now it only validates, but we can later update it to overwrite the versions and links that are incorrect.

Example output:


Fetching version data...
Fetching version data... done.
-------------------------
VERSION_80 (8.0.1-rc0)
-------------------------
amazon2023-aarch64
amazon2023-x86_64
debian12-x86_64
macos-arm64
macos-x86_64
rhel8-x86_64
rhel8-aarch64
rhel81-ppc64le
rhel83-s390x
rhel93-x86_64
rhel93-aarch64
suse15-x86_64
ubuntu2004-aarch64
ubuntu2004-x86_64
ubuntu2204-x86_64
ubuntu2204-aarch64
ubuntu2404-x86_64
ubuntu2404-aarch64
windows-x86_64
-------------------------
VERSION_RAPID (7.3.4)
-------------------------
amazon2023-aarch64
amazon2023-x86_64
debian11-x86_64
debian12-x86_64
macos-arm64
macos-x86_64
rhel70-x86_64
rhel8-x86_64
rhel8-aarch64
rhel90-x86_64
rhel90-aarch64
suse12-x86_64
suse15-x86_64
ubuntu2004-aarch64
ubuntu2004-x86_64
ubuntu2204-x86_64
ubuntu2204-aarch64
windows-x86_64
-------------------------
VERSION_70 (7.0.14)
-------------------------
amazon2023-aarch64
amazon2023-x86_64
debian11-x86_64
debian12-x86_64
macos-arm64
macos-x86_64
rhel70-x86_64
rhel8-x86_64
rhel8-aarch64
rhel81-ppc64le
rhel83-s390x
rhel90-x86_64
rhel90-aarch64
suse12-x86_64
suse15-x86_64
ubuntu2004-aarch64
ubuntu2004-x86_64
ubuntu2204-x86_64
ubuntu2204-aarch64
windows-x86_64
-------------------------
VERSION_60 (6.0.18)
-------------------------
debian10-x86_64
debian11-x86_64
macos-arm64
macos-x86_64
rhel70-x86_64
rhel71-ppc64le
rhel72-s390x
rhel8-x86_64
rhel8-aarch64
rhel81-ppc64le
rhel83-s390x
rhel90-x86_64
rhel90-aarch64
suse12-x86_64
suse15-x86_64
ubuntu1804-x86_64
ubuntu1804-aarch64
ubuntu2004-aarch64
ubuntu2004-x86_64
ubuntu2204-x86_64
ubuntu2204-aarch64
windows-x86_64
-------------------------
VERSION_50 (5.0.29)
-------------------------
amzn64-x86_64
debian10-x86_64
debian11-x86_64
debian92-x86_64
macos-x86_64
rhel70-x86_64
rhel71-ppc64le
rhel72-s390x
rhel8-x86_64
rhel8-aarch64
rhel81-ppc64le
rhel83-s390x
suse12-x86_64
suse15-x86_64
ubuntu1804-x86_64
ubuntu1804-aarch64
ubuntu2004-aarch64
ubuntu2004-x86_64
windows-x86_64
-------------------------
VERSION_40 (4.0.28)
-------------------------
amzn64-x86_64
debian81-x86_64
debian92-x86_64
osx-x86_64
rhel62-x86_64
rhel70-x86_64
rhel80-x86_64
suse12-x86_64
ubuntu1604-x86_64
ubuntu1604-arm64
ubuntu1804-x86_64
windows-x86_64
-------------------------
VERSION_36 (3.6.23)
-------------------------
amzn64-x86_64
debian81-x86_64
debian92-x86_64
osx-x86_64
rhel62-x86_64
rhel70-x86_64
rhel71-ppc64le
rhel80-x86_64
suse12-x86_64
ubuntu1604-x86_64
ubuntu1604-arm64
ubuntu1804-x86_64
windows-x86_64
------------------------------
Missing or incorrect links:
------------------------------
http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-suse15${DEBUG}-${VERSION_60}.tgz
http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel8${DEBUG}-${VERSION_60}.tgz
http://downloads.10gen.com/linux/mongodb-linux-aarch64-enterprise-rhel8${DEBUG}-${VERSION_60}.tgz
http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-suse15${DEBUG}-${VERSION_50}.tgz
http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel8${DEBUG}-${VERSION_50}.tgz
http://downloads.10gen.com/linux/mongodb-linux-aarch64-enterprise-rhel8${DEBUG}-${VERSION_50}.tgz
------------------------------
Missing or out of date versions:
------------------------------
VERSION_80="8.0.1-rc0"
VERSION_RAPID="7.3.4"
VERSION_70="7.0.14"
VERSION_60="6.0.18"
VERSION_50="5.0.29"