aboutsummaryrefslogtreecommitdiff
path: root/sqitch/pg/deploy
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-03-22 15:16:44 +0000
committerChristopher Baines <mail@cbaines.net>2023-03-22 15:55:34 +0000
commitf9bd2f047e295beb8252af8ae1eafaa43b70aa2a (patch)
tree6a4c1fb70f64e1fd2712f16cad0164476500372b /sqitch/pg/deploy
parent7ee1cc4924813b1ae59958f29cf6dd5e22c3e673 (diff)
downloadbuild-coordinator-f9bd2f047e295beb8252af8ae1eafaa43b70aa2a.tar
build-coordinator-f9bd2f047e295beb8252af8ae1eafaa43b70aa2a.tar.gz
Implement and extend the agent status functionality
Previously, updating the status was used by the agent just to get back the list of builds it was already allocated. Now the status sent is actually stored, along with the 1min load average.
Diffstat (limited to 'sqitch/pg/deploy')
-rw-r--r--sqitch/pg/deploy/replace_agent_status.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/replace_agent_status.sql b/sqitch/pg/deploy/replace_agent_status.sql
new file mode 100644
index 0000000..18b581b
--- /dev/null
+++ b/sqitch/pg/deploy/replace_agent_status.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:replace_agent_status to pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;