autopkgtest: allow testing against private PPAs with private results
Bug #1550280 reported by
Andy Whitcroft
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
New
|
Undecided
|
Unassigned | ||
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
We really would like to be able to pre-test -security updates before we copy them out to the real world.
As these sources necessarily are secret (often embargoed) it would be necessary to be able to submit them such that the nature of what is tested is not shown and the results would need to be separate and protected also. Much as we do for private builds now.
To post a comment you must log in.
This requires some changes to several components:
- Credentials for the PPA need to be passed as part of the AMQP request, perhaps extending the syntax to "lpuser/ ppaname/ password" . The worker would then generate setup commands to add an apt source with the necessary lpuser@password in the apt archive .
- Requests containing a password must be disguised on running.shtml; i. e. it is ok to know that there is a test running for a private package, but not expose the test name or parameters. (Similar to what buildds do)
- Note that this will expose the PPA credentials to operators of the infrastructure, i. e. people with ssh access to the infrastructure (me, Iain Lane, Adam Conrad, Steve Langasek, Stephane Graber)
- The swift container for the destination PPA must not be public
It is still unclear how to expose the swift results to the right people, as the Launchpad teams are not available/exposed on Openstack credentials. Thus for each PPA we must file an RT to create an Openstack user, hand out that secret to the corresponding team, and change it whenever the team changes.