WIP: Non-flakes entrypoint #21

Closed
raito wants to merge 24 commits from non-flakes into main
Showing only changes of commit 5820b55321 - Show all commits

View file

@ -491,9 +491,13 @@ class NixConfigure(buildstep.CommandMixin, steps.BuildStep):
self.observer = logobserver.BufferLogObserver() self.observer = logobserver.BufferLogObserver()
self.addLogObserver("stdio", self.observer) self.addLogObserver("stdio", self.observer)
@defer.inlineCallbacks @defer.inlineCallbacks
def run(self) -> Generator[Any, object, Any]: def run(self) -> Generator[Any, object, Any]:
configure_log: Log = yield self.getLog("stdio") try:
configure_log: Log = yield self.getLog("stdio")
except Exception:
configure_log: Log = yield self.addLog("stdio")
# Takes precedence. # Takes precedence.
configure_log.addStdout("checking if there's a .ci/buildbot.nix...") configure_log.addStdout("checking if there's a .ci/buildbot.nix...")