-
-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to pipe commands in tooling #1918
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues. |
. |
I'm suffering from this too. Appending to a file doesn't work with |
@neclimdul i am not able to replicate this. We make fairly extensive usage of pipe and other special symbols in our tests
I'd encourage you to spin up those examples against the latest Lando and go through the verification steps in the README and report back. This might help us figure out whats different about your setup that is causing this to not work. |
Just getting around to actually testing this. I figured it was fixed and this was actually closed so I hadn't looked at it. My bad.... I think i figured out the problem I don't know if it is actually a bug anymore though maybe it is. The yaml handling is interesting at least. See the example at the end of this comment. I'm in the habit of quoting complicated strings in yaml to make sure they're parsed as expected by yaml parsers but somehow in this case it is leading to lando treating the commands differently. Its been a while since I've read the yaml spec but that doesn't seem like these two lines should even be different to lando by the time it see's them but somehow it is. Its even more confusing that somehow the pipe is both triggering pecl to run but also somehow getting into the pecl arguments. Really weird. Anyways, at least there's this comment for me to find google searching the next time I can't figure this out :-D
|
#1918: Fix bug causing piping in docker execd tooling to silently fail
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues. |
fair enough. I tested again and the test case in #1918 (comment) passed so I think this is 100% fixed now! |
Yes, i think this should have been closed awhile ago but thanks for the housekeeping! |
Recreating #1832 because stale bot closed it. This is still broken and completely breaks the documented workflow requiring manual interaction to setup a lando instance and do standard tooling processes.
These issues are closed but it is still not possible to use pipes in tooling or other commands
#951 #967
Like this redirection
name: landobrokenpipe
recipe: custom
config:
webroot: .
services:
test:
type: node:8
tooling:
compile:
service: test
cmd:
- echo "Do some compile steps..."
- sed ERROR compile.log > errors.txt
or this pipe I'd like to use to test pecl yaml libraries in d8.
name: d8
recipe: drupal8
services:
appserver:
run_as_root:
- "apt-get update"
- "apt-get install -y libyaml-dev"
- "printf "\n" | pecl install yaml-2.0.4"
The text was updated successfully, but these errors were encountered: