Use autopkgtests infra for a personal PPA?

Florent 'Skia' Jacquet florent.jacquet at canonical.com
Wed Jul 17 08:54:23 UTC 2024


Hello there,

Le 17/07/2024 à 10:00, Agathe Porte a écrit :
> Hello folks,
> 
> I am writing autopkgtests for packages that I publish in a personal PPA
> for the moment. However I need to manually run them locally because
> if I understood correctly the Ubuntu autopkgtests infrastructure only
> interacts with the Ubuntu archive, or approved PPAs.
> 
> How can I leverage the autopkgtests infrastructure to run my
> autopkgtests? Should I ask for my PPAs to be added to an authorization
> list, or create a new PPA under the Canonical Kernel Team Launchpad
> namespace, and will be able to use the infra?

Unless your PPA is private, you should have no trouble running tests in 
the infra against it, without us adding it to any special list. There is 
documentation here on how to craft the right URL and get your results: 
https://wiki.ubuntu.com/ProposedMigration#Testing_against_a_PPA

To make that more comfortable, there is the excellent ppa-dev-tools 
package (https://launchpad.net/ppa-dev-tools) that you can use to 
automatically craft the URLs and monitor your tests. The command would 
look roughly like that:

ppa tests ppa:hyask/example-ppa -L


Hope this helps :-)
Skia



More information about the Ubuntu-devel-discuss mailing list