Page MenuHomePhabricator

Provide a PHP 8.2 image for Kubernetes toolforge-jobs and webservice
Closed, ResolvedPublic

Description

In order to run my requested-moves bot on the Toolforge Kubernetes cluster, the RMCD bot needs to have PHP 8.0 added to the Kubernetes toolforge-jobs Docker image. The current version of my bot uses the new function str_starts_with which was added in PHP 8.0 (I run it on my desktop PC but would also like to run on the toolforge for backup. That would be handy security for making sure my bot still runs if my PC crashes or freezes up while I'm away from home.)

Besides, 7.4 the most recent version you support is END OF LIFE dammit!

I should have to ASK for this, keeping up-to-date with the PHP supported versions life cycle should be automatic.

Details

ReferenceSource BranchDest BranchAuthorTitle
repos/cloud/toolforge/toolforge-deploy!66arturo-image-config-bump-versimainaborreroimage-config: bump version
repos/cloud/toolforge/image-config!8taavi/php82maintaaviAdd php8.2 image
Customize query in GitLab

Event Timeline

taavi changed the task status from Open to Stalled.Apr 26 2023, 2:22 PM
taavi moved this task from Unsorted to Kubernetes on the Toolforge (Software install/update) board.
taavi subscribed.

First of all, no need to be rude about it. And second, we generally follow versions supported by Debian in their stable releases. We're is currently fairly late in the Debian release cycle which explains the old-ish version. Right now it looks like the next stable Debian will be out early June after which we will be providing updated images based on it (including PHP 8.2).

bd808 renamed this task from Install PHP 8.0 for Kubernetes toolforge-jobs to Provide a PHP 8.2 image for Kubernetes toolforge-jobs and webservice.May 15 2023, 10:36 PM
bd808 added subscribers: Base, valerio.bozzolan, Michael and 3 others.
MacFan4000 changed the task status from Stalled to Open.Jun 10 2023, 11:57 PM
MacFan4000 changed the status of subtask T335507: Build Bookworm based Toolforge Kubernetes images from Stalled to Open.

Change 938292 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/docker-images/toollabs-images@master] Add php82 images

https://gerrit.wikimedia.org/r/938292

Change 938292 merged by jenkins-bot:

[operations/docker-images/toollabs-images@master] Add php82 images

https://gerrit.wikimedia.org/r/938292

Mentioned in SAL (#wikimedia-cloud) [2023-07-24T21:45:11Z] <bd808> Rebuilding container images for refactored config and new PHP 8.2 image (T335352)

taavi claimed this task.