ut4.py

UT4 sample script

usage: ut4.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}] [-c CLUSTER_ID]
              {env,unload,upload-images,build-cloud,prepare,build,load,checkin}
              ...

Positional Arguments

command Possible choices: env, unload, upload-images, build-cloud, prepare, build, load, checkin

Named Arguments

--loglevel

Possible choices: DEBUG, INFO, WARNING, ERROR

Set the script log level

-c, --cluster_id
 The cluster id. Default local

Sub-commands:

env

Print environment variables

ut4.py env [-h]

unload

Unload the specified target definition in the cloud

ut4.py unload [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

upload-images

Upload tutorial images to the cloud

ut4.py upload-images [-h] [targets [targets ...]]

Positional Arguments

targets The targets to upload

build-cloud

Build the specified target for the cloud

ut4.py build-cloud [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

prepare

Copy SDK and generate the project files

ut4.py prepare [-h] [-n]

Named Arguments

-n, --dry-run

Just print what it will do

Default: False

build

Build the specified target

ut4.py build [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

load

Load the specified target definition in the cloud

ut4.py load [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

checkin

Checkin the files back (for internal use)

ut4.py checkin [-h] [-n]

Named Arguments

-n, --dry-run

Just print what it will do

Default: False