Font size:
Updater
A site updater.
Overview
Design
- Super Type
- Mediator
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 1 |
| Logger Name | Updater |
Constraints
Commands
Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.
BuildAndUpdate
runs the build and deployment processes
- Usage
- BuildAndUpdate -buildstamp <>
Workflow
Success Handler
| Subject | [${context.type}:${context.name} @ ${framework.node}] ${command.name} - SUCCESS |
| File | ${modules.dir}/Deployment/templates/notice.html |
Error Handler
| Notify |
|
| Report |
Workflow failed. |
Options
| Option | Description |
|---|---|
| buildstamp | build id |
Change-Dependencies
Queries model and then switches dependencies
- Usage
- Change-Dependencies [-allowmultiple <false>] [-buildstamp <>] [-defaultPackageName <^$>] [-deploymenttype <Deployment>] [-failIfNotReplaced <true>] [-packagetype <Package>] [-version <>]
Workflow
Options
| Option | Description |
|---|---|
| allowmultiple | if true, allow multiple matches via regex |
| buildstamp | build identifier |
| defaultPackageName | default package name regex |
| deploymenttype | type of deployment |
| failIfNotReplaced | if true, fails if any packages don't have a matching replacement |
| packagetype | package type |
| version | package version |
Update
update the site
- Usage
- Update
Workflow
Success Handler
| Subject | [${context.type}:${context.name} @ ${framework.node}] ${command.name} - SUCCESS |
| File | ${modules.dir}/Deployment/templates/notice.html |
buildersBuild
runs the builders
- Usage
- buildersBuild -buildstamp <> [-command <Build>] [-resourcetype <[^\.]*Builder>]
Options
| Option | Description |
|---|---|
| buildstamp | |
| command | command to dispatch |
| resourcetype | type to dispatch |
runChangeDependencies
queries model and then switches a set of dependencies
- Usage
- runChangeDependencies [-allowmultiple <false>] [-buildstamp <>] [-defaultPackageName <^$>] [-deploymenttype <Deployment>] [-failIfNotReplaced <true>] [-packagetype <Package>] -version <>
Options
| Option | Description |
|---|---|
| allowmultiple | if true, allow multiple matches when default regex is included |
| buildstamp | build identifier |
| defaultPackageName | default package name regex |
| deploymenttype | type of deployments to modify |
| failIfNotReplaced | if true, fails if any packages don't have a matching replacement |
| packagetype | type of packages to change |
| version | version of packages to change to |
updateSites
runs the update cycle for the Site
- Usage
- updateSites [-buildstamp <>] [-command <Update>] [-resourcetype <[^\.]*Site>]
Options
| Option | Description |
|---|---|
| buildstamp | ignored |
| command | command to dispatch |
| resourcetype | type to dispatch |
Related Types
The following types are defined for use with Updater.
UpdaterDefaultPackageName
Overview
UpdaterDefaultPackageName:
An Updater setting to configure a default package name used by Change-Dependencies
Design
- Super Type
- UpdaterSetting
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
Attributes
Exported Attributes
| Name | Property |
|---|---|
| defaultPackageName | settingValue |
UpdaterSetting
Overview
UpdaterSetting:
An updater setting
Design
- Super Type
- Setting
| Role | Abstract. (Objects cannot be created.) |
| Instance Names | Unique |


