Editing an Artifact

Update the reference information of an artifact.

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

Note

An artifact cannot be updated if it's referenced in more than 20 deployment pipelines.
    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. On the DevOps Projects page, select the project for which you want to update an artifact.
    3. On the details page of the project, from the left side, click Artifact.
    4. On the Artifacts page, click the artifact that you want to update.
    5. On the details page of the artifact, click Edit.
    6. In the Edit artifact panel, update the details, as required. You can modify artifact name and change artifact type and source.
    7. Click Save.
  • To edit an artifact, run the update command:

    oci devops deploy-artifact update --artifact-id

    To edit a container image repository artifact, run the update-ocir-artifact command:

    oci devops deploy-artifact update-ocir-artifact --artifact-id

    To edit an inline artifact, run the update-inline-artifact command:

    oci devops deploy-artifact update-inline-artifact --artifact-id

    To edit an Artifact Registry artifact, run the update-generic-artifact command:

    oci devops deploy-artifact update-generic-artifact --artifact-id

    To edit a helm chart, run the update-helm-repository-artifact command:

    oci devops deploy-artifact update-helm-repository-artifact --artifact-id

    To get all the commands for deploy-artifact:

    oci devops deploy-artifact -h

    To get help for the update command:

    oci devops deploy-artifact update -h
  • To edit an artifact, use the UpdateDeployArtifact operation.