fix(steps): add *steps* not *step*
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
parent
2a2a2793e4
commit
c824b084e8
|
@ -510,23 +510,26 @@ class NixConfigure(buildstep.CommandMixin, steps.BuildStep):
|
||||||
ci_buildbot_defn_exists = yield self.pathExists('build/.ci/buildbot.nix')
|
ci_buildbot_defn_exists = yield self.pathExists('build/.ci/buildbot.nix')
|
||||||
if ci_buildbot_defn_exists:
|
if ci_buildbot_defn_exists:
|
||||||
configure_log.addStdout(".ci/buildbot.nix found, configured for non-flake CI")
|
configure_log.addStdout(".ci/buildbot.nix found, configured for non-flake CI")
|
||||||
self.build.addStepAfterCurrentStep(
|
self.build.addStepsAfterCurrentStep(
|
||||||
|
[
|
||||||
make_job_evaluator(
|
make_job_evaluator(
|
||||||
"evaluate `.ci/buildbot.nix` jobs",
|
"evaluate `.ci/buildbot.nix` jobs",
|
||||||
self.evaluator_settings,
|
self.evaluator_settings,
|
||||||
False
|
False
|
||||||
)
|
)
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
flake_exists = yield self.pathExists('build/flake.nix')
|
flake_exists = yield self.pathExists('build/flake.nix')
|
||||||
if flake_exists:
|
if flake_exists:
|
||||||
configure_log.addStdout(f"flake.nix found")
|
configure_log.addStdout(f"flake.nix found")
|
||||||
self.build.addStepAfterCurrentStep(
|
self.build.addStepsAfterCurrentStep([
|
||||||
make_job_evaluator(
|
make_job_evaluator(
|
||||||
"evaluate `flake.nix` jobs",
|
"evaluate `flake.nix` jobs",
|
||||||
self.evaluator_settings,
|
self.evaluator_settings,
|
||||||
True
|
True
|
||||||
)
|
)
|
||||||
|
]
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue