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

Allow setting of environment variables when validating an external script #530

Open
Llandy3d opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request needs-triage

Comments

@Llandy3d
Copy link
Member

Llandy3d commented Mar 6, 2025

When validating an external script, we currently only allow to select the script and we automatically create an archive (k6 archive) to run it.
This works well with scripts created in Studio but it has an issue with scripts created externally that might depend on environment variables, since the user doesn't have a way to define them.

This issue proposes to have a small configuration available to define environments variables the user wants to pass to the k6 archive command when opening an external script before proceeding to the validation.

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant