From dfccbf911c7badfdffc96398d0967e86a55da80e Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 13 Feb 2020 20:13:46 +0000 Subject: Update the build_servers_build_config values Change target to '' if it matches system, as this matches the updated way of storing derivations. --- sqitch/deploy/update_build_servers_build_config.sql | 7 +++++++ sqitch/revert/update_build_servers_build_config.sql | 7 +++++++ sqitch/sqitch.plan | 1 + sqitch/verify/update_build_servers_build_config.sql | 7 +++++++ 4 files changed, 22 insertions(+) create mode 100644 sqitch/deploy/update_build_servers_build_config.sql create mode 100644 sqitch/revert/update_build_servers_build_config.sql create mode 100644 sqitch/verify/update_build_servers_build_config.sql diff --git a/sqitch/deploy/update_build_servers_build_config.sql b/sqitch/deploy/update_build_servers_build_config.sql new file mode 100644 index 0000000..6fd0469 --- /dev/null +++ b/sqitch/deploy/update_build_servers_build_config.sql @@ -0,0 +1,7 @@ +-- Deploy guix-data-service:update_build_servers_build_config to pg + +BEGIN; + +UPDATE build_servers_build_config SET target = '' WHERE system = target; + +COMMIT; diff --git a/sqitch/revert/update_build_servers_build_config.sql b/sqitch/revert/update_build_servers_build_config.sql new file mode 100644 index 0000000..652e2dd --- /dev/null +++ b/sqitch/revert/update_build_servers_build_config.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:update_build_servers_build_config from pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; diff --git a/sqitch/sqitch.plan b/sqitch/sqitch.plan index e21306b..14a580c 100644 --- a/sqitch/sqitch.plan +++ b/sqitch/sqitch.plan @@ -50,3 +50,4 @@ increase_fillfactor_for_some_indexes 2020-02-07T20:49:17Z Christopher Baines # Change the values for package_derivations_by_guix_revision_range target allow_including_and_excluding_branches_for_repositories 2020-02-08T11:30:02Z Christopher Baines # Allow including and excluding branches for repositories channel_instance_derivations 2020-02-10T07:59:03Z Christopher Baines # Add tables to store derivations for channel instances +update_build_servers_build_config 2020-02-13T20:07:19Z Christopher Baines # Update build_servers_build_config values diff --git a/sqitch/verify/update_build_servers_build_config.sql b/sqitch/verify/update_build_servers_build_config.sql new file mode 100644 index 0000000..a1b02dc --- /dev/null +++ b/sqitch/verify/update_build_servers_build_config.sql @@ -0,0 +1,7 @@ +-- Verify guix-data-service:update_build_servers_build_config on pg + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; -- cgit v1.2.3