Install Deno, if needed: https://docs.deno.com/runtime/manual/getting_started/installation
$ deno run --allow-run=codefresh ./run.ts --pipeline testing/stress-worker-single [--count=1] [--runtime] [--trigger <trigger> --branch <branch>]
Available flags:
--pipeline— required. Example:--pipeline project/runtime--count— optional, default1. Example:--count 1000--runtime— optional, default — pipeline settings. If multiple runtimes are given, workload will be split randomly across all given runtimes. Example:--runtime foo --runtime bar--trigger— optional, trigger id or name--branch— optional, repo branch for trigger. Only makes effect if--triggeris specified as well.
$ deno run --allow-run=codefresh ./terminate.ts --pipeline testing/stress-worker-single [--limit=100] [--all]
Available flags:
--pipeline— required. Example:--pipeline project/runtime--limit— optional, default100. Example:--limit 10--all— optional, defaultfalse. If set totrue, will terminate all builds in bunches of "--limit" length.