creams: fix outdated nanos6.toml

This temporal fix allows the experiment to ignore the nanos6.toml in the
git repository, and only set version.dependencies variable.
This commit is contained in:
Rodrigo Arias 2021-03-04 12:45:29 +01:00 committed by Pedro Martinez
parent 8445fb0928
commit 6818b29d02

View File

@ -79,9 +79,22 @@ let
preSrun = ''
cp -r ${input}/SodTubeBenchmark/* .
chmod +w -R .
rm -f nanos6.toml
'';
};
exec = {nextStage, conf, ...}: with conf; stages.exec {
inherit nextStage;
env = ''
export NANOS6_CONFIG_OVERRIDE="version.dependencies=regions"
'';
# Remove restarts as is not needed and is huge
post = ''
rm -rf restarts || true
'';
};
# Creams program
creams = {nextStage, conf, ...}: with conf;
let
@ -96,7 +109,7 @@ let
# Replace the stdandard srun stage with our own
srun = customSrun;
};
} ++ [ creams ];
} ++ [ exec creams ];
in