Successfully reported this slideshow.
Your SlideShare is downloading. ×

Salesforce CI pipelines demystified, Mariia Pyvovarchuk

Salesforce CI pipelines demystified, Mariia Pyvovarchuk

Download to read offline

CI pipelines in Salesforce can save a huge amount of developers’ time which otherwise would be spent managing this process. They also help to prevent a lot of mistakes related to deploying the changes.

We’re going to have hands-on experience on how to successfully create and deploy CI pipelines, reduce manual work and eliminate human error to build a more effective solution. Moreover, we are going to explore some of the options based on typical requirements and processes.

CI pipelines in Salesforce can save a huge amount of developers’ time which otherwise would be spent managing this process. They also help to prevent a lot of mistakes related to deploying the changes.

We’re going to have hands-on experience on how to successfully create and deploy CI pipelines, reduce manual work and eliminate human error to build a more effective solution. Moreover, we are going to explore some of the options based on typical requirements and processes.

More Related Content

More from CzechDreamin

Related Books

Free with a 30 day trial from Scribd

See all

Salesforce CI pipelines demystified, Mariia Pyvovarchuk

  1. 1. Salesforce CI pipelines demystified by Mariia Pyvovarchuk
  2. 2. #CD22 ● Introduction ● About Continuous Integration (CI) ● CI platforms ● About SFDX and scratch orgs ● Benefits of using CI ● GitHub Actions ● Authentication ● Demo ● Alternatives. ● QA Agenda
  3. 3. #CD22 Hi! I’m Mariia, Salesforce developer at Noltic 🇺🇦
  4. 4. #CD22 An example of CI based on GitHub About Continuous Integration (CI)
  5. 5. #CD22 1. Helps detect conflicts quickly. 2. Makes the deployment process faster. 3. Help keeping different environments in sync. 4. Formatt Code. 5. Boosts security. 6. Makes roll-back process easier. 7. Improves code quality by automated code scanning and testing. Benefits of using CI
  6. 6. #CD22 ● GitHub Actions ● Circle CI ● Jenkins ● GitLab Pipelines ● Bitbucket Pipelines ● TravisCI CI Platforms
  7. 7. #CD22
  8. 8. #CD22 About scratch orgs. Limitations.
  9. 9. #CD22 sfdx force:limits:api:display -u <name of your devhub> Check org limitations
  10. 10. #CD22 GitHub Actions Github Repository
  11. 11. #CD22 SFDX_AUTH_URL: force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl> Command in terminal: sfdx force:org:display -u my-demo --verbose Authentication
  12. 12. #CD22 1. .yml file construction. 2. Create a simple pipeline in GitHub. 3. What can be done with .yml file configurations. 4. Create new branch, push changes and show how new pipeline is started and run on the scratch org. 5. Commit changes and let CI run tests. Demo
  13. 13. #CD22 Single event: Multiple events: Adding issue event: Adding filters (branch namesPRs): Workflow magic
  14. 14. #CD22 Using branches-ignore or tags-ignore keywords. Workflow ignoring magic:
  15. 15. #CD22 1. CI also can be performed without SFDX (using Ant for example). 2. Using Sandboxes instead of Scratch orgs. Alternatives in Salesforce
  16. 16. #CD22 Sandbox pipeline
  17. 17. #CD22 GitHub Actions documentation: https://docs.github.com/en/actions Simple step-by-step guide: https://www.salesforceben.com/how-to-build-a-ci-cd-pipeline-for-salesforce/ CI by Gearset: https://docs.gearset.com/en/articles/605227-continuous-integration https://medium.com/@maheshchouhan1995/ci-cd-using-gearset-309332ae8a9c Best practices: https://www.copado.com/devops-hub/blog/salesforce-ci-cd-best-practices-build-run-test-cddd About CI: https://www.qentelli.com/thought-leadership/insights/continuous-integration Links and sources:
  18. 18. #CD22 Q/A
  19. 19. Thank you! #CD22

×