Skip to content

Commit

Permalink
Use options.ext.loadimpact to provide cloud config in a new script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewslotin committed Oct 30, 2023
1 parent 75edb6e commit f50241d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ export const options = {
// See https://grafana.com/docs/grafana-cloud/k6/get-started/run-cloud-tests-from-the-cli/
// to learn about authoring and running k6 test scripts in Grafana k6 Cloud.
//
// cloud: {
// // The ID of the project to which the test is assigned in the k6 Cloud UI.
// // By default tests are executed in default project.
// projectID: "",
// // The name of the test in the k6 Cloud UI.
// // Test runs with the same name will be grouped.
// name: "{{ .ScriptName }}"
// ext: {
// loadimpact: {
// // The ID of the project to which the test is assigned in the k6 Cloud UI.
// // By default tests are executed in default project.
// projectID: "",
// // The name of the test in the k6 Cloud UI.
// // Test runs with the same name will be grouped.
// name: "{{ .ScriptName }}"
// }
// },
// Uncomment this section to enable the use of Browser API in your tests.
Expand Down

0 comments on commit f50241d

Please sign in to comment.