Options
All
  • Public
  • Public/Protected
  • All
Menu

Class instantiated to create a Software Delivery MachineConfiguration. Combines commands and delivery event handling using goals.

Goals and goal "implementations" can be defined by users.

The most important element of a software delivery machine is setting zero or more push rules. This is normally done using an internal DSL

Type parameters

Hierarchy

Implemented by

Index

Properties

channelLinkListeners

channelLinkListeners: ReadonlyArray<ChannelLinkListener>

closedIssueListeners

closedIssueListeners: ReadonlyArray<ClosedIssueListener>

commandHandlers

commandHandlers: Array<Maker<HandleCommand>>

configuration

configuration: Configuration & O

Automation client and machine configuration this machine will run in

eventHandlers

eventHandlers: Array<Maker<HandleEvent<any>>>

extensionPacks

extensionPacks: ReadonlyArray<ExtensionPack>

firstPushListeners

firstPushListeners: ReadonlyArray<PushListener>

goalCompletionListeners

goalCompletionListeners: ReadonlyArray<GoalCompletionListener>

goalExecutionListeners

goalExecutionListeners: ReadonlyArray<GoalExecutionListener>

goalFulfillmentMapper

goalFulfillmentMapper: GoalImplementationMapper

goalsSetListeners

goalsSetListeners: ReadonlyArray<GoalsSetListener>

ingesters

ingesters: string[]

name

name: string

newIssueListeners

newIssueListeners: ReadonlyArray<NewIssueListener>

pullRequestListeners

pullRequestListeners: ReadonlyArray<PullRequestListener>

pushMapping

pushMapping: PushMapping<Goals>

Return the PushMapping that will be used on pushes. Useful in testing goal setting.

returns

repoCreationListeners

repoCreationListeners: ReadonlyArray<RepoCreationListener>

repoOnboardingListeners

repoOnboardingListeners: ReadonlyArray<ProjectListener>

startupListeners

startupListeners: ReadonlyArray<StartupListener>

tagListeners

tagListeners: ReadonlyArray<TagListener>

updatedIssueListeners

updatedIssueListeners: ReadonlyArray<UpdatedIssueListener>

userJoiningChannelListeners

userJoiningChannelListeners: ReadonlyArray<UserJoiningChannelListener>

Methods

addChannelLinkListener

addClosedIssueListener

addCodeInspectionCommand

addCodeTransformCommand

addCommand

addEvent

addExtensionPacks

  • Add capabilities from these extension packs. This is the primary SDM extension mechanism. Extension packs are typically brought in as Node modules, and can contribute goals as well configure SDM behavior.

    Parameters

    Returns this

addFingerprintDifferenceListener

addFirstPushListener

addGeneratorCommand

addGoalApprovalRequestVoter

addGoalCompletionListener

addGoalContributions

  • addGoalContributions(goalContributions: GoalSetter): this
  • (hint: prefer withPushRules)

    Add goal setting contributions that will be added into SDM goal setting. Decorates other goal setting behavior.

    For example, always do fingerprints: sdm.addGoalContributions(onAnyPush().setGoals(FingerprintGoal))

    Or, sometimes do a custom local deploy goal: sdm.addGoalContributions( whenPushSatisfies(IsSdm, IsInLocalMode).setGoals( new Goals("delivery", LocalSdmDelivery)));

    Parameters

    • goalContributions: GoalSetter

      contributions to goals

    Returns this

addGoalExecutionListener

addGoalsSetListener

addIngester

addNewIssueListener

addPullRequestListener

addRepoCreationListener

addRepoOnboardingListener

addStartupListener

addTagListener

addTriggeredListener

addUpdatedIssueListener

addUserJoiningChannelListener

setGoalApprovalRequestVoteDecisionManager

withPushRules

Generated using TypeDoc