-
Notifications
You must be signed in to change notification settings - Fork 491
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
ARTILLERY_CLOUD_API_KEY has no effect in .env file #2582
Comments
+1 |
thanks for the bug report @bessey, will fix in the upcoming v2.0.8 release (due on Monday) |
hassy
added a commit
that referenced
this issue
Mar 17, 2024
Make values available as early as possible for any code that may need them. Fixes #2582
hassy
added a commit
that referenced
this issue
Mar 18, 2024
Make values available as early as possible for any code that may need them. Fixes #2582
Fix now released on v.2.0.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ARTILLERY_CLOUD_API_KEY has to be in your actual environment, whereas .env works for other environment variables.
Version info:
Running this command:
I expected to see this happen:
The test runs with results pushed to Artillery Cloud, because my Artillery Cloud key is set in the .env file
Instead, this happened:
Error: API key is required to record test results to Artillery Cloud
See https://docs.art/get-started-cloud for more information
Files being used:
If you run with a true env var, i.e.
ARTILLERY_CLOUD_API_KEY npx artillery run-fargate
it works fine, but this makes it unique in this regard I think?The text was updated successfully, but these errors were encountered: