Creating a Pipeline

Create a pipeline to deploy artifacts.

Each service in Oracle Cloud Infrastructure (OCI) integrates with Identity and Access Management (IAM) for authentication and authorization. To grant users permission to access the DevOps build pipelines and other resources, you have to create dynamic groups and IAM policies.

For creating dynamic groups and policies for deployment pipelines, see Deployment Pipeline Policies. For more details, see DevOps IAM Policies.

Before you create the pipeline, you must have a DevOps project.

For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. Select a project, and click Create pipeline.
    3. Enter a name and description for the pipeline. Adding a description is optional.
    4. For Pipeline type, select Create a deployment pipeline.
    5. (Optional) To add tags to the pipeline, click Show tagging options. Tagging is a metadata system that lets you organize and track the resources in your tenancy.

      If you have permissions to create a resource, you also have permissions to add free-form tags to it.

      To add a defined tag, you must have permissions to use the tag namespace.

      For more information, see Resource Tags.

    6. Click Create pipeline.
    You can add the following stages to the pipeline:
  • To create a deployment pipeline, run the create command:

    oci devops deploy-pipeline create --project-id

    To get all the commands for deploy-pipeline:

    oci devops deploy-pipeline -h
  • To create a deployment pipeline, use the CreateDeployPipeline operation.