~apw/+git/kteam-tools:swm/snaps--separate-snap-prepare-as-phase

Last commit made on 2021-09-16
Get this branch:
git clone -b swm/snaps--separate-snap-prepare-as-phase 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/snaps--separate-snap-prepare-as-phase
Repository:
lp:~apw/+git/kteam-tools

Recent commits

1e2ec97... by Andy Whitcroft

swm: wft/workflow -- separate snap-prepare phase

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

6293c66... by Andy Whitcroft

adt-matrix: miss handling should use kernel version

Seems we are using test version not kernel version to suppress trailing
MISS stati. Sort this out.

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

e47b42f... by Andy Whitcroft

swm: treat snap-store resource-not-found error returns as store errors

When we have been told there is a snap under a specific name, but our
attempts to get the current disposition of that snap results in
resource-not-found we are unable to make any sensible statements about
the snap. Rather than miss-categorising it treat this as a failure to
talk to the store.

Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

c52338b... by Andy Whitcroft

swm: handle invalid archives in kernel-series routing information

When we have a bad archive in kernel-series (this might be inaccurate or
just private) we will fail to look it up. This leads us to crater trying
to list the routes in debugging output. Map these to a simple NONE so we
can see they occurred.

Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

f84be83... by Andy Whitcroft

web: installed results files atomically

We consume the results files asynchronously so we must ensure they are
complete at all times. Generate into temporary files and move into
place.

Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

08897b1... by Andy Whitcroft

swm-trello-sync: move prepare card Rejected on sru-review rejected

If we reject an `sru-review` the task is moved Incomplete. Move the
corresponding preparation card to the Rejected column to expose the
failure.

Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

2057f0c... by Andy Whitcroft

shiv: retest -- add support for selecting the PPA copy and the op to request

swm will request `op=boot` testing against the PPA copy of the kernel
and `op=sru` against the proposed copy of the kernel. Via `shiv` we can
request a retest `op=sru` against proposed only. Add support for `--ppa`
to select testing against the PPA copy and `--op <op>` to allow testing
the other combinations. Default op to boot on PPA and sru on proposed.

Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Andy Whitcroft <email address hidden>

3abe2dc... by Kleber Sacilotto de Souza

info/kernel-series: f/linux-ibm: invert variants order

Invert the variants order so '-lts-20.04' comes first, which will force
the meta package generator to add the kernel-testing--*--preferred
virtual provides to it. This is to fix a virtual conflict caused by the
first linux-meta-ibm uploaded to the archive having only the
'-lts-20.04' variant on the source.

Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

21cdd19... by Andy Whitcroft

snap: handle resource-not-found errors as a store error

Handle resource-not-found error returns as a store error. We have no
information about the snap so we cannot determine its disposition. It
is best to fail completely than miss-categorise it.

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

f4ca55f... by Andy Whitcroft

swm: package -- handle archive lookup failures in debug output

When we fail to lookup and archive we end up with a null archive
pointer. Attempting to print the reference will crater. Detect and
handle this.

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