diff options
author | Christopher Baines <mail@cbaines.net> | 2020-06-27 21:33:24 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-07-01 17:43:38 +0100 |
commit | b5c4e8a4528e2c819176cbe070f6fd8e3e34facd (patch) | |
tree | 9d026e882411fc79b0736cdc9c97352d64ca7ef1 /sqitch/pg | |
parent | ab51128ee62b22971ea8b52d550e09d1c38f8ecd (diff) | |
download | build-coordinator-b5c4e8a4528e2c819176cbe070f6fd8e3e34facd.tar build-coordinator-b5c4e8a4528e2c819176cbe070f6fd8e3e34facd.tar.gz |
Support storing when builds start
This isn't particularly accurate, what's actually being stored is the current
time when the record is inserted in to the coordinator database, but that
should happen just before the agent starts the build, so hopefully that's good
enough.
Diffstat (limited to 'sqitch/pg')
-rw-r--r-- | sqitch/pg/deploy/build_starts.sql | 7 | ||||
-rw-r--r-- | sqitch/pg/revert/build_starts.sql | 7 | ||||
-rw-r--r-- | sqitch/pg/verify/build_starts.sql | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/build_starts.sql b/sqitch/pg/deploy/build_starts.sql new file mode 100644 index 0000000..77c0f85 --- /dev/null +++ b/sqitch/pg/deploy/build_starts.sql @@ -0,0 +1,7 @@ +-- Deploy guix-build-coordinator:build_starts to pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; diff --git a/sqitch/pg/revert/build_starts.sql b/sqitch/pg/revert/build_starts.sql new file mode 100644 index 0000000..d71c169 --- /dev/null +++ b/sqitch/pg/revert/build_starts.sql @@ -0,0 +1,7 @@ +-- Revert guix-build-coordinator:build_starts from pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; diff --git a/sqitch/pg/verify/build_starts.sql b/sqitch/pg/verify/build_starts.sql new file mode 100644 index 0000000..248f602 --- /dev/null +++ b/sqitch/pg/verify/build_starts.sql @@ -0,0 +1,7 @@ +-- Verify guix-build-coordinator:build_starts on pg + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |