Skip to content

Add bashible output some logs from steps anyway and fixes local bashible bundle runner

Choose a tag to compare

@name212 name212 released this 04 May 07:53
· 16 commits to main since this release
b9fdd04

Add:

  • now bashible step can send log with prefix === Step output: LOG MESSAGE (by default) and LOG MESSAGE will output to logs in any way.
    For your own out log prefix you can implement
    BundlerShouldInfoOutChecker
  • add CloneWithNodeTmpPath in settings package for create new settings
    with NodeTmpPath

Fixes:

  • broken output (no output) steps for local node interface. Use
    Bundler in ExecuteBundle in local node interface
  • command in local runner can stop immediately (bug in context creation)

Chore:

  • upgrade lib-dhctl to latest version
  • some rafct in Bundler:
  • Bundler get connection.Interface instead of connection.SSHClient.
    It is not breaking change
    because SSHClient implement connection.Interface
  • now we have handle stderr with our handler. It needs for handle stderr
    with local node interface
  • make empty CommandPreparator for go and cli ssh clients, not need
    after move to handle stderr
  • now in Bundler we can pass command for execute, need for local node
    interface
  • some improvements in local.Script:
    • use Bundler in ExecuteBundle
    • add some fields for tests purposes
    • add tests for ExecuteBundle
  • Some fixes in ExecuteBundle test utils functions to support run
    local.Script.ExecuteBundle and improve tests stability
  • check in ci that go tidy ran.