You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proper signal propagation to stop, kill, pause the actions, it's quite stable now. But ctrl+z may break execution, minor bug for me
Env variables substitution. Example
script: |
# Uses host environment variable during action compilation
echo "${MY_HOST_ENV_VAR}"
# Result: echo "my host var"
# Escape replacement with double $$, uses variable from script runtime
echo "$${MY_LOCAL_ENV_VAR}"
# Result: echo "${MY_LOCAL_ENV_VAR}"
# Use \$(...) for escaping inside an argument like in normal bash
# Use \$$i to escape inside an argument and not replace $i with a host variable.
bash -c "for i in \$(seq 60); do echo \$$i; sleep 1; done"
# Result: bash -c "for i in \$(seq 60); do echo \$i; sleep 1; done"
I tried to rework escape to be more user friendly, but it became overcomplicated. So I will leave it as is with $$, need to document it.
I played with current_bin variable to run sub actions. We may pass sensitive data like keyring passphrase to sub execution. As well as some other global flags like -vvvv. I investigated the secure ways to pass that. It may be a critical part to implement first to handle such cases easily without actions from user.
Current
Expected
The text was updated successfully, but these errors were encountered: