ktomk / pipelines

Pipelines - Run Bitbucket Pipelines Wherever They Dock

Home Page:https://ktomk.github.io/pipelines/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does this tool support pipes?

tomerh2001 opened this issue · comments

I am getting this weird output:

+ echo "pipe: atlassian/git-secrets-scan:1.4.0 (pending feature)" # pipe feature is pending
printf %s '  FILES_IGNORED (**/node_modules): '; printf '%s ' **/node_modules; printf '\n' 

pipe: atlassian/git-secrets-scan:1.4.0 (pending feature)
  FILES_IGNORED (**/node_modules): **/node_modules 

The "pipe feature is pending" as commented in the first line of the output and more specifically:

pipe: atlassian/git-secrets-scan:1.4.0 (pending feature)

That means support for pipes is not fully implemented, only some (little) part of it works.

This is documented in the Todo only:

Selection_301

What you see is the "Fake run script with pipe/s showing information", so what you received "weird" is a pure fake (it only produces some output but does not run the pipe).

I'm sorry if that caused any inconvenience. I've not given it much traction because many pipes make use of remote interactions and I was mainly using it offline. It could be that the atlassian/git-secrets-scan pipe would not do so, but I've never used it, similar to other pipes and therefore didn't implement further.

The pipe feature would require to create a dedicated Docker mount of the copied or mounted project directory (that is apart from the --deployment option and its argument) so that any pipe can operate with it. IIRC, that was the concrete blocker as it needs to be transparent for both existing modes.

So what the current implementation does, is faking the call and continuing with the next steps if there are any. So every pipe is a no-op (no operation), but also not a failure.

@ktomk Uh, I see, thank you. I mainly wanted to use this tool to test the pipes I'm creating, any plan to support pipes in the future?

Not sure, I would need to look into this and no idea when that will be.