Use autopkgtests infra for a personal PPA?
Simon Chopin
simon.chopin at canonical.com
Wed Jul 17 09:07:33 UTC 2024
Hi,
On mer. 17 juil. 2024 10:54:23, Florent 'Skia' Jacquet wrote:
> 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
(disclaimer: the claims below could be wrong, I'm basing this on vague
memories of my time before being a Core Dev)
IIRC, things are not that simple: you're subject to the same ACLs as if
you were running autopkgtests in the archive. In particular, you can
have upload rights to the PPA but not in the archive, in which case
your request would be rejected.
I think there's also a problem if the package doesn't exist in the
archive or doesn't have autopkgtests there?
> 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
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
More information about the Ubuntu-devel-discuss
mailing list