Sub topic 1
From Change Sets to a Managed Release Process
Prerequisites
Assume you know Salesforce sandboxes, metadata, and basic Git concepts such as branches, commits, and pull requests. You also need a Git provider account and basic command-line skills.
From Change Sets to a Managed Release Process
A change set is a Salesforce package that moves metadata between connected orgs. It can work for small, manual releases, but it provides limited history, review, and coordination. DevOps Center uses a source-driven process instead. Changes move through Git and connected Salesforce environments in a repeatable path.
Source Control as the Source of Truth
Source control stores the project files and their history. A commit records a specific change. A branch isolates work until it is ready for review. This gives the team an auditable record and makes it possible to compare, review, and recover changes.
A typical Salesforce project has this structure:
{
"packageDirectories": [
{ "path": "force-app", "default": true }
],
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "62.0"
}The force-app directory contains the metadata tracked by Git. The repository, rather than an individual sandbox, becomes the shared release record.
What DevOps Center Is and How It Is Built
DevOps Center is Salesforce’s interface for managing source-driven releases. Its main objects have distinct roles:
| Object | Role |
|---|---|
| Project | Connects the repository and release process |
| Environment | A Salesforce org used by a stage |
| Stage | A point in the delivery path |
| Pipeline | The ordered stages |
| Work item | A tracked feature, fix, or change |
A work item links a business change to its branch and metadata. A pipeline then moves that work through environments such as development, user acceptance testing, and production.
Enabling DevOps Center and Creating a Project
An administrator enables DevOps Center, grants the required permissions, and creates a project. During setup, select the Git repository and its default branch. Keep the project focused on one release process so its history and pipeline remain understandable.
Connecting Environments and the Repository
Add each Salesforce org as an environment and assign it to a stage. Connect the repository so DevOps Center can compare metadata, create branches, and record promotions. Confirm that the repository branch and org contents start from a known, compatible baseline.
Designing a Pipeline and Its Stages
Order stages according to the organization’s release controls. A common path is Development → UAT → Production. Each promotion should have a clear owner, validation step, and approval rule.
Exercise
Why does DevOps Center use both work items and pipeline stages?
Show answer
A work item identifies and tracks one change, while stages define the environments and approvals that the change passes through.