mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
efadfbbc97
Summary: Ref T5932. Ref T5936. This implements build generations in Harbormaster, which provides the infrastructure required to both show users the previous states of restarted builds and to allow users to forcefully abort builds (and their targets). You can view previous generations of a build by adding `?g=<n>` to the URI, but this isn't exposed in the UI anywhere yet. Test Plan: Ran a build plan with a Sleep step in it. Reconfigured it for various sleep times and viewed previous generations of the build after restarting it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T5932, T5936 Differential Revision: https://secure.phabricator.com/D10321
5 lines
249 B
SQL
5 lines
249 B
SQL
ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_build
|
|
ADD COLUMN `buildGeneration` INT UNSIGNED NOT NULL DEFAULT 0;
|
|
|
|
ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildtarget
|
|
ADD COLUMN `buildGeneration` INT UNSIGNED NOT NULL DEFAULT 0;
|