Install UCF Tools¶
The latest UCF tool release can be downloaded from https://developer.nvidia.com/ucf
After downloading the package using the link above, run:
$ sudo apt remove ucf-tools # remove old version
$ rm -rf ~/.ucf_workspace/ ~/.cache/ucf_registry/ # Clear old cache
$ rm ~/.config/ucf/registry.toml # Remove old config file
$ sudo apt install libyaml-cpp-dev python-yaml
$ sudo dpkg -i ucf_tools_1.5.0_amd64.deb
## It installs tools to /opt/nvidia/ucf-tools
Get the NGC API Key - Refer to Generating Your NGC API Key
Setup NGC API Key
NGC_API_KEY=<NGC_API_KEY>
ucf_app_builder_cli registry repo set-api-key -a $NGC_API_KEY
ucf_app_builder_cli registry repo sync -n <REPO_NAME>
Verify the installation¶
MS Builder¶
$ ucf_ms_builder_cli --help
usage: ucf_ms_builder_cli [-h] [-v] [-va] ...
positional arguments:
service Perform actions on a microservice
registry Perform actions on registry
component Perform actions on components
optional arguments:
-h, --help show this help message and exit
-v, --version Print MS Builder Version
-va, --version-all Print all versions
$ ucf_ms_builder_cli --version
Version:
MS Builder: v1.5.0
$ ucf_ms_builder_cli --version-all
Versions:
MS Builder: v1.5.0
UCF MS Spec: v1.5.0
App Builder¶
$ ucf_app_builder_cli --help
usage: ucf_app_builder_cli [-h] [-v] [-va] ...
positional arguments:
app Perform actions on apps
service Perform actions on a microservice
optional arguments:
-h, --help show this help message and exit
-v, --version Print MS Builder Version
-va, --version-all Print all versions
$ ucf_app_builder_cli --version
Version:
App Builder: v1.5.0
$ ucf_app_builder_cli --version-all
Versions:
App Builder: v1.5.0
UCF MS Spec: v1.5.0