Starting a Pipeline Run
Use a Data Science pipeline run to run the code of the pipeline steps according to the workflow defined in a pipeline.
Pipeline creation sets the infrastructure and the actual use case steps, but the pipeline run runs the pipeline with the specified parameters. A pipeline run provisions the specified infrastructure, runs the pipeline steps, and then deprovisions and destroys the used resources when the pipeline ends.
You can view the pipeline steps, runs, and logs if they exist. You can also override steps and parameters.
These environment variables control the pipeline.
Use the oci data-science pipeline create command and required parameters to create (start) a pipeline run:
oci data-science pipeline create --compartment-id <compartment_OCID> --pipeline-id <pipeline_OCID> ... [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Example 1: JSON File
Use the oci data-science pipeline-run create command and required parameters to create (start) a pipeline run:
oci data-science pipeline-run create --from-json file://create_run.jsonThe following example,
create_run.json, starts a pipeline run by supplying values for the parameters defined in the pipeline:{ "displayName": "Hello Run", "compartmentId": "ocid1.compartment.oc1.......", "projectId": "ocid1.datascienceproject.oc1.....", "pipelineId": "ocid1.datasciencepipeline.oc1.....", # pamaters can be viewed as an interface that allows users to control the behavior of the pipeline "parametersOverride": { "greeting": "Hey", "name": "Alex" } }Example 2: JSON File with Overrides
Run the CreatePipelineRun operation to create (start) a pipeline run.