Category:Updater
From ControlTier
The Updater type is useful for coordinating end-to-end build and deployment processes. Updater coordinates the build phase by calling all Builder resources. It then calls the Deploy workflow to all configured Site resources.
Contents |
Reference
Definition
Project XML
An Updater can be registered in XML using the project.xml format. Here is an example.
File listing: updater.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 Updater
**
-->
<deployment
type="Updater"
name="qaSimpleApp"
description="Coordinates the simple app build and deploy in QA"
startuprank="1">
<resources>
<resource type="Builder" name="simpleApp"/>
<resource type="Site" name="simpleApp"/>
</resources>
</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 updater.xml
Querying
Use the ProjectBuilder find-objects command to list all "Updater" instances:
$ ctl -p demo -m ProjectBuilder -c find-objects -- -type Updater | |--(Updater) qaSimpleApp
For a graphical alternative, you can use the Graphical resource editor and view the updaters there.
Go to the Updater list. You will see it list all updaters.
| ||||||||||||||
Pages in category "Updater"
The following 4 pages are in this category, out of 4 total.