Skip to content

Level 2 - Salesforce DevOps contributor advanced

Time: about 6 h 15. Observed on Labs 2.1 to 2.9: median 8 h 09, 3 learners, fastest 6 h 04.

Before you start: Level 1. Not optional: every lab here assumes the loop is automatic for you.

The story

Three months in. You have delivered a dozen stories and the loop is muscle memory. Then the ones that do not go through start arriving.

A deployment that fails on a dependency nobody told you about. A field that cannot be made required because the org already holds thirty records without it. Reference records and a nightly batch that have to follow your change into every org, and no deployment will carry them for you. Mariia, who edited the same flow and the same permission set as you and merged first.

This is the half of the contributor path that makes you ready for a real CI/CD project: when something breaks, you know where to look and what to do, and you lose minutes instead of days.

What you will do

Lab Title Time
2.1 Backpromote: catch your dev org up with the team 20 min
2.2 Fix a deployment error caused by a missing dependency 35 min
2.3 Fix broken records with an Apex deployment action 45 min
2.4 Ship reference data and a batch with deployment actions 45 min
2.5 Pass the code quality gate and Apex test coverage 30 min
2.6 Permission sets, profiles and why a grant disappears 30 min
2.7 Resolve a Git merge conflict with a teammate 30 min
2.8 Recover from committing the wrong metadata 25 min
2.9 Capstone: deliver a User Story that has it all 1 h 40

The Training menu

Everything this course asks you to run outside the product's own buttons lives in one menu. Open the Welcome page, and under CUSTOM MENUS click the Training: Level 2 card. Its commands take over the page:

The Level 2 training menu, opened on the Welcome page

Eight of them, and the labs call them by these names:

Command What it does
Set up my training environment Rebuilds a scratch org that expired, and points the pipeline at it
Where am I? Says which level and lab you reached, and what to do next
Simulate my teammates Creates the teammate branches and Pull Requests a lab needs
Set up one of my training orgs Deploys the Helios app and its data into an org you choose
Check my work Verifies the lab you just finished
Claim my badge Checks the whole level, then opens your badge claim filled in
Update my course Brings the changes the course received since you forked it, through a Pull Request into integration
Reset this level Starts Level 2 again: integration, and if you want the lab branches and the orgs (Start the course over)

There is one menu per level, and each holds only what that level needs, so nothing in front of you is for a lab you have not reached.

The same commands are in the SFDX HARDIS view of the left bar, under Training: Level 2. Either route runs the same thing.

If you are joining here

You can start Level 2 without having done Level 1, as long as you accept that the labs assume the loop. Get to a known state first:

  1. Do Lab 1.1 and Lab 1.2 in full: tools, your Developer Edition org, the scratch orgs, fork, Actions, the secrets
  2. Welcome page > Training: Level 2 > Reset this level

That puts your integration branch at training/start-level-2, which is what the repository looks like once Level 1 is done.

If you are coming back after a break

The three scratch orgs Level 1 created live 30 days. If Orgs Manager no longer lists one of them as Connected, it expired: Welcome page > Training: Level 2 > Set up my training environment. It creates a new one with the Helios app, points the pipeline at it, and leaves the others alone.

A new helios-dev gets the app from the branch you have checked out when it is created. Lab 2.1, step 1c, says how to check that it holds your Level 1 stories, and how to put them there.

Start with Lab 2.1

Questions and comments