-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Bump CI environment, remove Postgres 10 support #7323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mtrezza
commented
Apr 7, 2021
•
edited
Loading
edited
- Bump Node
- Bump MongoDB
- Remove Postgres 10 support
- Remove COVERAGE_OPTION
Codecov Report
@@ Coverage Diff @@
## master #7323 +/- ##
==========================================
- Coverage 93.90% 93.89% -0.01%
==========================================
Files 181 181
Lines 13194 13194
==========================================
- Hits 12390 12389 -1
- Misses 804 805 +1
Continue to review full report at Codecov.
|
@cbaker6 There seems to be a discrepancy between the CI environment and the Postgres support table: For example, from the table I'd assume that we test against Postgres 10, PostGIS 3.0, but that is not the case. Should the table be corrected or am I missing something? And do you know what is the reason for the current selection of Postgres / PostGIS combinations, it seems rather arbitrary? Maybe we can reduce the number of Postgres tests? |
Currently failing for MongoDB 4.4.5 due to issue with mongodb-runner, see mongodb-js/runner#185; this should self-resolve in a few hours / days. |
if a 3.0 test passes on 1 and 3.1 test passes on all, it’s highly unlikely that 3.0 doesn’t pass on the others. For parse none of the methods (which are only a few) we use in postgis changed between 3.0 and 3.1, so technically if one works the other should work. If you don’t want 3.0 to be there because it not tested on the others, then it’s okay to remove. The developer can test it.
What combinations are arbitrary? Those were the latest of each version when they were added to the CI and includes their patches automatically. An additional test of Postgis 3.0 is run on 12 because 3.1 came out around the time of 13, so people are more than likely to use 3.1 with Postgres 13.
I’m assuming you mean remove the 3.0 tests? I don’t see any others that should be up for consideration. When the Postgres PR was created, there were multiple configs of Mongo being tested so I made sure to add the common configs for Postgres. If 3.0 gets removed, it’s not necessarily a big deal. Removing any others I’m against, and I’m for testing against Postgres fairly since I hopped in the discussion #6374 when dropping support for Postgres was being considered. Particularly when other BaaS’s are touting they are unique because they work with Postgres. I think it is less known that Parse has worked seamlessly with Mongo and Postgres for years and the others touting Postgres support are pretty far behind Parse. Do I think we need to test 10-13? Not really, but we had that convo on the original thread. |
@cbaker6 Thanks for explaining. Looking at PostGIS releases:
Looking at Postgres releases:
For comparison:
The conclusion is that Postgres has a longer LTS duration, that seems to be a legacy of the waterfall paradigm, it has kept the 5 year duration since 1998. Of course a DB system is not as easy to migrate as Node and I would normally say that Parse Server should respect the LTS dates of its key components. But we could consider an exception for Postgres. Supporting a 5 year old system may be somewhat unusual today. @cbaker6, @dplewis What would you say if we remove official Postgres 10 support and cut the official Postgres support dates to 3.5 years which is the same LTS duration as MongoDB? |
Removing 10 is fine IMO. When we were last using travis, it was only tested against 11. I think 10 was being tested over 1.5 years ago in the CI. If I remember correctly, @dplewis did the original postgres bump from 10 to 11 |
This PR temporarily disables the CI Check for MongoDB 4.4.5 because the version is not available for download via mongodb-runner yet. |
@dplewis @davimacedo If there is no objection, I will merge this later today, dropping Postgres 10 support. Dropped Postgres 10 support (>3.5 years old)
Intention is to keep PostGIS 3.0 test always on the oldest PostgreSQL version, so we have a system. We do the same with MongoDB where we test standalone (and MMAPv1) on the oldest MongoDB version. |
* fix: upgrade mongodb from 3.6.3 to 3.6.5 Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5. See this package in npm: https://www.npmjs.com/package/mongodb See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr * bump mongo 3.6.6 * update package-lock * updated package-lock * fix: upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1 (#7309) Snyk has created this PR to upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1. See this package in npm: https://www.npmjs.com/package/winston-daily-rotate-file See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr * Bump CI environment, remove Postgres 10 support (#7323) * bumped MongoDB to 4.4.5 * bump Node to 14.16.1 * removed obsolete COVERAGE_OPTION * improved postges support note * bump more node * Remove MongoDB 3.6 support (EOL) (#7315) * removed mongodb 3.6 support * add changelog entry * updated CI check * bumped MongoDB to 4.4.5 * bump Node to 14.16.1 * removed obsolete COVERAGE_OPTION * improved postges support note * bump more node * updated package lock * Revert "bumped MongoDB to 4.4.5" This reverts commit ce9c810. * skipping MongoDB 4.4.5 temporarily * fixed bug in CI check that did not consider ignored versions when checking for newer versions * removed Postgres 10 support * updated Postgres versions * renamed MongoDB CI tests * fixed Postgres compatibility table * fix Postgres badge * Add deprecation policy (#7199) * added phased deprecation policy * fixed typo * added changelog entry * some rewording * Fixed typo * fixed typo * Fixed typo * updated deprecation policy * remove empty line * fix: upgrade mongodb from 3.6.3 to 3.6.5 Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5. See this package in npm: https://www.npmjs.com/package/mongodb See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr * bump mongo 3.6.6 * Update package-lock.json Co-authored-by: Manuel Trezza <[email protected]>
* bumped MongoDB to 4.4.5 * bump Node to 14.16.1 * removed obsolete COVERAGE_OPTION * improved postges support note * bump more node * Remove MongoDB 3.6 support (EOL) (parse-community#7315) * removed mongodb 3.6 support * add changelog entry * updated CI check * bumped MongoDB to 4.4.5 * bump Node to 14.16.1 * removed obsolete COVERAGE_OPTION * improved postges support note * bump more node * updated package lock * Revert "bumped MongoDB to 4.4.5" This reverts commit ce9c810. * skipping MongoDB 4.4.5 temporarily * fixed bug in CI check that did not consider ignored versions when checking for newer versions * removed Postgres 10 support * updated Postgres versions * renamed MongoDB CI tests * fixed Postgres compatibility table * fix Postgres badge
* fix: upgrade mongodb from 3.6.3 to 3.6.5 Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5. See this package in npm: https://www.npmjs.com/package/mongodb See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr * bump mongo 3.6.6 * update package-lock * updated package-lock * fix: upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1 (parse-community#7309) Snyk has created this PR to upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1. See this package in npm: https://www.npmjs.com/package/winston-daily-rotate-file See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr * Bump CI environment, remove Postgres 10 support (parse-community#7323) * bumped MongoDB to 4.4.5 * bump Node to 14.16.1 * removed obsolete COVERAGE_OPTION * improved postges support note * bump more node * Remove MongoDB 3.6 support (EOL) (parse-community#7315) * removed mongodb 3.6 support * add changelog entry * updated CI check * bumped MongoDB to 4.4.5 * bump Node to 14.16.1 * removed obsolete COVERAGE_OPTION * improved postges support note * bump more node * updated package lock * Revert "bumped MongoDB to 4.4.5" This reverts commit ce9c810. * skipping MongoDB 4.4.5 temporarily * fixed bug in CI check that did not consider ignored versions when checking for newer versions * removed Postgres 10 support * updated Postgres versions * renamed MongoDB CI tests * fixed Postgres compatibility table * fix Postgres badge * Add deprecation policy (parse-community#7199) * added phased deprecation policy * fixed typo * added changelog entry * some rewording * Fixed typo * fixed typo * Fixed typo * updated deprecation policy * remove empty line * fix: upgrade mongodb from 3.6.3 to 3.6.5 Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5. See this package in npm: https://www.npmjs.com/package/mongodb See this project in Snyk: https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr * bump mongo 3.6.6 * Update package-lock.json Co-authored-by: Manuel Trezza <[email protected]>
🎉 This change has been released in version 5.0.0-beta.1 |
🎉 This change has been released in version 5.0.0 |