Page MenuHomePhabricator

Upgrade Toolforge apt repository (tools-services hosts) to Debian Bullseye or later
Closed, ResolvedPublic

Event Timeline

So I'm wondering whether we should take the opportunity to migrate the repository to Reprepro. The big advantage of doing that is that we could re-use the wmf-debci automation for automating uploads for our packages.

+1 to migrate to the main reprepro installation.

taavi removed taavi as the assignee of this task.Jun 12 2024, 11:35 AM

I think that would be a big change and we don't have much leeway before having to upgrade.

I would be curious also about the process, as a first look seems to make it way more complicated and way less flexible (ex. there would be no easy way to test ad-hoc changes). Might be more interesting to try to go the "single binary installation" way we have been discussing for ages, and provide just that instead of packages + repository.

dcaro triaged this task as High priority.Jul 4 2024, 4:07 PM
dcaro edited projects, added Toolforge (Toolforge iteration 12); removed Toolforge.
dcaro changed the task status from Open to In Progress.Jul 22 2024, 4:03 PM
dcaro claimed this task.
dcaro moved this task from Next Up to In Progress on the Toolforge (Toolforge iteration 13) board.

Change #1055976 had a related patch set uploaded (by David Caro; author: David Caro):

[operations/puppet@production] toolforge: add pinning versions for bookworm

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

VM up and running, and apt pulling correctly:

dcaro@tools-bastion-12:~$ sudo apt update
Hit:1 http://mirrors.wikimedia.org/debian bookworm-backports InRelease
Hit:2 http://mirrors.wikimedia.org/debian bookworm InRelease                                                     
Hit:3 http://mirrors.wikimedia.org/debian bookworm-updates InRelease                                             
Hit:4 http://mirrors.wikimedia.org/osbpo bookworm-bobcat-backports-nochange InRelease                            
Hit:5 http://mirrors.wikimedia.org/osbpo bookworm-bobcat-backports InRelease                                     
Hit:6 http://apt.wikimedia.org/wikimedia bookworm-wikimedia InRelease                                            
Ign:7 http://tools-services-06.tools.eqiad1.wikimedia.cloud/repo bookworm-tools InRelease                        
Hit:8 http://tools-services-06.tools.eqiad1.wikimedia.cloud/repo bookworm-tools Release                          
Ign:9 http://tools-services-06.tools.eqiad1.wikimedia.cloud/repo bookworm-tools Release.gpg
Hit:10 http://deb.debian.org/debian-debug bookworm-debug InRelease
Hit:11 http://security.debian.org/debian-security bookworm-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

Change #1055976 merged by David Caro:

[operations/puppet@production] toolforge: remove pinning from the services node

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

dcaro moved this task from In Progress to Done on the Toolforge (Toolforge iteration 13) board.

I had to restore the packages from the snapshot for some reason, now all of them are there on the right versions. Tested by uninstalling/installing a few of them.