Skip to content

scaletest: use new format (no config file required) #5202

Closed
@deansheather

Description

@deansheather

Remove the old JSON configuration format and convert the individual job types into subcommands of coder loadtest.

$ coder scaletest create-workspaces \
  --count 1000 \
  --template "name or ID" \
  [--parameters-file "path/to/file"] \
  [--parameter key="value"] \
  [--no-cleanup] \
  [--no-cleanup-failures] \
  [--no-wait-for-agents] \
  [--run-command "some command to run over reconnecting-pty in each workspace in the default shell"] \
  [--run-pty-size "80x24"] \
  [--run-timeout "5m"] \
  [--run-expect-timeout] \
  [--run-expect-output "expect this in command output"] \
  [--run-log-output] \
  [--connect-mode "derp|direct"] \
  [--connect-hold] \
  [--connect-hold-duration "5m"] \
  [--connect-url "http://localhost:4/"] \
  [--connect-interval "1s"] \
  [--connect-timeout "10s"]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions