Promoting a Versioned Custom Software Source to a Lifecycle Stage
Promote the content in a versioned custom software source in OS Management Hub to provide that content to all instances assigned to a lifecycle stage.
When promoting a versioned source to a lifecycle stage, the service:
- Associates the versioned custom software source with the lifecycle stage.
- Detaches previously attached software sources from the instance.
- Attaches the versioned custom software source associated with the lifecycle stage to the instance.
- Installs all the packages and modules in the attached versioned custom software source to the instance.
See also:
Navigate
- On the Lifecycle environments list page, select the name of the lifecycle. If you need help finding the list page, see Listing Lifecycle Environments.
- Select Stages.
- Select the stage in the list.
- Select Promote content.
-
Enter the details for the promotion:
Name: Enter a name for the job. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the job. Avoid entering confidential information.
Description: (Optional) Enter a description for the job. Avoid entering confidential information.
If promoting to the first stage, select the Versioned custom software source:
- Compartment: Select the compartment that contains the software source.
- Select the software source from the list.
Schedule: Select when to run the job.
- Select Promote.
Use the oci os-management-hub lifecycle-stage promote-software-source command and required parameters to promote a versioned custom software source to a lifecycle stage. Promoting the software source to the first stage requires you use the software-source-id option.
oci os-management-hub lifecycle-stage promote-software-source --stage-id ocid --software-source-id ocid [OPTIONS]For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the PromoteSoftwareSourceToLifecycleStage operation to promote a versioned custom software source to a lifecycle stage.