Bump MySQL default to 8.0 and PostgreSQL to 13. And PHP defaults to 8.0 #245
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.
NOT TO BE MERGED YET!
They are the lowest versions supported for 4.2 and up.
Note that, at the time of writing this that's just a proposal, but that
way we can test if they work for all supported branches in advance.
So, here, we make MySQL 8.0 the default and create specific versions
for 5.6 and 5.7 in case anybody wants to use them.
Also, update GHA workflow to cover the new 401_STABLE branch and
update the master runs to use exclusively php80 (php81 will be added
once the branch is ready).
Finally, and not less important, change the default PHP version from 7.4 to 8.0. All
current supported versions support 8.0 (but 39_STABLE) and this can
be easily changed with
MOODLE_DOCKER_PHP_VERSION
.Note this is on hold until MDL-74905 - Moodle 4.2 requirements is agreed.