diff options
author | Christopher Baines <mail@cbaines.net> | 2020-04-10 20:30:40 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-04-10 20:34:47 +0100 |
commit | 9dd26c6ee5b29cd61f02c535eccbd2d73cae51ca (patch) | |
tree | b9031cd6587ab4f490bc03e83972195c95e582ff /sqitch/pg/deploy/build_allocation_tables.sql | |
parent | 97876168197cbbc4780fe34582be47f153af79b4 (diff) | |
download | build-coordinator-9dd26c6ee5b29cd61f02c535eccbd2d73cae51ca.tar build-coordinator-9dd26c6ee5b29cd61f02c535eccbd2d73cae51ca.tar.gz |
Create tables for allocating builds
One table to store which build is allocated to which agent, and another to
store a "plan" of allocations. For this plan, a build can be potentially
allocated to multiple agents, and which agent it will be allocated to depends
on which agent claims it first.
Diffstat (limited to 'sqitch/pg/deploy/build_allocation_tables.sql')
-rw-r--r-- | sqitch/pg/deploy/build_allocation_tables.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/build_allocation_tables.sql b/sqitch/pg/deploy/build_allocation_tables.sql new file mode 100644 index 0000000..443089b --- /dev/null +++ b/sqitch/pg/deploy/build_allocation_tables.sql @@ -0,0 +1,7 @@ +-- Deploy guix-build-coordinator:build_allocation_tables to pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; |