You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Scap/Scap3 deployment groups

From Wikitech-static
< Scap
Revision as of 20:20, 14 September 2021 by imported>Thcipriani (Created page with "This feature was introduced in differential revision [https://phabricator.wikimedia.org/D16 D16] In addition to the <code>dsh_targets</code> config variable, scap looks for multiple <code>''[anything]''_dsh_targets</code> config variables. This enables <code>canary_dsh_targets</code>. All additional deployment groups will be executed before the primary deployment group (defined by the <code>dsh_targets</code> variable). Additionally, checks now can be scoped to a spec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This feature was introduced in differential revision D16

In addition to the dsh_targets config variable, scap looks for multiple [anything]_dsh_targets config variables. This enables canary_dsh_targets.

All additional deployment groups will be executed before the primary deployment group (defined by the dsh_targets variable).

Additionally, checks now can be scoped to a specific deployment group using:

check_name:
    stage: promote
    group: dsh-group-name
    command: touch /tmp/hi-there

The group name is optional in a check. If not group name is specified, check runs for all deploy groups.