R1D33 Salesforce DX with Continuous Integration
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
- Great Lakes, Illinois
- My Custom Miniflux CSS Theme
- Are we inside a Sarlacc?
- Setting up ANTLR4 on Windows
- Terminal RSS Reader With Nom
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- A Year Of Vibes from Armin Ronacher's Thoughts and Writings
- Pluralistic: A perfect distillation of the social uselessness of finance (18 Dec 2025) from Pluralistic: Daily links from Cory Doctorow
- Moving from WordPress to Substack from charity.wtf
- Grow, Like a Tree Not a Cancer from Jim Nielsen’s Blog
- Pluralistic: All the books I reviewed in 2025 (02 Dec 2025) from Pluralistic: Daily links from Cory Doctorow
- DEP-18: A proposal for Git-based collaboration in Debian from Optimized by Otto
- [RIDGELINE] No Phones in The Ten-don Shop from Craig Mod — Writer + Photographer
- Open design: the opportunity design students didn’t know they were missing from Ubuntu blog
Articles from blogs I follow around the net
2025 was for AI what 2010 was for cloud (xpost)
The satellite, experimental technology has become the mainstream, foundational tech. (At least in developer tools.) (xposted from new home) I was at my very first job, Linden Lab, when EC2 and S3 came out in 2006. We were running Second Life out of three …
via charity.wtf December 22, 20252025 was for AI what 2010 was for cloud
The satellite, experimental technology has become the mainstream, foundational tech. (At least in developer tools.)
via charity.wtf December 22, 2025What New Developers Need to Know About Working with AI
It’s been a few years since I wrote Letters to a New Developer, about what I wish I’d known when I was starting out. The industry has changed with the […]
via Dan Moore! December 22, 2025Generated by openring