Page MenuHomePhabricator

Prepare PHP 8.1 service images for Shellbox
Closed, ResolvedPublic

Description

Now that we have an initial set of production images available (T372602), we can move forward with preparing 8.1-based image variants for Shellbox.

From a quick cross-check between packages installed by the existing service variants in [0] and what's available in bullseye (which we'll be migrating to as part of this effort), I'm cautiously optimistic.

There are one or two packages (at least among those that use semver) that will require a closer look at what's "breaking" (e.g., fluidsynth), and at least one package where we'll need to prepare a backport build.

Alas, I'm not aware of a way to express "parameterized" variants (e.g., matrix-build like behavior) in blubber, so there's likely to be quite a bit of duplication while we're in a state where both 7.4 and 8.1 are built.

[0] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/libs/Shellbox/+/refs/heads/master/.pipeline/blubber.yaml

Event Timeline

Change #1072282 had a related patch set uploaded (by Scott French; author: Scott French):

[operations/puppet@production] aptrepo: ffmpeg bullseye component

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

We don't strictly need to rebuild ffmpeg for bullseye, though. The current backport we run in production was made to cover the for the no longer supported version in buster, but in Bullseye Debian follows the 4.3.x release series which continues to see security fixes backported by the ffmpeg developers (the last 4.3.8 release only happened last month).

Many thanks for clarifying the status of 4.3.x on bullseye, @MoritzMuehlenhoff - that's great news.

Alright, per T374502#10140086 and additional discussion with Moritz, we should be good to stick with tracking Debian's 4.3.x series, so I'll abandon my changes for rebuilding 5.1.6 on bullseye.

While there is some argument to be made that using the 5.1.6 rebuild would rule out one source of potential inconsistency between the shellbox-video 7.4 and 8.1 images during the migration, it's unlikely that for our use case the difference is significant (particularly if the jump from 4.1.x to 5.1.x was not).

In any case, the sooner we can get back to tracking Debian directly, the better (i.e., from a maintenance burden perspective).

Change #1072282 abandoned by Scott French:

[operations/puppet@production] aptrepo: ffmpeg bullseye component

Reason:

PoR is to track Debian bullseye directly

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

Change #1072634 had a related patch set uploaded (by Scott French; author: Scott French):

[mediawiki/libs/Shellbox@master] Add initial PHP 8.1 image variants

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

Change #1072634 merged by jenkins-bot:

[mediawiki/libs/Shellbox@master] Add initial PHP 8.1 image variants

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

Change #1076808 had a related patch set uploaded (by Scott French; author: Scott French):

[mediawiki/libs/Shellbox@master] Build and publish the syntaxhighlight81 variant

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

Change #1076808 merged by jenkins-bot:

[mediawiki/libs/Shellbox@master] Build and publish the syntaxhighlight81 variant

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

Change #1079562 had a related patch set uploaded (by Scott French; author: Scott French):

[mediawiki/libs/Shellbox@master] Build and publish remaining 8.1 variants

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

Change #1079562 merged by jenkins-bot:

[mediawiki/libs/Shellbox@master] Build and publish remaining 8.1 variants

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

jijiki triaged this task as Medium priority.Oct 15 2024, 10:10 PM

Alright, with https://gerrit.wikimedia.org/r/1079562 merged we now have 8.1 versions of all variants published.