Merge remote-tracking branch 'origin/master' into flake
[?]
Aug 9, 2019, 10:46 AM
WONFWQWSB35YEJ2KNZEXT4RHIQR2ZJ46IIJDHFM7PAASC6D3ZH5QCDependencies
- [2]
SW7STLQ7Cache flake-based jobset evaluations - [3]
TOLUNFACCreate extension pg_trgm in the NixOS module - [4]
TM6C352UEnsure that stoptime and starttime are set for finished builds - [5]
RJNMYHJFAdd missing file - [6]
QLOLZHRXAllow a per-jobset check interval - [7]
GEADFVZ5hydra-queue-runner: Improved scheduling - [8]
W4G5MZZShydra-evaluator improvements - [9]
RXVJFQ5AEvaluator cleanups - [10]
FANTYCR7Materialize the number of finished builds - [11]
KJQWSRCCSpeed up hydra-update-gc-roots - [12]
FTPCV25MStore aggregate members in the database - [13]
BXHG3HYLWhen renaming a jobset, add a redirect from the old name - [14]
D44B24QCStore the account type ("hydra" or "persona") explicitly in the database - [15]
KN3VYE5P* Cleaned up the foreign key constraints. - [16]
D5QIOJGP* Move everything up one directory. - [17]
YU6CND7CRemove support for views - [18]
RVHBV3B3Notify the queue runner when a build is deleted - [19]
IWXLV4OBAdd DB columns for when to notify responsible committers and which inputs should be checked - [20]
E7FID72SRemove the BuildMachines and BuildMachinesSystemTypes tables - [21]
KSBB33REAdd a dashboard - [22]
B7ENVLRShydra-queue-runner: Make build notification more reliable - [23]
G2T4WAHIStore the inputs of each evaluation in the database - [24]
YTIDBFGUDrop unused "disabled" columns - [25]
PCKLFRT5Support push notification of repository changes - [26]
APURLT2QRevert "Apply IndexBuildsOnJobFinishedId to unfinished builds only" - [27]
P57OYJ4PIndex builds on stop time - [28]
KGGQD6COFix the Darcs schema upgrade - [29]
PHJF4FUTAdd missing files - [30]
DH3KNBAVMerge remote-tracking branch 'upstream/who-broke-builds' into upstream-master - [31]
CHJANKMMIndexJobsetEvalsOnJobsetId: Only index jobsets with new builds - [32]
2JGYLIECSpeed up the listing of jobset evals by caching some info in the DB - [33]
KDBWLKRPIndex BuildSteps on propagatedFrom - [34]
S2NXJOJEFix a race that can cause hydra-queue-runner to ignore newly added builds - [35]
H7HGWODE* Remove an empty file. - [36]
2NGV7NYNDrop unused "tag" column - [37]
26PYNDXVRemove the errorMsg column from the Builds table - [38]
4CELXP7PRemove the longDescription field - [39]
LTQMSMYOGet rid of some obsolete indexes - [40]
4YCF3KBGConcurrent hydra-evaluator - [41]
QUMWPGCUAdd flake configuration to the web interface - [42]
CCIORPJ5When manually scheduling an eval, force re-instantiation of store derivations - [43]
K2WAI5SOApply IndexBuildsOnJobFinishedId to unfinished builds only - [44]
6COLDXKSCreate a pg_trgm index on builds.drvpath - [45]
RUTFLXFQDrop unused BuildProducts.description column - [46]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [47]
TX7Q4RASAdd page showing latest build steps - [48]
ACBS7C6Qhydra-queue-runner: Detect changes to the scheduling shares - [49]
WE5Q2NVIAllow build to be bumped to the front of the queue via the web interface - [50]
SS4TZXNUDistinguish between permanent evaluation errors and transient input errors - [51]
G7KWXSFMDistinguish build step states - [52]
FITVNQ2SKeep track of the time we spend copying to/from build machines - [53]
BKMQXGBOAllow public dashboards - [54]
EJ7C77C3Allow searching for store and drv paths. Only does a complete match to reduce load on database. - [55]
PLOZBRTRAdd command ‘hydra-queue-runner --status’ to show current status - [56]
T5BIOVJEAdd support for tracking custom metrics - [57]
E7M2WP7ARemove unused Jobs columns - [58]
UJOSXBZIRecord which build a failed build step was propagated from - [59]
URHBNFTIAdd forgotten file - [60]
TPNHTE5VRemove obsolete Builds columns and provide accurate "Running builds" - [61]
UNVMKJV5Unify build and step status codes - [62]
Q5HZWFCYAdd support for darcs repositories. - [63]
53IMJNBBAdd isChannel column and meta attribute. - [64]
2KLEQJTGsql: refactor some sql statements to lowercase - [65]
FV2M6MOThydra: use autoconf/-make - [66]
W5OAZWPDDrop the errorMsg column in the Jobs table - [67]
6WRGCITDEnable declarative projects. - [68]
JD7AWXQGRemove now-unused SystemTypes table - [69]
EPWEMRI2Allow determinism checking for entire jobsets - [70]
4HPT4SDDRevert "Remove now-unused SystemTypes table" - [71]
4S5JF5JPUse latest DBIx::Class::Schema::Loader - [72]
YF3HTIPFUse partial indexes
Change contents
- file deletion: upgrade-57.sql
-- The pg_trgm extension has to be created by a superuser. The NixOS-- module creates this extension in the systemd prestart script. We-- then ensure the extension has been created before creating the-- index. If it is not possible to create the extension, a warning-- message is emitted to inform the user the index creation is skipped-- (slower complex queries on builds.drvpath).do $$begincreate extension if not exists pg_trgm;-- Provide an index used by LIKE operator on builds.drvpath (search query)create index IndexTrgmBuildsOnDrvpath on builds using gin (drvpath gin_trgm_ops);exception when others thenraise warning 'Can not create extension pg_trgm: %', SQLERRM;raise warning 'HINT: Temporary provide superuser role to your Hydra Postgresql user and run the script src/sql/upgrade-57.sql';raise warning 'The pg_trgm index on builds.drvpath has been skipped (slower complex queries on builds.drvpath)';end$$; - replacement in src/sql/upgrade-57.sql at line 1
alter table Jobsets alter column nixExprInput drop not null;alter table Jobsets alter column nixExprPath drop not null;alter table Jobsets add column type integer default 0;alter table Jobsets add column flake text;alter table Jobsets add check ((type = 0) = (nixExprInput is not null and nixExprPath is not null));alter table Jobsets add check ((type = 1) = (flake is not null));alter table JobsetEvals add column flake text;[4.4169]-- The pg_trgm extension has to be created by a superuser. The NixOS-- module creates this extension in the systemd prestart script. We-- then ensure the extension has been created before creating the-- index. If it is not possible to create the extension, a warning-- message is emitted to inform the user the index creation is skipped-- (slower complex queries on builds.drvpath).do $$begincreate extension if not exists pg_trgm;-- Provide an index used by LIKE operator on builds.drvpath (search query)create index IndexTrgmBuildsOnDrvpath on builds using gin (drvpath gin_trgm_ops);exception when others thenraise warning 'Can not create extension pg_trgm: %', SQLERRM;raise warning 'HINT: Temporary provide superuser role to your Hydra Postgresql user and run the script src/sql/upgrade-57.sql';raise warning 'The pg_trgm index on builds.drvpath has been skipped (slower complex queries on builds.drvpath)';end$$; - file addition: upgrade-58.sql[4.3004]
alter table Jobsets alter column nixExprInput drop not null;alter table Jobsets alter column nixExprPath drop not null;alter table Jobsets add column type integer default 0;alter table Jobsets add column flake text;alter table Jobsets add check ((type = 0) = (nixExprInput is not null and nixExprPath is not null));alter table Jobsets add check ((type = 1) = (flake is not null));alter table JobsetEvals add column flake text;