-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Allow for use of >
to perform string Folding
#702
Comments
Which cmd block above is problematic? |
The last command: ➜ task podman-run2
task: [podman-run2] podman run
--rm
--read-only
--env="CONTAINER_DEBUG=true"
--env="inject_arg_MRA_API_BASE=philrockssocks"
--mount="type=tmpfs,destination=/var/cache/nginx"
--mount="type=tmpfs,destination=/usr/share/nginx/html"
--entrypoint="/bin/bash"
-it
localhost/fhirmemberrecordapp:latest
Error: requires at least 1 arg(s), only received 0
task: Failed to run task "podman-run2": exit status 125 The expected behavior is that the |
I'm getting some inconsistent behavior. And I found several bugs in the upstream yaml package that's used in go-yaml/yaml#827 The fix would be to identify a different yaml package to use that doesn't have this bug (but may also have others), OR wait for a fix upstream. We should keep this issue open as a reminder to update the dependency when a fix is released, but otherwise, there's nothing much I can do. Test Case 1version: '3'
tasks:
yo:
cmds:
- >
GREETING=hello
SUBJECT=human
echo "${GREETING}, ${SUBJECT}"
Test Case 2version: '3'
tasks:
yo:
cmds:
- >
GREETING=hello
SUBJECT=human
echo "${GREETING}, ${SUBJECT}"
Test Case 3version: '3'
tasks:
yo:
cmds:
- >
GREETING=hello
SUBJECT=human
echo "${GREETING}, ${SUBJECT}"
Test Case 4version: '3'
tasks:
yo:
cmds:
- >
GREETING=hello
SUBJECT=human
echo
"${GREETING}, ${SUBJECT}"
Test Case 5version: '3'
tasks:
yo:
cmds:
- >
GREETING=hello
SUBJECT=human
echo \
"${GREETING}, ${SUBJECT}"
|
Two years later and all those downstream bugs are still open. |
Feature Request
Please allow the use of YAML
>
folding for strings. Example:The second
podman-run2
is the desired format. When I've used this, Task doesn't seem to follow that then see's only the first line.The text was updated successfully, but these errors were encountered: