R1D33 Salesforce DX with Continuous Integration

| programming | salesforce | ci |

One of the most powerful parts of Salesforce DX and the new scratch org model is that it allows you to quickly create fresh orgs for doing unit and integration testing of your code.

The trailhead module on Continuous Integration  walks us through getting this working on TravisCI.

The sample project on GitHub is well documented and is a great starting place for getting this working on a CI provider of your choice. Once you are up and running things are pretty straightforward. However getting started can be a bit tricky because you need find a way to get a secret key that is used in the Oauth dance to be securely available in your CI process.

On Travis, they have a really nice encrypted file feature that lets you quickly encrypt and decrypt files on the fly. This is a perfect for this sort of thing.

I am working on getting a sample project in place for getting this same workflow to work on CircleCI and I hope to have the kinks ironed out in the next few days.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

tweet

India tech friends: I just bought my ticket to IndiaFOSS in BLR Sept 26-27: https://fossunited.org/indiafoss/2026 Want to meet? Email me: https://sive.rs/contact

via Derek Sivers June 12, 2026

Claude Fable is relentlessly proactive

After two days of experience with Claude Fable 5 I think the best way to describe it is relentlessly proactive. It knows a whole lot of tricks and it will deploy pretty much any of them to get to its goal. I'll illustrate this with an example. I was hackin...

via Simon Willison's Weblog: Entries June 11, 2026

“Must hate yourself to submit”

I linked to a bunch of speedrunning videos before, but this 43-minute video by hbomberguy from 2018 is a good introduction to the whole concept and why people care: It’s really funny, romantic (maybe a bit too romantic), and it has a few great examples and...

via Unsung June 11, 2026

Generated by openring