projects
/
buildbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd10f39
)
phase1: run maketag.sh under exclusive lock
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 14 Dec 2016 00:26:08 +0000
(
01:26
+0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 14 Dec 2016 00:26:08 +0000
(
01:26
+0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg
patch
|
blob
|
history
diff --git
a/phase1/master.cfg
b/phase1/master.cfg
index e73f31dd8e7fd7aa679c5c14a5328eaae9ffd885..dc1e66de7203ed4445305dac187e96f052b3d176 100644
(file)
--- a/
phase1/master.cfg
+++ b/
phase1/master.cfg
@@
-206,6
+206,7
@@
def GetVersionPrefix(props):
c['builders'] = []
dlLock = locks.SlaveLock("slave_dl")
+tagLock = locks.MasterLock("make_tag")
checkBuiltin = re.sub('[\t\n ]+', ' ', """
checkBuiltin() {
@@
-309,7
+310,8
@@
for target in targets:
path = home_dir+'/source.git',
env = {'GNUPGHOME': gpg_home},
haltOnFailure = True,
- doStepIf = IsTaggingRequested
+ doStepIf = IsTaggingRequested,
+ locks = [tagLock.access('exclusive')]
))
# switch to branch