Add a lookup_builds field to the build_servers table
This is to allow for build servers where only the substitutes should be queried, and it shouldn't be assumed that they're running Cuirass.
This commit is contained in:
parent
f11421824d
commit
b6754c8a4c
12 changed files with 55 additions and 39 deletions
7
sqitch/deploy/build_servers_lookup_builds.sql
Normal file
7
sqitch/deploy/build_servers_lookup_builds.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Deploy guix-data-service:build_servers_lookup_builds to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE build_servers ADD COLUMN lookup_builds boolean NOT NULL DEFAULT TRUE;
|
||||
|
||||
COMMIT;
|
||||
7
sqitch/revert/build_servers_lookup_builds.sql
Normal file
7
sqitch/revert/build_servers_lookup_builds.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Revert guix-data-service:build_servers_lookup_builds from pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add DDLs here.
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -57,3 +57,4 @@ drop_package_versions_by_guix_revision_range 2020-03-24T20:40:38Z Christopher Ba
|
|||
create_narinfo_fetch_records_index 2020-03-25T19:07:28Z Christopher Baines <mail@cbaines.net> # Create an index on narinfo_fetch_records
|
||||
load_new_guix_revision_jobs_make_commits_unique 2020-03-27T21:38:42Z Christopher Baines <mail@cbaines.net> # Make load_new_guix_revision_jobs commits unique
|
||||
remove_odd_package_derivations 2020-04-24T20:36:06Z Christopher Baines <mail@cbaines.net> # Remove odd package derivations
|
||||
build_servers_lookup_builds 2020-05-24T15:18:09Z Christopher Baines <mail@cbaines.net> # Add build_servers.lookup_builds
|
||||
|
|
|
|||
7
sqitch/verify/build_servers_lookup_builds.sql
Normal file
7
sqitch/verify/build_servers_lookup_builds.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Verify guix-data-service:build_servers_lookup_builds on pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add verifications here.
|
||||
|
||||
ROLLBACK;
|
||||
Loading…
Add table
Add a link
Reference in a new issue