Create custom jobs¶
When you create a custom job, you must assemble the required execution environment and files before running the job. Only the execution environment and an entry point file (typically run.sh
) are required; however, you can designate any shell (.sh
) file as the entry point. If you add other files to create the job, the entry point file should reference those files. In addition, to configure runtime parameters, create or upload a metadata.yaml
file containing the runtime parameter configuration for the job.
To register and assemble a new custom job in the Registry, click Registry > Jobs. The Jobs tab is organized into four sub-tabs by job type: Generic, Metrics, Notifications, and Retraining. The Generic tab opens when the Jobs tab opens for the first time. While reviewing your jobs, you can switch tabs below the Jobs header:
To create a job with the job type defined by the current tab, click + Add new [job type] (or the minimized add button when the job panel is open).
To select a different job type or creation strategy from any job-type tab, next to the add button, click , select one of the following custom job types, and proceed to the configuration steps linked in the table.
Preview
The jobs template gallery is on by default.
Feature flags: Enable Custom Jobs Template Gallery, Enable Custom Templates
Custom job type | Description |
---|---|
Generic | |
Add new generic job | Manually add a job to implement automation (for example, custom tests) for models and deployments. |
Create new from template | Add a generic job from a template provided by DataRobot. |
Custom Metric | |
Add new hosted metric job | Manually add a job for a new hosted metric, defining the metric settings and associating the metric with a deployment. |
Create new from template | Add a job for a hosted metric from a template provided by DataRobot, associating the metric with a deployment and setting a baseline. |
Retraining | |
Add new retraining job | Manually add a job implementing a code-based retraining policy. |
Create new from template | Add a job, from a template provided by DataRobot, implementing a code-based retraining policy. |
Notification | |
Add new notification job | Manually add a custom job implementing a code-based notification policy. |
Create new from template | Add a job, from a template provided by DataRobot, implementing a code-based notification policy. |