This is currently not working and throw an "Command not found" error:
exec-finish:
- type: local
command:
- "echo 'Hallo'"
This instead works:
exec-finish:
- type: local
command: "echo 'Hallo'"
Depending on the line syntax, the commands get quoted differently:
|
if len(execution.Command.Multi) >= 1 { |
This call works:
connection.RawShellCommandBuilder(execution.Command.Single)
This not:
connection.ShellCommandBuilder(execution.Command.Multi...)
But also the single line version has a wired behaviour:
The command ct docker:cli database:updateschema is not working on local side. Remote all is fine.
As a workaround, i'm currently doing this:
exec-finish:
- type: local
command: "docker-compose exec -T --user application app /bin/bash -c '/app/vendor/bin/typo3cms database:updateschema'"
This is currently not working and throw an "Command not found" error:
This instead works:
Depending on the line syntax, the commands get quoted differently:
go-sync/sync/execution.go
Line 53 in 9bb7583
This call works:
connection.RawShellCommandBuilder(execution.Command.Single)
This not:
connection.ShellCommandBuilder(execution.Command.Multi...)
But also the single line version has a wired behaviour:
The command
ct docker:cli database:updateschemais not working on local side. Remote all is fine.As a workaround, i'm currently doing this: