Release Config
Release configuration is a fundamental setup that outlines the organisation of packages within a project, streamlining across different lifecycle of your project, such as validating, building, deploying/release of artifacts. In flxbl projects, a release config is used to define the concept of a domain/subdomains. This configuration is instrumental when using sfp commands, as it allows for selective operations on specified packages defined by a configuration. By employing a release configuration, teams can efficiently manage a mono repository of packages across various teams.
The below table list the options that are currently available for release configuration
Parameter | Required | Type | Description |
---|---|---|---|
releaseName | No | String | Name of the release config, in flxbl project, this name is used as the name of the domain |
pool | No | String | Name of the scratch org or sandbox pool associated with this release config during validation |
excludeArtifacts | No | Array | An array of artifacts that need to be excluded while creating the release definition |
includeOnlyArtifacts | No | Array | An array of artifacts that should only be included while creating the release definition |
dependencyOn | No | Array | An array of packages that denotes the dependency this configuration has. The dependencies mentioned will be used for synchronization in review sandboxes |
excludePackageDependencies | No | Array | Exclude the mentioned package dependencies from the release definition |
includeOnlyPackageDependencies | No | Array | Include only the mentioned package dependencies from the release definition |
releasedefinitionProperties | No | Object | Properties of release definition that should be added to the generated release definition. See below |
A release configuration also can contain additional options that can be used by certain sfp commands to generate release definitions. These properties in a release definiton alters the behaviour of deployment of artifacts during a release
Release Definition Properties
Parameter | Required | Type | Description |
---|---|---|---|
releasedefinitionProperties.skipIfAlreadyInstalled | No | boolean | Skip installation of artifact if it's already installed in target org |
releasedefinitionProperties.baselineOrg | No | string | The org used to decide whether to to skip installation of an artifact. Defaults to the target org when not provided |
releasedefinitionProperties.promotePackagesBeforeDeploymentToOrg | No | string | Promote packages before they are installed into an org that matches alias of the org |
releasedefinitionProperties.changelog.repoUrl | No | Prop | The URL of the version control system to push changelog files |
releasedefinitionProperties.changelog.workItemFilters | No | Prop | An array of regular expression used to identify work items in your commit messages |
releasedefinitionProperties.changelog.workitemUrl | No | Prop | The generic URL of work items, to which to append work item codes. Allows easy redirection to user stories by clicking on the work-item link in the changelog. |
releasedefinitionProperties.changelog.limit | No | Prop | Limit the number of releases to display in the changelog markdown |
releasedefinitionProperties.changelog.showAllArtifacts | No | Prop | Whether to show artifacts that haven't changed between releases |
Last updated