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
- Lev Lazinskiy
- Lev Lazinskiy
- Lev Lazinskiy
- Terminal RSS Reader With Nom
- SQLite DB Migrations with PRAGMA user_version
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- No-One Escapes the Permanent Underclass from Fernando Borretti
- Make AI Boring Again from charity.wtf
- The logical destination of LLMs from Andy Bell
- Revised rules of engineering leadership. from Irrational Exuberance
- The circus freaks of open source from Drew DeVault's blog
- Clanker: A Word For The Machine from Armin Ronacher's Thoughts and Writings
- I ran a half-marathon! from gluecko.se
- My Running Tips from Kevin Bell's Blog
Articles from blogs I follow around the net
Y si sí?
No les ha pasado que existe una cosa que queremos lograr, puede ser un objetivo, una meta, o un sueño. Y por más que lo hayamos intentado, no lo hemos conseguido. Puede ser el trabajo ideal, el amor de nuestras vidas, o el propio éxito. Y por más que se in...
via Martin Morales July 2, 2026In defense of AI mandates
When you need to execute a coordinated change on a tight timeline, a mandate is the best and most honest way to fund it.
via charity.wtf July 2, 2026This Page Left Intentionally Blank
I was popping off about negation being an act of creativity, when Blake Watson introduce me to the idea of the “This Page Intentionally Left Blank”-Project (Internet Archive): In former times printed manuals had some blank pages, usually with the remark “t...
via Jim Nielsen’s Blog July 2, 2026Generated by openring