Skip to content

Commit 5dfbac4

Browse files
committed
binary provisioning: remove gck6 auth requirement
Signed-off-by: Pablo Chacin <[email protected]>
1 parent 27edc07 commit 5dfbac4

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

docs/sources/k6/next/extensions/run-extensions-using-binary-provisioning.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,17 @@ This is an experimental feature. Breaking changes might occur prior to the featu
1717

1818
k6 supports [extensions](https://grafana.com/docs/k6/<K6_VERSION>/extensions/) as a way of extending k6 native functionality, and support a wider variety of use cases.
1919

20-
Using k6 with extensions locally requires users to build a [custom k6 binary](https://grafana.com/docs/k6/<K6_VERSION>/extensions/#xk6-makes-custom-binaries) that includes the extension, which can then be used to run a test script. With the Binary Provisioning feature, Grafana Cloud k6 users can run tests with a [limited set of extensions](https://grafana.com/docs/grafana-cloud/testing/k6/author-run/use-k6-extensions/#supported-extensions-in-grafana-cloud), without having to manually build a k6 binary.
20+
Using k6 with extensions locally requires users to build a [custom k6 binary](https://grafana.com/docs/k6/<K6_VERSION>/extensions/#xk6-makes-custom-binaries) that includes the extension, which can then be used to run a test script. With the Binary Provisioning feature, k6 users can run tests with a [limited set of extensions](https://grafana.com/docs/grafana-cloud/testing/k6/author-run/use-k6-extensions/#supported-extensions-in-grafana-cloud), without having to manually build a k6 binary.
2121

22-
The `archive` and `inspect` commands also support Binary Provisioning to allow creating archives for Grafana Cloud.
22+
The `archive` and `inspect` commands also support Binary Provisioning to allow creating archives.
2323

2424
## Before you begin
2525

2626
To use Binary Provisioning, you'll need:
2727

2828
- k6 v1.0 or greater [installed on your machine](https://grafana.com/docs/k6/latest/set-up/install-k6/).
29-
- A [Grafana Cloud account](https://grafana.com/auth/sign-up/create-user).
3029

31-
## Set the Binary Provsioning environment flag
30+
## Set the Binary Provisioning environment flag
3231

3332
To enable Binary Provisioning, you must set the `K6_BINARY_PROVISIONING` environment variable to `true`:
3433

@@ -49,14 +48,6 @@ $Env:K6_BINARY_PROVISIONING = "true"
4948

5049
{{< /code >}}
5150

52-
## Log in to Grafana Cloud
53-
54-
To use Binary Provisioning, you must [authenticate to Grafana Cloud](https://grafana.com/docs/grafana-cloud/testing/k6/author-run/tokens-and-cli-authentication/#authenticate-with-the-login-command) using the `k6 cloud login` command:
55-
56-
```bash
57-
k6 cloud login --token <API_TOKEN>
58-
```
59-
6051
## Run a test
6152

6253
After setting the `K6_BINARY_PROVISIONING` environment variable and logging in to Grafana Cloud, you can run a test using the `k6 cloud run` command:
@@ -118,5 +109,3 @@ The output includes information about which dependencies were detected, and the
118109
119110
- Only extensions supported in Grafana Cloud are supported.
120111
- Output extensions are not supported.
121-
- Running scripts from stdin is not supported.
122-
- Only files with extensions `.js`, `.ts` or `.tar` can be used. Other extensions will not invoke the Binary Provisioning mechanism.

0 commit comments

Comments
 (0)