aboutsummaryrefslogtreecommitdiff
path: root/sqitch/pg
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-04-23 18:27:38 +0100
committerChristopher Baines <mail@cbaines.net>2020-04-23 19:30:55 +0100
commitd1020a834a09a76cd5c98fe81ebad2968b193872 (patch)
treea6f623c9a8d012f50ecc0d06ccc733a951f2dfd0 /sqitch/pg
parent78287e9cc4a8c8f000ccb6e6e5641180274e0e8e (diff)
downloadbuild-coordinator-d1020a834a09a76cd5c98fe81ebad2968b193872.tar
build-coordinator-d1020a834a09a76cd5c98fe81ebad2968b193872.tar.gz
Send over some metadata from the agent for each output
This will hopefully make it easier to create narinfo files for the outputs. I think all of this information can be derived from the nar, but I'm not sure how to do that, so maybe this can eventually be removed.
Diffstat (limited to 'sqitch/pg')
-rw-r--r--sqitch/pg/deploy/output_metadata.sql7
-rw-r--r--sqitch/pg/revert/output_metadata.sql7
-rw-r--r--sqitch/pg/verify/output_metadata.sql7
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/output_metadata.sql b/sqitch/pg/deploy/output_metadata.sql
new file mode 100644
index 0000000..f730ca6
--- /dev/null
+++ b/sqitch/pg/deploy/output_metadata.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:output_metadata to pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/revert/output_metadata.sql b/sqitch/pg/revert/output_metadata.sql
new file mode 100644
index 0000000..dcff1c5
--- /dev/null
+++ b/sqitch/pg/revert/output_metadata.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:output_metadata from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/verify/output_metadata.sql b/sqitch/pg/verify/output_metadata.sql
new file mode 100644
index 0000000..f6abae8
--- /dev/null
+++ b/sqitch/pg/verify/output_metadata.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:output_metadata on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;