aboutsummaryrefslogtreecommitdiff
path: root/sqitch/verify
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-10-02 21:54:11 +0100
committerChristopher Baines <mail@cbaines.net>2019-10-02 21:54:11 +0100
commit427063c812e77885e5728aa5a8f4ee27f11bd2b0 (patch)
treecc91414d9cdb8803352f36490db299ca4e1264e6 /sqitch/verify
parente00aabde4388c014778475966da2b7021dfef560 (diff)
downloaddata-service-427063c812e77885e5728aa5a8f4ee27f11bd2b0.tar
data-service-427063c812e77885e5728aa5a8f4ee27f11bd2b0.tar.gz
Make it easier to retry jobs
Add a new event 'retry', and run jobs where the number of retry events is greater or equal to the number of failure events. Also add an index to the git_branches table to make the finding jobs query a bit faster.
Diffstat (limited to 'sqitch/verify')
-rw-r--r--sqitch/verify/add_retry_value_to_job_event_enum.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/verify/add_retry_value_to_job_event_enum.sql b/sqitch/verify/add_retry_value_to_job_event_enum.sql
new file mode 100644
index 0000000..907334d
--- /dev/null
+++ b/sqitch/verify/add_retry_value_to_job_event_enum.sql
@@ -0,0 +1,7 @@
+-- Verify guix-data-service:add_retry_value_to_job_event_enum on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;