mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-09 07:13:36 -05:00
Substitute variable in Extra Commands #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @beraj on GitHub (Aug 22, 2024).
This may be more of a question or something I am doing wrong, but wanted to mention it in case it is something that needs attention. I am working on moving all my containers over to deployments in Monitor. One of my containers needs extra commands appended:
--workspace=/siyuan/workspace/ --accessAuthCode=${AuthCode}
It appears that the environment file variable doesn't get substituted. If I replace the variable with a literal, it is working fine. If this is something I am doing incorrectly, I apologize. I tried several different iterations including the syntax noted in docs of 'AuthCode'.
Thanks for your work on this project! It is really cool and I am having fun playing with it.
@mbecker20 commented on GitHub (Aug 22, 2024):
Good point, the variables are currently only interpolated into the actual environment variables.
I've considered this as well and will add "interpolate variables into extra args" in 1.14.
Thanks the feedback and I'm thrilled you are enjoying it 🦎