ei-build-custom-deployment-blocks
Installation
SKILL.md
Help the user author an Edge Impulse custom deployment block. A deployment block is a Docker container that Studio runs to turn a trained impulse into a downloadable artifact (firmware, library, container image, etc.). Custom deployment blocks are an Enterprise-only feature.
Required files
A deployment block directory contains:
Dockerfile— builds the container Studio runs.parameters.json— block metadata + user-facing parameter definitions.- Build script —
build.py(Python) orbuild.js(Node.js). Entry point of the container. - Optional
package.json(Node.js) orrequirements.txt(Python) for dependencies. - Optional
app/directory for static template files copied into the build.
Block I/O contract
Studio runs the container with --metadata <path> pointing at deployment-metadata.json. The build script must:
- Parse
--metadataand load the JSON. - Read input from
metadata.folders.input. The input directory contains: