Skip to content
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

[bug] venom variable interpolation not working as expected in test file #788

Open
mxm-tr opened this issue Apr 24, 2024 · 0 comments
Open

Comments

@mxm-tr
Copy link

mxm-tr commented Apr 24, 2024

I'm using Venom 0.27 and I have a test file that contains the following vars:

vars:
  kubeconfig.path:          '/tmp/default'
  kubecmd:                  'kubectl --kubeconfig={{.kubeconfig.path}}' 

When I run this test file with --var kubeconfig.path=/tmp/test, I expect the output to be:

kubeconfig.path=/tmp/test
kubecmd="kubectl --kubeconfig=/tmp/test" 

(This is what I get in 0.27)

However, the output with the current version is:

kubeconfig.path=/tmp/test
kubecmd="kubectl --kubeconfig=/tmp/default" 

As you can see, the kubecmd variable is not being interpolated correctly. I understand that Venom may have changed the behavior of variable interpolation in version 0.27, but I'm not sure why the interpolation is not working as expected in this case.

Do you know if this behavior is expected and/or how to fix it?

Thank you!

@mxm-tr mxm-tr changed the title Venom variable interpolation not working as expected in test file [bug] venom variable interpolation not working as expected in test file Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant