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
Issue fork drupalci_environments-3512443
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:
- 3512443-php-8.5-nightly
changes, plain diff MR !52
Comments
Comment #2
andypostit needs extra script to run it using Gitlab's scheduler
Comment #3
catchNow that #3484966: Allow executing unit tests on multiple PHP images without having to duplicate unit tests across all environment combinations is in I think we could just run it every time with allow_failure: true maybe?
Comment #4
andypostYes, that's the plan, just need to script updates of image for example weekly
Comment #5
catchAhh I misunderstood what scheduling was being referred to, all sounds good.
Comment #8
andypost@mondrake the
drupalci/php-8.5-ubuntu-apache:devimage is pushed, please give a try to it so I can merge to production and setup rebuildComment #9
andyposttesting scheduled build https://git.drupalcode.org/project/drupalci_environments/-/jobs/4644211
Comment #10
mondrakeFiled #3512558: [CI] Run Unit tests on PHP 8.5 nightly.
Is the new image already available to MRs?
Comment #11
mondrake#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?
Comment #12
andypostI think it's fine to rebuild at
00 12 * * 5 Etc/UTCComment #13
andypostPHPStan passed but it does not use even 8.4 syntax
Comment #14
andypostComment #16
andypostmerged to production branch to make sure scheduling will be triggered on Friday (when current security releases of PHP will be rolled out)
Comment #17
andypostTriggered build for production so image can be used without ci-yml hacks https://git.drupalcode.org/project/drupalci_environments/-/jobs/4644983
Comment #19
andypostAs I see rebuild went fine https://git.drupalcode.org/project/drupalci_environments/-/pipelines/448339
Comment #20
andypostComment #21
andypostComment #22
andypostComment #23
andypostas core running fine