Problem/Motivation

In order to anticipate fixes to deprecations occurring in PHP 8.5, it would be nice to have a PHP 8.5 image built from the nightly before alpha, and then from the latest alpha/beta/rc releases.

Such an image would then be used in core testing to have unit tests run on it (with allow failures on) now that core unit tests can have their own jobs since #3484966: Allow executing unit tests on multiple PHP images without having to duplicate unit tests across all environment combinations.

roadmap is https://wiki.php.net/todo/php85

Remaining tasks

User interface changes

API changes

Data model changes

Command icon 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

mondrake created an issue. See original summary.

andypost’s picture

it needs extra script to run it using Gitlab's scheduler

catch’s picture

andypost’s picture

Yes, that's the plan, just need to script updates of image for example weekly

catch’s picture

Ahh I misunderstood what scheduling was being referred to, all sounds good.

  • andypost committed 1cff6f81 on dev
    Issue #3512443 by andypost: Add a PHP 8.5 image for early testing
    
    -...
andypost’s picture

Status: Active » Needs review

@mondrake the drupalci/php-8.5-ubuntu-apache:dev image is pushed, please give a try to it so I can merge to production and setup rebuild

andypost’s picture

mondrake’s picture

Filed #3512558: [CI] Run Unit tests on PHP 8.5 nightly.

Is the new image already available to MRs?

mondrake’s picture

#3512558: [CI] Run Unit tests on PHP 8.5 nightly has a MR that would run the unit tests on PHP 8.5, but (obviously) the image is not yet available in production. I honestly do not know what could I try?

andypost’s picture

I think it's fine to rebuild at 00 12 * * 5 Etc/UTC

andypost’s picture

PHPStan passed but it does not use even 8.4 syntax

PHP runtime version: 8.5
PHP version for analysis: 8.3 (from config.platform.php in composer.json)
PHPStan version: 2.0.4
andypost’s picture

  • andypost committed 52f3741e on production
    Issue #3512443 by andypost: Add a PHP 8.5 image for early testing
    
    -...
andypost’s picture

merged to production branch to make sure scheduling will be triggered on Friday (when current security releases of PHP will be rolled out)

andypost’s picture

Triggered build for production so image can be used without ci-yml hacks https://git.drupalcode.org/project/drupalci_environments/-/jobs/4644983

andypost’s picture

Status: Needs review » Reviewed & tested by the community
andypost’s picture

Issue summary: View changes
andypost’s picture

Issue tags: +PHP 8.5
andypost’s picture

andypost’s picture

Status: Reviewed & tested by the community » Fixed

as core running fine

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.