HomePhabricator
Diffusion Scap d52453be1457

Add deployment groups

Authored by thcipriani.

Description

Add deployment groups

Summary:
In addition to the dsh_targets config variable, this changes now 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.

Bug: T113073
Change-Id: I7d1235197356201626a88056fefa344ddf92d2dd

Test Plan: run tox

Reviewers: demon, mobrovac, dduvall, mmodell

Reviewed By: mobrovac, dduvall, mmodell

Differential Revision: https://phabricator.wikimedia.org/D16

Details

Committed
thciprianiOct 22 2015, 4:16 PM
Reviewer
mobrovac
Differential Revision
D16: Add deployment groups
Parents
rMSCA2b3bc25baab0: Deploy log tailing/filtering
Branches
Unknown
Tags
Unknown
ChangeId
I7d1235197356201626a88056fefa344ddf92d2dd