Open.ControlTier > ModuleForge
 

AtgProjectUpdater

Updater type designed orchestrate the end-to-end build and deployment process

Overview

Open in Workbench AtgProjectUpdater: Updater type designed orchestrate the end-to-end build and deployment process

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

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

  1. dispatchCmd

Success Handler

Email
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

  1. Build
  2. Change-Dependencies
  3. Deploy

Success Handler

Email ${entity.attribute.notificationList}
Subject SUCCESS - [${context.type}:${context.name} @ ${framework.node}] ${command.name}
File ${module.dir}/templates/notice.html

Error Handler

Notify
Email
${entity.attribute.notificationList}
Subject
ERROR - [${context.type}:${context.name} @ ${framework.node}] ${command.name}
File
${module.dir}/templates/notice.html
Report

Workflow failed.

Options

Option Description
buildstamp build id

Deploy

update the site

Usage
Deploy -buildstamp <> [-command <Deploy>] [-resourcetype <.*Updater>]

Workflow

  1. dispatchCmd

Success Handler

Email
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

Open in Workbench 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

Open in Workbench 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