Problem/Motivation
New major release is out https://www.postgresql.org/about/news/postgresql-14-released-2318/
There's official docker images https://hub.docker.com/_/postgres
Proposed resolution
Add PHP8 + pgsql 14.0 container to allow core to work on compatibility issues for D10
I bet we need both versions in CI because
- 14.0 used to add support for openssl 3.0 so 13.x is the last release with 1.x requirement
- another big change is libicu upgrade which affects multilingual sites a lot
Remaining tasks
tbc
User interface changes
tbd
API changes
no
Data model changes
no
Issue fork drupalci_environments-3240346
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andypostComment #3
andypostComment #5
andypostPushed commits for 13.4 and 14.0, configs of new dockerfiles are changed accordingly
Comment #6
andypostComment #7
daffie commented@andypost: Is there any special reason why you selected PostgreSQL 13.4 instead of an earlier 13.x version? Usualy we go for something like 13.0 or 13.1. I am not saying that it is the wrong choose, just curious about why.
If we go for PostgreSQL 13.4, then the MR is RTBC for me.
Comment #8
andypostThe reason is security, every 13.x got some CVE except 13.3 yet https://www.cvedetails.com/vulnerability-list/vendor_id-336/product_id-5...
Comment #9
daffie commentedAs we are not testing the minimum required version, lets go with PostgreSQL v13.4.
The moment that the database versions we use on the testbot become a problem the guys and/or girls from the DA will lets us know.
The MR looks good to me. I have tested that the docker images work. For me it is RTBC.
@andypost: Thank you for the work on this issue.
Comment #10
andypostThere's security releases so I did add upgrade commit to not add insecure versions
https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-a...
Comment #13
andypostI think it fixed now! Thank you a lot
Comment #14
andypost@hestenet I think you can delete issue fork and branch, as I have no permissions
Comment #15
hestenetTrying to figure out why these environments consistently result in CI Error:
9.5:
10.0:
Comment #16
andypostThe issue in CI codebase, looks related to #3108620: Allow test runner to use local images as the patch adds check for the method
$response instanceof CallbackStreamComment #17
hestenetGot #3108620: Allow test runner to use local images committed, but still stumped as to what's happening here.
Comment #18
andypostAs https://www.postgresql.org/about/news/postgresql-15-released-2526/ it needs to explore compatibility
Comment #19
andypostNor sure we need to update existing images, probably better to rename 14.1 to 14.9
Comment #21
andypostUsing version 15.4 as latest and have to update config https://www.percona.com/blog/postgresql-15-stats-collector-gone-whats-new/
Comment #25
andypostDev images pushed and here's testing https://git.drupalcode.org/project/drupal/-/merge_requests/4804
Comment #26
andypostConfig is picked from
- https://github.com/postgres/postgres/blob/REL_15_4/src/backend/utils/mis...
- https://github.com/postgres/postgres/blob/REL_16_0/src/backend/utils/mis...
Comment #29
andypostAdded to 10.2-dev core #3387732: Add postgresql 15/16 to testing matrix
Comment #31
andypostLooks it needs to upgrade this images for new security releases
Comment #32
andypostpushed 15.6/16.2 to dev
https://git.drupalcode.org/project/drupalci_environments/-/commit/81120a...
Comment #33
andypost