Skip to content

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

Merged
name212 merged 3 commits intomainfrom
fix-exec-bashible
Apr 30, 2026
Merged

Add bashible output some logs from steps anyway and fixes local bashible bundle runner #27
name212 merged 3 commits intomainfrom
fix-exec-bashible

Conversation

@name212
Copy link
Copy Markdown
Member

@name212 name212 commented Apr 30, 2026

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:

  • 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

name212 added 3 commits April 29, 2026 22:59
Signed-off-by: Nikolay Mitrofanov <nikolay.mitrofanov@flant.com>
Signed-off-by: Nikolay Mitrofanov <nikolay.mitrofanov@flant.com>
Signed-off-by: Nikolay Mitrofanov <nikolay.mitrofanov@flant.com>
@name212 name212 changed the title Fix exec bashible Add bashible output some logs from steps anyway and fixes local bashible bundle runner Apr 30, 2026
@name212 name212 merged commit b9fdd04 into main Apr 30, 2026
4 checks passed
@name212 name212 deleted the fix-exec-bashible branch April 30, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant