Skip to content

Commit 52d20a8

Browse files
Document k6 cloud --upload-only (#1206)
Co-authored-by: Oleg Bespalov <[email protected]>
1 parent b4985d3 commit 52d20a8

File tree

1 file changed

+20
-0
lines changed
  • src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options

1 file changed

+20
-0
lines changed

src/data/markdown/translated-guides/en/02 Using k6/05 k6 Options/02 Reference.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,26 @@ export const options = {
14251425

14261426

14271427

1428+
## Upload Only
1429+
1430+
A boolean specifying whether the test should just be uploaded to the cloud, but not run it. Available in `k6 cloud` command.
1431+
1432+
This would be useful if you would like to update a given test and run it later. For example, updating test scripts of a scheduled test from the CI pipelines.
1433+
1434+
| Env | CLI | Code / Config file | Default |
1435+
| --- | ------------- | ------------------ | ------- |
1436+
| `K6_CLOUD_UPLOAD_ONLY` | `--upload-only` | N/A | `false` |
1437+
1438+
1439+
<CodeGroup labels={[]} lineNumbers={[false]}>
1440+
1441+
```bash
1442+
$ k6 cloud --upload-only script.js
1443+
```
1444+
1445+
</CodeGroup>
1446+
1447+
14281448
## User agent
14291449

14301450
A string specifying the user-agent string to use in `User-Agent` headers when sending HTTP

0 commit comments

Comments
 (0)