aboutsummaryrefslogtreecommitdiff
path: root/sqitch/pg
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-07-18 18:17:20 +0100
committerChristopher Baines <mail@cbaines.net>2020-08-26 18:40:14 +0100
commit15f27e9d4310242e34729b03dd4227a2b2d193a3 (patch)
tree91464e0d2c6a83b7423eb146cca3b585e4c6529b /sqitch/pg
parentcdbcd13773ef525ca463609e21a596cb7922894d (diff)
downloadbuild-coordinator-15f27e9d4310242e34729b03dd4227a2b2d193a3.tar
build-coordinator-15f27e9d4310242e34729b03dd4227a2b2d193a3.tar.gz
Store if the derivation is a fixed output derivation
As this information will come in useful when working out how to handle builds for fixed output derivations. Specifically, I want to make it configurable whether to add builds for fixed output derivations if a build already exists for the output, but the derivation is different. Currently, different fixed output derivations can be ignored but it's not possible to just avoid adding more builds for non fixed output derivations while adding builds when fixed output derivations change. This new information will help enable that.
Diffstat (limited to 'sqitch/pg')
-rw-r--r--sqitch/pg/deploy/add_fixed_output_to_derivations.sql7
-rw-r--r--sqitch/pg/revert/add_fixed_output_to_derivations.sql7
-rw-r--r--sqitch/pg/verify/add_fixed_output_to_derivations.sql7
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/add_fixed_output_to_derivations.sql b/sqitch/pg/deploy/add_fixed_output_to_derivations.sql
new file mode 100644
index 0000000..b2c6755
--- /dev/null
+++ b/sqitch/pg/deploy/add_fixed_output_to_derivations.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:add_fixed_output_to_derivations to pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/revert/add_fixed_output_to_derivations.sql b/sqitch/pg/revert/add_fixed_output_to_derivations.sql
new file mode 100644
index 0000000..7402822
--- /dev/null
+++ b/sqitch/pg/revert/add_fixed_output_to_derivations.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:add_fixed_output_to_derivations from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/verify/add_fixed_output_to_derivations.sql b/sqitch/pg/verify/add_fixed_output_to_derivations.sql
new file mode 100644
index 0000000..f6a1eca
--- /dev/null
+++ b/sqitch/pg/verify/add_fixed_output_to_derivations.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:add_fixed_output_to_derivations on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;