File: external-debsign.rst

package info (click to toggle)
debusine 0.14.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,200 kB
  • sloc: python: 195,951; sh: 849; javascript: 335; makefile: 116
file content (32 lines) | stat: -rw-r--r-- 1,281 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.. task:: ExternalDebsign

ExternalDebsign task
--------------------

This wait task blocks until a user provides a signature for an upload.

The ``task_data`` for this task may contain the following keys:

* ``unsigned`` (:ref:`lookup-single`, required): the
  :artifact:`debian:upload` artifact whose contents should be signed

The ``workflow_data`` for this task contains ``needs_input: True``.

Running this task does not do anything. In order to complete it,
the user needs to execute ``debusine provide-signature
<work-request-id>`` to download the files to sign, sign them locally
with ``debsign``, upload them back as part of a new
:artifact:`debian:upload` artifact, and finally record that artifact as an
output artifact of the ExternalDebsign task. The web UI advises the user to
run this command when showing such a work request.

The containing workflow should then normally use an event reaction
to add that output artifact to a suitable collection (usually the
workflow's internal collection).

The task does not verify the signature, since it doesn't necessarily
have the public key available.  It remains the responsibility of
whatever would normally verify the signature (e.g. an external upload
queue) to do so.

Used by the :workflow:`package_upload` workflow.