summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-06-22reproducible: shut up the maintenance job a bit more: do not notify when you ↵Mattia Rizzolo1-1/+1
catch package that are building since >36 hours ago
2015-06-15reproducible: maintenance: fix schedule_packages() callMattia Rizzolo1-1/+1
2015-06-14reproducible: common,maintenance: also pass $REASON to the rescheduling ↵Mattia Rizzolo1-0/+1
script via --message
2015-06-14reproducible: reduce code duplication by teaching sh's schedule_packages() ↵Mattia Rizzolo1-6/+2
to call reproducible_schedule_on_demand.py and fix various scripts
2015-06-14reproducible: define $TEMPDIR as /tmp/reproducible and teach all the to ↵Mattia Rizzolo1-5/+5
create temporary files under TEMPDIR (except for builders, they have their own TMPDIR), to avoid polluting /tmp
2015-06-12reproducible: maintenance: fix syntaxMattia Rizzolo1-1/+1
2015-06-11reproducible: maintenance: also lists too old processes with uid ↵Mattia Rizzolo1-1/+17
1111/2222/1234 (used for r-b builds)
2015-05-22reproducible: remove lockfiles older than 2 daysHolger Levsen1-0/+9
2015-05-16reproducible: drop warning+notifications when rescheduling packages due to ↵Holger Levsen1-1/+1
network failures
2015-05-15reproducible: fixup check for failed builds which was broken by moving files ↵Holger Levsen1-2/+2
in the reprodcucible subdirectory
2015-05-13reproducible: explain when there is the need for manual cleanupHolger Levsen1-0/+7
2015-05-11reproducible: drop string 'Warning' from something we dont consider ↵Holger Levsen1-1/+1
warning-worthy since 34a976c4e
2015-05-10reproducible: maintenance: the process killing part seems sane, enabling the ↵Mattia Rizzolo1-3/+2
actual auto-killing now
2015-05-05reproducible: don't fail maintainance if there is nothing to clean upHolger Levsen1-1/+1
2015-04-30reproducible: maintenance: also auto-reschedule package which fail due to ↵Mattia Rizzolo1-1/+1
apt fails due to "Bad Gateway"
2015-04-30reproducible: maintenance: drop code relative to ↵Mattia Rizzolo1-35/+0
/var/cache/pbuilder/results: we don't use it anymore
2015-04-30reproducible: maintenance: fix find call to be more clever about what to ↵Mattia Rizzolo1-2/+2
delete (avoid deleting debbindiff schroot)
2015-04-28reproducible: sed everything to use that $BASE variable instead of ↵Mattia Rizzolo1-6/+6
hardcoding /var/lib/jenkins/userContent (that's about to change rather soon)
2015-04-28reproducible: maintenance: specify column width to avoid crapping package ↵Mattia Rizzolo1-2/+2
names (and thus having a nicer output <3)
2015-04-25reproducible: maintenance: do not remove notes of removed packages, the ↵Mattia Rizzolo1-1/+1
notes job takes care of that cleanup
2015-04-25reproducible: maintenance: actually do rm now. the output has been tested ↵Mattia Rizzolo1-1/+1
enough by now.
2015-04-25reproducible: maintenance: pretty print removed packages tooMattia Rizzolo1-1/+1
2015-04-25reproducible: add a sane mean to notify the IRC channel when builds finish.Mattia Rizzolo1-2/+2
* new column in the database, schedule table * turn $SAVE_ARTIFACTS a true boolean, 0→no artifacts, 1→yes artifacts * $NOTIFY in the build script is text containg a keyword: + if empty no notification will be sent + if "debbindiff" a "$DBDVERSION had trouble with these" will be sent + if "failure" a "no artifacts could have been saved"-like will be sent + any other value trigs a normal message * adapt the maintenance script and the manual scheduler to cope with the new column
2015-04-21reproducible: maintenance: pretty print sql query results (instead of simple ↵Mattia Rizzolo1-3/+1
|-separated values)
2015-04-18reproducible: maintenance: swallow ~/devel/jenkins.debian.net output, it's ↵Mattia Rizzolo1-2/+2
boring
2015-04-18reproducible: maintenance: bash can't correctly loop over sqlite3(1) output, ↵Mattia Rizzolo1-5/+7
use a temp file
2015-04-18reproducible: maintenance: fix the cut(1) call in the removed packages partMattia Rizzolo1-3/+3
2015-04-16reproducible: new db table: removed_packages, to track removed package and ↵Mattia Rizzolo1-15/+14
subsequently clean up files the db now stores tuple of (pkgname, suite, architecture) of every removed packages, then reproducible_maintenance.sh pick up entries from it and find+remove files. For now the reproducible_maintenance only output what he would have remove.
2015-04-14reproducible: initialize PSCALL safelyHolger Levsen1-0/+1
2015-04-14reproducible: maintenance: better presentation of processes about to be killedMattia Rizzolo1-2/+6
2015-04-11reproducible: maintenance: remove old schroots with the --one-file-system ↵Mattia Rizzolo1-1/+1
(also as specified in the sudoers file)
2015-04-11reproducible: maintenance: fix typoMattia Rizzolo1-1/+1
2015-04-11reproducible: maintenance: rework a bit the "find+terminate processes which ↵Mattia Rizzolo1-11/+15
should not be there" part to avoid logparse noise
2015-04-09reproducible: maintenance: check for files with bad permissions (!=644) and ↵Mattia Rizzolo1-0/+11
chmod them. currently unknown the cause of these bad perms (only for very few files
2015-04-03fix language: s#maintainance#maintenance#gHolger Levsen1-0/+224