Engine-tools CLI¶
nnd engine-tools¶
Used for building/deploying engines
nnd engine-tools [OPTIONS] COMMAND [ARGS]...
Options
-
--version¶ Show the version and exit.
create-new¶
Create a new engine template folder at the given ENGINE_NAME
nnd engine-tools create-new [OPTIONS] ENGINE_NAME
Arguments
-
ENGINE_NAME¶ Required argument
deploy¶
Build engine docker images and optionally run tests.
nnd engine-tools deploy [OPTIONS]
Options
-
-p,--path<buildp>¶ Docker build context path
- Default
.
-
-f,--model-file<mpath>¶ Path to the engine model.yaml to build, if this is a folder model.yaml will be assumed to be in there Examples: nomnom/test/waittask/model.yaml
-
-d,--docker-file<dpath>¶ Path to the engine dockerfile to build, if this is a folder Dockerfile will be assumed to be in there Examples: nomnom/test/waittask/engine.dockerfile
-
-n,--nomitall<nomitall>¶ Specify the nomitall to update [nomitall-prod,nomitall-stage,custom_url]
-
-c,--channel<channel>¶ Channel to deploy to
- Options
stable|beta|dev
-
--dry-run¶ Build engine but do not deploy
-
-y,--yes¶ Skip confirmation prompt
-
-nc,--no-cache¶ Do not use the docker cache
model-update¶
Update staging or prod nomitall model definitions. Defaults to using files from git master/staging branch for prod/staging
nnd engine-tools model-update [OPTIONS]
Options
-
-n,--nomitall<nomitall>¶ Specify the nomitall to update [nomitall-prod,nomitall-stage,custom_url]
-
-dr,--dry-run¶ Do not update nomitall, just output parsed model json
-
-f,--file<model_fn>¶ Model YAML file to deploy
-
-o,--org<org>¶ UUID of the organization to publish the model as
-
-c,--channel<channel>¶ The release channel to deploy to
- Options
stable|beta|dev
-
-y¶ Skip confirmation prompt