aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-01-16 15:22:32 +0000
committerChristopher Baines <mail@cbaines.net>2021-01-16 15:22:32 +0000
commit9051478c09c79ac8b91cb844b4f24352cb8d81fc (patch)
tree555aaaa5c214f19a92ed3ca65164e5e34013dd14 /guix-build-coordinator/datastore.scm
parentb33c9b250ab0aaa21107370a1caca195b71533a7 (diff)
downloadbuild-coordinator-9051478c09c79ac8b91cb844b4f24352cb8d81fc.tar
build-coordinator-9051478c09c79ac8b91cb844b4f24352cb8d81fc.tar.gz
Move build allocation complexity out of the datastore
And in to the coordinator module. This will make adding more datastore's easier.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r--guix-build-coordinator/datastore.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm
index 913d53a..14eed3e 100644
--- a/guix-build-coordinator/datastore.scm
+++ b/guix-build-coordinator/datastore.scm
@@ -66,7 +66,10 @@
(re-export datastore-count-allocated-builds)
(re-export datastore-agent-requested-systems)
(re-export datastore-update-agent-requested-systems)
-(re-export datastore-allocate-builds-to-agent)
+(re-export datastore-fetch-build-to-allocate)
+(re-export datastore-insert-to-allocated-builds)
+(re-export datastore-remove-builds-from-plan)
+(re-export datastore-select-allocated-builds)
(re-export datastore-list-allocation-plan-builds)
(define* (database-uri->datastore database