Repository navigation
feat(endoflifedate.py): add offline data for MongoDB - #505
Open
NavidSassan wants to merge 1 commit into
Open
NavidSassan wants to merge 1 commit into
NavidSassan wants to merge 1 commit into
Conversation
mongodb-version in the monitoring plugins checks against https://endoflife.date/api/mongodb.json. Without a bundled copy, check_eol() has no fallback when endoflife.date is unreachable and the cache is empty, so the plugin cannot judge the end of life at all, unlike every other *-version check. Add the product to tools/update-endoflifedate and regenerate endoflifedate.py with it; the other products are refreshed along the way, as the scheduled refresh would do.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mongodb-version in the monitoring plugins (Linuxfabrik/monitoring-plugins, branch feat/mongodb-version) checks against https://endoflife.date/api/mongodb.json. Without a bundled copy, check_eol() has no fallback when endoflife.date is unreachable and the cache is empty, so the plugin cannot judge the end of life at all, unlike every other *-version check.
This adds the product to tools/update-endoflifedate and regenerates endoflifedate.py with it (33 MongoDB cycles). The other products are refreshed along the way, as the scheduled refresh would do; that part of the diff is data only.
Checks: the pre-commit hooks passed. mongodb-version with endoflife.date unreachable and an empty cache reports
MongoDB v7.0.48 (EOL 2027-08-31 -30d, major 9.0.8 available, endoflife.date unreachable, using bundled data). The lib unit tests did not run.