After a content is checked in to a source control endpoint, you can check out the content and deploy it to a content endpoint. When the content is checked out from Source Control, the content is marked with the Git Hash Code for reference.
Verify that the content has been checked in to the source control endpoint. See Check in Content to a Source Control Endpoint.
- On the My Services Dashboard, click Content Management.
- Under Content, click ADD CONTENT.
Note: You can check out the content inline as well.
- Choose whether to test or deploy the content package in addition to capturing it, and click PROCEED.
- Enter the capture details for the content package.
- From the Select Capture Endpoint drop-down menu, select the source control endpoint to capture content from.
- Select Get the latest content to retrieve the latest content dependencies rather than the dependencies the content was initially captured with.
- Select the content type and content to capture.
- Select Include all dependencies to capture any dependencies associated with the content.
Dependencies are stored in vRealize Suite Lifecycle Manager, not the source control endpoint.
- If the content is ready for production, select Mark this version as production ready.
- Enter a description for this content version in the Comments field.
- Click Next.
- Enter test details for the content endpoint.
This option appears only if you selected to test the content package.
- Select one or more content endpoints to specify the environments to run tests on.
- Select Deploy Content to deploy the content in the endpoint before running tests.
- Select Stop test deployment on first failure to stop the test deployment as soon as it encounters an error.
- Select Run unit tests to run available unit tests on the content.
- Select Stop unit tests on first failure to stop testing if any unit test fails.
- Select a server to run unit tests on from the Select a Unit Test Server drop-down menu.
You must have a vRealize Orchestrator test package imported to use a unit test server.
- Click Next.
- Enter deployment details for the content package.
This option appears only if you chose to test the content package.
- Select one or more content endpoints from the Select Release Endpoints drop-down menu to specify the production environments where the system releases the content.
- Select Stop release deployment on first failure to stop deployment as soon as the system encounters a failure.
- Enter a comment that explains why the content is being released in the Release Comment field as writing comments are mandatory.
- Click SUBMIT.
vRealize Suite Lifecycle Manager captures the content from the source control endpoint and creates a new version of the content in the content catalog. This version is marked SourceControl Enabled, which tells vRealize Suite Lifecycle Manager the state of the content when deploying to a content endpoint so the content is checked in against the right point in time.
What to do next
If you are using source control and have multiple capture content endpoints, only deploy content from the content catalog is marked SourceControl Enabled. This communicates the state of the content when deploying to a content endpoint so the content is checked in against the right point in time.