aboutsummaryrefslogtreecommitdiff
path: root/sqitch/pg
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-07-07 19:50:19 +0100
committerChristopher Baines <mail@cbaines.net>2022-07-07 21:04:34 +0100
commitf5816f1011a102d91c28231bb9d437d44b6160c7 (patch)
treead7440e2e35cbae0c9a66b8780d77cc48578211d /sqitch/pg
parent9d498182f8fa7f8602af5b1dc6cc9e12b76ac88d (diff)
downloadbuild-coordinator-f5816f1011a102d91c28231bb9d437d44b6160c7.tar
build-coordinator-f5816f1011a102d91c28231bb9d437d44b6160c7.tar.gz
Record the details of derivation outputs
I believe this will be useful when linking builds to other services, like the Guix Data Service, since this information might be useful when joining up the derivation being built to other derivations through the details of the outputs produced.
Diffstat (limited to 'sqitch/pg')
-rw-r--r--sqitch/pg/deploy/derivation_output_details.sql7
-rw-r--r--sqitch/pg/revert/derivation_output_details.sql7
-rw-r--r--sqitch/pg/verify/derivation_output_details.sql7
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/derivation_output_details.sql b/sqitch/pg/deploy/derivation_output_details.sql
new file mode 100644
index 0000000..51ff376
--- /dev/null
+++ b/sqitch/pg/deploy/derivation_output_details.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:derivation_output_details to pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/revert/derivation_output_details.sql b/sqitch/pg/revert/derivation_output_details.sql
new file mode 100644
index 0000000..2052bce
--- /dev/null
+++ b/sqitch/pg/revert/derivation_output_details.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:derivation_output_details from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/verify/derivation_output_details.sql b/sqitch/pg/verify/derivation_output_details.sql
new file mode 100644
index 0000000..8a8c9c9
--- /dev/null
+++ b/sqitch/pg/verify/derivation_output_details.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:derivation_output_details on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;