Updating the DevOps Location for a Stack

Update the DevOps repository or other location details used by a stack in Resource Manager. The updated location is used when you run jobs on the stack.

Note

For information about configuration source providers, see Managing Configuration Source Providers.
    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
    2. On the Stacks page, select the compartment that contains the stack that you want.
    3. Click the name of the stack that you want.
    4. On the Stack details page, go to Edit and then select Edit stack.
    5. On the Edit stack page, select a different DevOps repository or branch.
    6. Change other values as needed.
      For information about the fields, see Creating a Stack from DevOps.
    7. Click Next twice.
    8. Click Save changes.
  • Use the oci resource-manager stack update-stack-update-dev-ops-config-source-details command and required parameters to update the DevOps location used by a stack.

    oci resource-manager stack update-from-devops --stack-id <stack_OCID> --config-source-project-id <DevOps_project_OCID> --config-source-repository-id <DevOps_repository_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.

  • Use the UpdateStack operation to update the DevOps location used by a stack.

    For an example of the configSource part of the request, see UpdateDevOpsConfigSourceDetails.