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

vars syntax to read json with relative paths #146

Closed
k2tzumi opened this issue Sep 14, 2022 · 1 comment · Fixed by #150
Closed

vars syntax to read json with relative paths #146

k2tzumi opened this issue Sep 14, 2022 · 1 comment · Fixed by #150

Comments

@k2tzumi
Copy link
Collaborator

k2tzumi commented Sep 14, 2022

Currently it is loaded relative to the runn execution path, but I would like to load it relative to the scenario file.
We believe that the above specification is preferable when trying to manage multiple scenario files distributed in multiple directories.

@k1LoW
Copy link
Owner

k1LoW commented Sep 14, 2022

I agree with the proposal 👍

There is one thing we need to be concerned about.
There may be a case in the future where the Runbook is not a file.

  • When YAML is passed as a string instead of a file in Go code
  • When YAML is passed from STDIN

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

Successfully merging a pull request may close this issue.

2 participants