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

Accept parameters from environment variables #106

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Conversation

szkiba
Copy link
Collaborator

@szkiba szkiba commented Dec 4, 2023

For integration into k6 (as an experimental module), the setting of dashboard parameters from environment variables must be supported.

The parameters must also be specified in environment variables. The name of the environment variable can be formed from the name of the parameter by adding the prefix K6_WEB_DASHBOARD_ and converting it to uppercase. That is, the parameter called foo can be specified in the K6_WEB_DASHBOARD_FOO environment variable.

@szkiba szkiba linked an issue Dec 4, 2023 that may be closed by this pull request
@szkiba szkiba merged commit 24d784b into master Dec 4, 2023
9 checks passed
@szkiba szkiba deleted the feat-env-params branch December 4, 2023 15:19
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 this pull request may close these issues.

Accept parameters from environment variables
1 participant