Merge bscpkgs into jungle #189

Manually merged
rarias merged 1013 commits from merge-bscpkgs into master 2025-10-07 16:12:34 +02:00
2 changed files with 15 additions and 8 deletions
Showing only changes of commit e89139284a - Show all commits

View File

@@ -69,7 +69,7 @@
# Load some helper functions to generate app variants
stdexp = callPackage ./stdexp.nix {
inherit (bsc.garlic) targetMachine stages;
inherit (bsc.garlic) targetMachine stages pp;
};
# Execution stages

View File

@@ -8,6 +8,7 @@
, writeTextFile
, runCommandLocal
, python
, pp
}:
with stdenv.lib;
@@ -19,17 +20,23 @@ in
rec {
/* Takes a list of units and builds an experiment, after executing the
trebuchet, runexp and isolate stages. Returns the trebuchet stage. */
buildTrebuchet = units: stages.trebuchet {
inherit (machineConf) nixPrefix sshHost;
nextStage = stages.runexp {
inherit (machineConf) nixPrefix;
nextStage = stages.isolate {
buildTrebuchet = units:
let
trebuchet = stages.trebuchet {
inherit (machineConf) nixPrefix sshHost;
nextStage = stages.runexp {
inherit (machineConf) nixPrefix;
nextStage = stages.experiment {
inherit units;
nextStage = stages.isolate {
inherit (machineConf) nixPrefix;
nextStage = stages.experiment {
inherit units;
};
};
};
};
in trebuchet // rec {
result = pp.resultFromLauncher (pp.launcher trebuchet);
timetable = pp.timetable result;
};
/* Given an attrset of lists `varConf` and a function `genConf` that accepts a