File: task-configuration.rst

package info (click to toggle)
debusine 0.14.4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 15,344 kB
  • sloc: python: 198,722; sh: 850; javascript: 335; makefile: 117
file content (33 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (4)
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
33
.. collection:: debusine:task-configuration

Category ``debusine:task-configuration``
----------------------------------------

This collection is used to store configuration data for workflows and tasks
(see :ref:`task-configuration`).

The collection is looked up via the ``task_configuration`` field in
``task_data``, defaulting to ``default@debusine:task-configuration``, and thus
allowing to run workflows with different sets of configuration overrides.


* Data:

  * ``git_commit`` (optional): git commit hash of the current collection. This
    is stored when pushing from git using ``debusine-client task-config-push``,
    and is removed when the collection is updated by other means.

* Valid items:

  * :bare-data:`debusine:task-configuration` bare data

* Lookup names:

  * None. The name based lookup is sufficient.

* Constraints:

  * The name of the collection item is ``TASK_TYPE:TASK_NAME:SUBJECT:CONTEXT``,
    except for a template item where it is ``template:TEMPLATE``. URL-encoding
    is applied to ``CONTEXT`` because it can contain colons.