~apw/+git/kteam-tools:swm/manager--fix-unknown-task-reporting

Last commit made on 2021-08-16
Get this branch:
git clone -b swm/manager--fix-unknown-task-reporting https://git.launchpad.net/~apw/+git/kteam-tools
Only Andy Whitcroft can upload to this branch. If you are Andy Whitcroft please log in for upload directions.

Branch merges

Branch information

Name:
swm/manager--fix-unknown-task-reporting
Repository:
lp:~apw/+git/kteam-tools

Recent commits

e48db65... by Andy Whitcroft

swm: manager -- fix unknown workflow task formatting

When we hit an unknown task in a tracker we generate a notification
"reason" so that it gets reported. This is incorrectly formatted
leading to confusing output in the dashboard. Reformat to include the
gross-state and flags field.

Signed-off-by: Andy Whitcroft <email address hidden>

a8a61ff... by Andy Whitcroft

swm: add initial ancillary package support and handle lrs/lrg for lrm

Add support for the `lrs` and `lrg` ancillary packages. These are a
challenge because `lrg` contains non-distributable data in its custom
binary upload. This necessitates `lrg` be built in a private PPA and
`lrs` must be built with it to gain access to its signed content. `lrg`
also only has meaning in `build` and `Signing` and absolutely must not
progress beyond there.

This series introduces the ability for package lists to vary by pocket
and uses this to control where were expect to find `lrg`. It also
introduces the `build-private` route and selects this when for `lrg` and
`lrs`. Finally it introduces handlers for these new packages so we track
them through the build life cycle.

Acked-by: Stefan Bader <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

d14bd5f... by Andy Whitcroft

swm: package -- pocket_route avoid ancillary routes

We use pocket_route to work out which archive in a route we are using.
This is used when emitting testing requests. Those requests only make
sense against the PPAs in which the main kernels are built. Exclude the
ancillary routes in our search.

Signed-off-by: Andy Whitcroft <email address hidden>

55c012b... by Andy Whitcroft

swm: package -- pocket clear handle embargoed packages

When searching later pockets to confirm that the specified pocket does
not contain live kernel packages we need to take account of packages
which are embargoed and therefore do not proceed beyond a cirtain
pocket. If everything other than the embargoed packages have moved
beyond the specified pocket then the embargoed package has performed its
function and can be replaced. Therefore for an embargoed package
consider it present in a pocket for which it is not permitted.

Signed-off-by: Andy Whitcroft <email address hidden>

f0d85b1... by Andy Whitcroft

swm: package,wft/promote_to_proposed -- detect lrs as a signable

We route packages direct to -proposed even if they have a signing route
if they don't have a signable item. We need to consider `signed` and
`lrs` as signables.

Signed-off-by: Andy Whitcroft <email address hidden>

7bbd770... by Andy Whitcroft

ktl/workflow: add lrg/lrs package initialisation

Provide default ownership for the new lrg and lrs packages. These are
fully managed by various bots so they should own these tasks.

Signed-off-by: Andy Whitcroft <email address hidden>

5d7bf2e... by Andy Whitcroft

swm: package -- check components correctly for lrm ancillary packages

Ancillary packages should have the same components as their primary
package.

Signed-off-by: Andy Whitcroft <email address hidden>

02de75c... by Andy Whitcroft

swm: add support for adjunct build PPAs and direct ancillary packages lrs/lrg to them

We are introducing a private adjunct PPA for each build PPA, this is used
for components of an otherwise public build which must remain embargoed.
We also introduce the concept of an ancillary package, one which is
entirely derived from another. These are version locked together and the
ancillary packages themselves have no source repo, tags or independant
versions. Finally drive ancillary packages for lrm via the adjunct
PPAs.

Signed-off-by: Andy Whitcroft <email address hidden>

315a58f... by Andy Whitcroft

swm: manager -- add handler for prepare-package-{lrg,lrs}

Wire up prepare-package-{lrg,lrs} to PreparePackage so we track their
builds.

Signed-off-by: Andy Whitcroft <email address hidden>

7e20ee6... by Andy Whitcroft

swm: package -- built_in_src_dst_delta search further

Let built_in_src_dst_delta() look further into the pocket stack for a
valid build.

Signed-off-by: Andy Whitcroft <email address hidden>