Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

UI Text Box
typenote

Note that the --json flag must come before job submit.


Submit-Wait-Download

...

The --downloadOutput flag of the job submit command submits a set of scenes, waits for them to complete rendering and then downloads the outputs. It works with both sceneFile and batchFile.

When waiting for the render to finish, a progress bar is shown. Once the rendering is finished, it downloads the output to the directory specified by the --downloadOutput flag.

Code Block
$ ccloud --json job submit --sceneFile /drive/scenes/toyota-chr/toyota-chr.vrscene --downloadOutput /drive/download/download-scenes/
Code Block
{"status":"success","type":"analyze step"}
{"status":"success","type":"validate step"}
{"jobID":"IwuTUGmU6ydVBVyD","jobName":"toyota-chr","jobURL":"https://cloud.chaos.com/jobs/IwuTUGmU6ydVBVyD","message":"Job created.","type":"output"}
{"message":"Uploading started.","type":"info","uploadSize":"0.00B"}
{"type":"progress","progress":100}
{"jobID":"IwuTUGmU6ydVBVyD","jobURL":"https://cloud.chaos.com/jobs/IwuTUGmU6ydVBVyD","message":"Scene uploaded successfully. Job ID: IwuTUGmU6ydVBVyD\nCheck the rendering progress on https://cloud.chaos.com/jobs/IwuTUGmU6ydVBVyD","type":"output"}
{"type":"progress","progress":0}
{"type":"progress","progress":5}
{"type":"progress","progress":6}
{"type":"progress","progress":20}
{"type":"progress","progress":42}
{"type":"progress","progress":79}
{"type":"progress","progress":99}
{"type":"progress","progress":100}
{"message":"job IwuTUGmU6ydVBVyD is completed","jobId":"IwuTUGmU6ydVBVyD","state":"completed","type":"output"}
{"message":"Rendering finished, downloading outputs...","type":"output"}
{"message":"Downloading output for job 'IwuTUGmU6ydVBVyD' (586.72KB)","sizeString":"586.72KB","type":"output"}
{"type":"progress","progress":0}
{"type":"progress","progress":59}
{"type":"progress","progress":60}
{"type":"progress","progress":100}
{"type":"progress","progress":100}
{"message":"downloaded output of job IwuTUGmU6ydVBVyD successfully","type":"output"}


Status Check

...

Completed Job

...

The Chaos Cloud Client App binary includes an extensive built-in help for all of its commands and subcommands. Use the --help flag to see it. To see the top-level help:

Code Block
$ ccloud --help

 To To check for particular sub-command, add the flag after this command:

Code Block
$ ccloud job submit --help
$ ccloud job list --help