Salesforce DevOps Tutorial: How to Build a CI/CD Pipeline using CircleCI and GitHub

preview_player
Показать описание
In this episode we go over how to setup a simple CI/CD pipeline for Salesforce using CircleCI and GitHub. This will get the foundation ready for you to build out a much more robust pipeline for your org. In the future I plan to add supplementary videos covering some more difficult aspects of setting up these pipelines

GitHub Repo:

Open SSL generate-keys script:

Pluralsight Bash Shell Scripting Courses:

Follow all of our social media here:

Salesforce development books I recommend:

Good Non-SF Specific Development Books:

-------------------------------------------------------------------------------------------------------------------------

Table of Contents:

0:00 - Intro
0:24 - Why Setup a CI/CD Pipeline
6:32 - Setting up a GitHub repo
7:40 - Linking your VSCode Project to your GitHub repo
15:48 - Setting up CircleCI with your GitHub repo
18:34 - CircleCI YAML File Walkthrough Pt. 1
30:24 - Generating an SSL Cert for free using OpenSSL
33:33 - Setting up a connected app in Salesforce for CircleCI
37:55 - Setting up Environment Variables in CircleCI
39:53 - Tips on how to keep your pipeline implementation secure
42:10 - CircleCI YAML File Walkthrough Pt. 2
54:26 - Demoing our Pipeline
1:04:20 - Outro

DISCLAIMER: The views and ideas expressed on this YouTube channel and blog are based on past development experiences and may not always work for your particular scenarios. The advice in these videos may also become outdated as technology advances. They should be used as examples for educational purposes only. Using any shown solutions in your own org is not advisable since they are example scenarios.

#salesforce #salesforcedeveloper #salesforceadmin
Рекомендации по теме
Комментарии
Автор

Your Salesforce content is some of the best I have found. Thanks for making the video.

DanielJRoberts
Автор

Man! This is really a good tutorial, excellent explanation. Thank you for taking your time to teach other people. It's greatly appreciated.

delpanpy
Автор

"There's a lot of confusing things in here..." -> Absolutly!

alobamify
Автор

That is awesome. Thanks so much for sharing.

stevenduong
Автор

Nice walk-through. Thanks for documenting this. What I may have missed in your video is does this work with dev sandboxes or scarch orgs (or both)?

MatthewPomar
Автор

In case someone else runs into the same issue: "Unable to locate package openjdk-8-jdk"

Changed it to:
echo "Installing JDK"
sudo apt update
sudo apt install openjdk-11-jdk

alobamify
Автор

As always, amazing! Did you ever get to make the follow-up videos?

alobamify
Автор

Will you be providing content on the side work needed to set up CI/CD pipeline? Background context such as YAML file and other items?

tomtam
Автор

Hi Friend,
1. What's the need to generate OpenSSL certificate? Just by having the ClientId & ClientSecret can't we connect to the org via connected app?
2. Didn't we deployed all the metadata to the sandbox in the first Job and run the tests? Then why are we deploying and running the tests yet again in the third Job?
3. How did CircleCI know that ApexScanner analysis wasn't passed? So throw an error and don't execute next job

biswajitsamantaray
Автор

can we use jenkins for the same purpose? pls make a video on it

roshanbande
Автор

Question: Is there a way to deploy the code that has only been changed rather than deploy the entire Force-App folder? Seems like this could create headaches for teams if code that wasn't changed is deployed.

droberts
Автор

Will there be any future videos regarding CI/CD with sfdx and Jenkins? Would love to hear your thoughts about CI with sfdx and jenkins.

Abdullah-usvi
Автор

Could you make a video on Azure DevOps deployment plzzzz.

starop
Автор

Hi can you do one video salesforce delta deployment in azure devops yaml file please it is very helpful Thank you in advance.

bharathsimha
welcome to shbcf.ru