hydra-update-gc-roots: Only keep outputs when in direct mode
[?]
Jul 12, 2016, 5:23 PM
PJD4HUOJXDAPSY3GBEK2KS6SIBQOQI7U72RLPG2YLVVQWS2FTMUACDependencies
- [2]
YAT6VX54hydra-update-gc-roots: Get Builds and BuildOutputs in the same query - [3]
SLBM7H4Qhydra-update-gc-roots: Keep derivations of failed builds - [4]
KJQWSRCCSpeed up hydra-update-gc-roots - [5]
PMNWRTGJAdd multiple output support - [6]
4X6NS66Q* Keep the most recent builds for each job. - [7]
HLYVEJX7* Keep the 3 most recent builds for every platform for every job. - [*]
WZ3AEJ67* hydra_update_gc_roots.pl registers build outputs that should be kept - [*]
TJK27WSBOpen the DB using Hydra::Model::DB->new
Change contents
- edit in src/script/hydra-update-gc-roots at line 14[10.964][9.741]
my $config = getHydraConfig(); - replacement in src/script/hydra-update-gc-roots at line 41
if ($build->finished && ($build->buildstatus == 0 || $build->buildstatus == 6)) {if (($config->{store_mode} // "direct") eq "direct" &&$build->finished && ($build->buildstatus == 0 || $build->buildstatus == 6)){