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
parses vars and var-file and does apply, I want to see if there is a way to change the order, I want -var-file to go first and -var to go after, as far as I know, the last one overrides the previous value.
The reason: there can be common variables in the file and a user would want to override them as needed in tests.
Hm, I don't think simply swapping the order is the right answer, as I'm sure there are users who prefer the current order too. So is there a way to allow users to specify the order?
I suspect that if one is sensitive to the order of how the varfile and vars are passed in, it makes more sense to manually construct the list of args using an ExtraArgs type option variable. It does add redundancy to the API, but I think is more robust to the use cases where the exact order of args matters.
This call:
parses
vars
andvar-file
and does apply, I want to see if there is a way to change the order, I want-var-file
to go first and-var
to go after, as far as I know, the last one overrides the previous value.The reason: there can be common variables in the file and a user would want to override them as needed in tests.
Current order:
Expected order:
The text was updated successfully, but these errors were encountered: