HomePhabricator
Diffusion Scap 369990b345d0

Scap deploy should use a repo-dependent lock file.

Authored by mmodell.

Description

Scap deploy should use a repo-dependent lock file.

Projects: Release-Engineering-Team

Maniphest Tasks: T116208

Summary:
Adds a lock_path() method to the context class and calls that instead
of using the value from scap.cfg.

Fixes T116208

Test Plan: run deploy from two separate projects simultaneously. See that they get separate lock files that don't conflict.

Reviewers: thcipriani, Release-Engineering-Team, demon, dduvall

Reviewed By: Release-Engineering-Team, demon, dduvall

Subscribers: jenkins

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

Change-Id: I1019042122403e79b50a2fad6ad1a50c939a3fae

Details

Auditors
mmodell
Group Auditors
Restricted Owners Package
Restricted Owners Package
Committed
mmodellJan 28 2016, 5:24 PM
Reviewer
Release-Engineering-Team
Parents
rMSCAe5d0d862529a: Make patch_path configurable since one day more than just scap2 should…
Branches
Unknown
Tags
Unknown
Tasks
T116208: default lock file for scap3 should be repo-dependent
ChangeId
I1019042122403e79b50a2fad6ad1a50c939a3fae