Store channel instance derivations in a separate transaction
This means that these derivations are stored, even if a later part of the process fails. Having the channel instance derivations stored might help work out why the failure occurred, or better display information about it.
This commit is contained in:
parent
6195d7b18f
commit
7fbcb3a3c2
8 changed files with 129 additions and 66 deletions
7
sqitch/deploy/remove_guix_revisions_store_path.sql
Normal file
7
sqitch/deploy/remove_guix_revisions_store_path.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Deploy guix-data-service:remove_guix_revisions_store_path to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE guix_revisions DROP COLUMN store_path;
|
||||
|
||||
COMMIT;
|
||||
7
sqitch/revert/remove_guix_revisions_store_path.sql
Normal file
7
sqitch/revert/remove_guix_revisions_store_path.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Revert guix-data-service:remove_guix_revisions_store_path from pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add DDLs here.
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -77,3 +77,4 @@ create_latest_build_status 2020-10-13T17:22:39Z Christopher Baines <mail@cbaines
|
|||
regenerate_latest_build_status 2020-10-21T18:39:03Z Christopher Baines <mail@cbaines.net> # Regenerate the latest_build_status table
|
||||
guix_revision_package_derivations_add_package_derivation_index 2020-10-27T16:58:08Z Christopher Baines <mail@cbaines.net> # Add index for guix_revision_package_derivations.package_derivation_id
|
||||
increase_derivation_inputs_statistics_targets 2020-12-27T10:34:58Z Christopher Baines <mail@cbaines.net> # Increase stats targets on derivation_inputs fields
|
||||
remove_guix_revisions_store_path 2021-02-02T20:06:18Z Christopher Baines <mail@cbaines.net> # Drop guix_revisions.store_path
|
||||
|
|
|
|||
7
sqitch/verify/remove_guix_revisions_store_path.sql
Normal file
7
sqitch/verify/remove_guix_revisions_store_path.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Verify guix-data-service:remove_guix_revisions_store_path on pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add verifications here.
|
||||
|
||||
ROLLBACK;
|
||||
Loading…
Add table
Add a link
Reference in a new issue