Joerg Jaspert pushed to branch lockfile at Debian FTP Team / dak
Commits:
-
2c121461
by Joerg Jaspert at 2018-04-15T21:51:37+02:00
14 changed files:
- config/common/variables
- config/debian-security/daily.tasks
- config/debian-security/hourly.tasks
- config/debian-security/unchecked-dinstall.tasks
- config/debian-security/weekly.tasks
- config/debian/daily.tasks
- config/debian/dinstall.tasks
- config/debian/hourly.tasks
- config/debian/mirror.tasks
- config/debian/monthly.tasks
- config/debian/unchecked.tasks
- config/debian/weekly.tasks
- config/debian/yearly.tasks
- config/deploy/deploy.tasks
Changes:
... | ... | @@ -68,3 +68,6 @@ declare -r LOCK_CHANGELOG="$lockdir/changelog.lock" |
68 | 68 |
# If this file exists we exit immediately after the currently running
|
69 | 69 |
# function is done
|
70 | 70 |
declare -r LOCK_STOP="${lockdir}/archive.stop"
|
71 |
+ |
|
72 |
+# Lock for deploying new code
|
|
73 |
+declare -r LOCK_DEPLOY="${lockdir}/deploy"
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
# Note: Not explicitly unlocked, want it until cronscript ends, after
|
3 | 4 |
# all background functions finished
|
4 | 5 |
LOCK UNCHECKED 3600 exclusive false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
importusers none none false false
|
3 | 4 |
builddautosigning security none false false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 | 2 |
STATE startup none false false
|
3 |
+LOCK DEPLOY 600 shared false
|
|
3 | 4 |
LOCK DAILY 3600 exclusive false
|
4 | 5 |
RMSTAGE none none false false
|
5 | 6 |
NOSTAGE startup none false false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
LOCK UNCHECKED 1200 exclusive false
|
3 | 4 |
update_releases none none true false
|
4 | 5 |
runcronscript mirror none true true
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
wnppbugs none none false false
|
3 | 4 |
pushfilesdb none none false false
|
4 | 5 |
wbdump none none false false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 | 2 |
STATE startup none false false
|
3 |
+LOCK DEPLOY 600 shared false
|
|
3 | 4 |
LOCK DAILY 3600 exclusive false
|
4 | 5 |
NOSTAGE startup none false false
|
5 | 6 |
savetimestamp none none false false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
importusers none none false false
|
3 | 4 |
queuereport none none false true
|
4 | 5 |
removalstxt none none false true
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
mirror none none true false
|
3 | 4 |
mirrorpush none none true false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
rotatelog none none false true
|
3 | 4 |
rotatequeued none none false true
|
4 | 5 |
archivequeuedone none none false true
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
LOCK DAILY 600 shared false
|
3 | 4 |
LOCK UNCHECKED 600 exclusive false
|
4 | 5 |
pg_timestamp preunchecked none true false
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
purgeempty none none false true
|
3 | 4 |
gitcleanup none none false true
|
4 | 5 |
fixsymlinks none none false true
|
1 | 1 |
# FUNC ARGS TIME ERR BG
|
2 |
+LOCK DEPLOY 600 shared false
|
|
2 | 3 |
removalsarchive none none false false
|
1 |
-# FUNC ARGS TIME ERR BG
|
|
2 |
-RMSTAGE none none true false
|
|
3 |
-fetch_updates none none true false
|
|
4 |
-NOSTAGE find_commitids none true false
|
|
5 |
-check_commit_signature none none true false
|
|
6 |
-NOSTAGE check_for_db_update none true false
|
|
7 |
-check_ancestor none none true false
|
|
8 |
-update_masterdir none none true false
|
|
1 |
+# FUNC ARGS TIME ERR BG
|
|
2 |
+LOCK DEPLOY 120 exclusive false
|
|
3 |
+RMSTAGE none none true false
|
|
4 |
+fetch_updates none none true false
|
|
5 |
+NOSTAGE find_commitids none true false
|
|
6 |
+check_commit_signature none none true false
|
|
7 |
+NOSTAGE check_for_db_update none true false
|
|
8 |
+check_ancestor none none true false
|
|
9 |
+update_masterdir none none true false
|
|
10 |
+UNLOCK DEPLOY none true false
|