summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_db_maintenance.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-01-12 12:55:20 +0100
committerHolger Levsen <holger@layer-acht.org>2017-01-12 12:55:20 +0100
commit93a522cbaffa3f59107b06e1ed587296bb6d9aaa (patch)
tree5757e7cabbd08a5a6ecf8de379fadcdfcab5998e /bin/reproducible_db_maintenance.py
parent35ebb278789ec4ada5e3b2f84bca7f2b99b6317f (diff)
downloadjenkins.debian.net-93a522cbaffa3f59107b06e1ed587296bb6d9aaa.tar.xz
reproducible Debian: add a graph with diffoscope crashes and timeouts
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_db_maintenance.py')
-rwxr-xr-xbin/reproducible_db_maintenance.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index bace9618..649d13dd 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -591,6 +591,15 @@ schema_updates = {
"ALTER TABLE results ALTER id SET DEFAULT NEXTVAL('results_id_seq')",
"INSERT INTO rb_schema (version, date) VALUES (29, '" + now + "')"
],
+
+ 30: [ # Add new table to track diffoscope breake
+ "CREATE TABLE stats_breakage
+ (datum TEXT NOT NULL,
+ diffoscope_timeouts INTEGER,
+ diffoscope_crashes INTEGER,
+ PRIMARY KEY (datum))",
+ "INSERT INTO rb_schema (version, date) VALUES (30, '" + now + "')"
+ ],
}