You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user ideally I would be able use the python integration to build+deploy a Nuclio function by pointing toward a local directory with source code and a config yaml file (or a zip file containing those)
Currently there is similar functionality available for git or a remote zip archive:
It would be great to be able to eliminate the need to use ConfigSpec to build a configuration and instead point to a local directory with a yaml file similar to the functionality for git or remote zip files.
# Build and deploy in one step
addr = deploy_code('path/to/code_and_config/', name='hw', project='myproj')
The text was updated successfully, but these errors were encountered:
I agree, sometimes we have to have multiple *.py files.
For instance, most of CVAT models have multiple .py files that can be deploy with nuctl cli tool.
Requested feature
As a user ideally I would be able use the python integration to build+deploy a Nuclio function by pointing toward a local directory with source code and a config yaml file (or a zip file containing those)
Currently there is similar functionality available for git or a remote zip archive:
Git python example
Remote Zip Jupyter example
Current Functionality
I can build source code from a local file (e.g.
.py
file) like so:I can build the config using the
ConfigSpec
object like so:And combining these two can deploy like so:
Desired Functionality
It would be great to be able to eliminate the need to use ConfigSpec to build a configuration and instead point to a local directory with a yaml file similar to the functionality for git or remote zip files.
The text was updated successfully, but these errors were encountered: