Category:Deployment

From ControlTier

Jump to: navigation, search


File:Icon-DeploymentObject.png The Deployment type provides commands defining life cycles for software deployment and configuration.

Service, Site, Builder, and Updater are all subtypes of Deployment.


Contents

Reference

Core type model

Definition

Metadata

Each Deployment is described with the following fields:

  • type: Deployment type (or subtype)
  • name: a symbolic name for the deployment
  • installroot: Installation directory
  • basedir: Base directory

Project XML

A Deployment can be registered in XML using the project.xml format. Here is an example.

File listing: deployment.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project PUBLIC "-//ControlTier Software Inc.//DTD Project Document 1.0//EN" 
    "project.dtd">
<project>
  <!--
      **
      ** Define the Deployment 
      **
  -->
  <deployment 
      type="Deployment"
      name="deployment1" 
      description="A fictitious deployment." 
      installRoot="/opt/deployment/installroot" 
      basedir="/opt/deployment/basedir">

  </deployment>
</project>

You can load this XML file using the ProjectBuilder load-objects command like so:

ctl -p project -m ProjectBuilder -c load-objects -- -filename deployment.xml

Querying

Use the ProjectBuilder find-objects command to list all "Deployment" instances:

 $ ctl -p demo -m ProjectBuilder -c find-objects -- -type Deployment
 |
 |--(Deployment) deployment1

Subcategories

This category has only the following subcategory.

C

Pages in category "Deployment"

The following 8 pages are in this category, out of 8 total.

C

D

D cont.

P

U

Development