QarnotCLI is the Command Line Interface to interact with the Qarnot Computing platform
dotnet publish -c Release -r ubuntu-x64 --self-contained true /p:PublishSingleFile=true -o ./dest/bin
dotnet publish -c Release -r win10-x64 --self-contained true /p:PublishSingleFile=true -o ./dest/bin
./QarnotCLI_Doc/build_doc.sh
The built documentation is thet in QarnotCLI_Doc/DocfxDoccumentation/docfx_project/_site/
, you can view
it for instance by calling
firefox QarnotCLI_Doc/DocfxDoccumentation/docfx_project/_site/index.html
When you use the CLI for the first time you need to set the configuration :
./qarnot config -t [token] -u [qarnot.api] -s [storage.api] -f
./qarnot config -t abcd -u "https://api.qarnot.com" -s "https://storage.qarnot.com"
see documentation
command | sub-command | example |
---|---|---|
task | create | ./qarnot task create --instance 4 --name "Task name" --profile docker-batch --tags TAG1 --constants "DOCKER_CMD=echo Hello World" |
task | infos | ./qarnot task infos --name "Task name" |
task | list | ./qarnot task list |
task | wait | ./qarnot task --id bb7c4f7c-d692-45d4-9c12-83b5a2b88ab3 |
task | abort | ./qarnot task abort --all |
task | delete | ./qarnot task delete --tags TAG1 |
pool | create | ./qarnot task create --name "Pool name" --profile docker-batch --tags TAG1 --pool-is-elastic --min-slot 3 --max-slot 5 |
pool | infos | ./qarnot pool infos --name "Pool name" |
pool | list | ./qarnot pool list |
pool | set | ./qarnot pool set --id bb7c4f7c-d692-45d4-9c12-83b5a2b88ab3 --min-slot 2 |
pool | abort | ./qarnot pool abort --all |
pool | delete | ./qarnot pool delete --tags TAG1 |
job | create | ./qarnot job create --name "Job name" |
job | infos | ./qarnot job infos --name "Job name" |
job | list | ./qarnot job list |
job | abort | ./qarnot job abort --all |
job | delete | ./qarnot job delete --tags TAG1 |
bucket | create | ./qarnot bucket create --name "mybucket" |
bucket | list | ./qarnot bucket list |
bucket | get | ./qarnot bucket get |
bucket | set | ./qarnot bucket set |
bucket | sync-from | ./qarnot bucket sync-from |
bucket | sync-to | ./qarnot bucket sync-to |
bucket | delete | ./qarnot bucket delete --tags TAG1 |
all | ./qarnot all --list |
|
account | ./qarnot account |
|
config | ./qarnot -t abcd -u "https://api.qarnot.com" -s "https://storage.qarnot.com" |