AtgProjectUpdater
Updater type designed orchestrate the end-to-end build and deployment process
Overview
Design
- Super Type
- Updater
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Notification | false |
Template Directory | |
Data View | Children, proximity: 1 |
Logger Name | AtgProjectUpdater |
Constraints
Allowed Child Dependencies
- AtgUpdater
- DispatchChangeDependencies1
- DispatchOptions1
- NotificationList 1
- Requestor 1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- Node
Attributes
Defaults for Imported Attributes
Name | Default |
---|---|
dispatchChangeDependencies | true |
dispatchOptions | buildstamp |
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.
Build
Build the project
- Usage
- Build -buildstamp <> [-command <Build>] [-resourcetype <.*Updater>]
Workflow
- dispatchCmd
Success Handler
Subject | |
File |
Options
Option | Description |
---|---|
buildstamp | Unique build and deployment identifier |
command | Build command |
resourcetype | Builder type |
BuildAndDeploy
runs the build and deployment processes
- Usage
- BuildAndDeploy -buildstamp <>
Workflow
Success Handler
${entity.attribute.notificationList} | |
Subject | SUCCESS - [${context.type}:${context.name} @ ${framework.node}] ${command.name} |
File | ${module.dir}/templates/notice.html |
Error Handler
Notify |
|
Report |
Workflow failed. |
Options
Option | Description |
---|---|
buildstamp | build id |
Deploy
update the site
- Usage
- Deploy -buildstamp <> [-command <Deploy>] [-resourcetype <.*Updater>]
Workflow
- dispatchCmd
Success Handler
Subject | |
File |
Options
Option | Description |
---|---|
buildstamp | Unique identifer for the build and release |
command | Deploy command |
resourcetype | Type to update |
Related Types
The following types are defined for use with AtgProjectUpdater.
NotificationList
Overview
NotificationList:
List of email addresses used by the project updater for workflow success/failure notification
Design
- Super Type
- Setting
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Attributes
Exported Attributes
Name | Property |
---|---|
notificationList | settingValue |
Requestor
Overview
Requestor:
Email address of a project's owner
Design
- Super Type
- Setting
Role | Concrete. (Objects can be created.) |
Instance Names | Unique |
Attributes
Exported Attributes
Name | Property |
---|---|
requestor | settingValue |