HomePhabricator
Diffusion Scap 27b0e74d24ce

Update vars from least to most specific

Description

Update vars from least to most specific

Tags: Release-Engineering-Team

Maniphest Tasks: T150897

Summary:
Since the context object's env_specific_paths method returns a list of
paths from most specific to the environment to least specific, you have
to reverse them to ensure that more specific variables overwrite less
specific variables.

This was pointed out by @Arlolra.

Fixes T150897

Reviewers: mmodell, Arlolra, Release-Engineering-Team, dduvall, demon, mobrovac

Reviewed By: mobrovac

Subscribers: jenkins, Arlolra

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

Details

Provenance
thciprianiAuthored on Nov 19 2016, 3:11 PM
Reviewer
mobrovac
Differential Revision
D458: Update vars from least to most specific
Parents
rMSCA3b9353ec02e2: Prevent plugins from overwriting built-in commands.
Branches
Unknown
Tags
Unknown
Tasks
T150897: Env vars being overwritten
ChangeId
None
Build Status
Buildable 1292
Build 1986: ci-jessieJenkins