Skip to content

Deployment file not found

Problem

I created a new deployment, or uploaded a new deployment package and my building failed. I'm getting an error like:

Last building failed: Could not find deployment file.

Solution

The deployment package you uploaded does not contain the deployment file UbiOps needs, or the deployment file is not in the right place. Review your deployment package and make sure it is in the following format:

deployment_folder.zip
        deployment_package/
                - deployment.py

                - requirements.txt (optional)
                - libraries/    (optional)
                - ubiops.yaml   (optional)
                - other files & artifacts (optional)
deployment_folder.zip
        deployment_package/
                - deployment.R

                - renv.lock or install_packages.R (optional)
                - ubiops.yaml   (optional)
                - other files & artifacts (optional)

For more information see Deployment package structure.