Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
SFDC Seamless
Deployment Techniques
2
HELLO!
I am Pawan Tyagi
Salesforce Enthusiast for 4+ Years
tyagi_2017
”
Any fool can write code that a
computer can understand. Good
programmers write code that
humans can understand.
▹Martin ...
But, Why?
Why is seamless deployment needed?
4
Methodologies
By virtualizationpractice.com
5
Continuous Integration and deployment
By CodeMaze
6
Benefits
▹ Build stuff now
▹ Build stuff faster
▹ Increase your code coverage
▹ Decrease code review time
7
Techniques
▹ Circle CI - CircleCI is a modern continuous integration and continuous
delivery (CI/CD) platform. Configure t...
Scenario
▹ Santosh is a lead.
▹ Roles: Team code review, deployment.
▹ Akash is a developer.
▹ Roles: Implement the functi...
Bit Bucket
Basic Setup10
Production
UAT
DEV
Salesforce
Production
DEV
UAT
Continuous Integration and Deployment
Local Driv...
Show Time
Enough talking, lets see that in
action ;-)
11
Salesforce DX
▹ New development paradigm that shifts the source of truth from the
org to your version control system (VCS)...
References
▹ Bit Bucket Pipeline - https://bitbucket.org/product/features/pipelines
▹ Circle CI - https://circleci.com/doc...
14
THANKS!
Any questions?
You can find me at
▹ tyagi_2017
Upcoming SlideShare
Loading in …5
×

SFDC Seamless Deployment Techniques

713 views

Published on

- Seamless deployment
- Why is seamless deployment needed
- Techniques for seamless deployment
- Scenario to identify the needy of seamless deployment techniques and how to implement it
- Circle CI, Bitbucket Pipeline and Salesforce DX

Published in: Technology
  • Be the first to comment

SFDC Seamless Deployment Techniques

  1. 1. SFDC Seamless Deployment Techniques
  2. 2. 2 HELLO! I am Pawan Tyagi Salesforce Enthusiast for 4+ Years tyagi_2017
  3. 3. ” Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ▹Martin Fowler 3
  4. 4. But, Why? Why is seamless deployment needed? 4
  5. 5. Methodologies By virtualizationpractice.com 5
  6. 6. Continuous Integration and deployment By CodeMaze 6
  7. 7. Benefits ▹ Build stuff now ▹ Build stuff faster ▹ Increase your code coverage ▹ Decrease code review time 7
  8. 8. Techniques ▹ Circle CI - CircleCI is a modern continuous integration and continuous delivery (CI/CD) platform. Configure the continuous integration setting via circle.yml file. Free account providing 1500 minutes build per month. ▹ Bitbucket Pipeline - Pipeline is a continuous integration CI/CD feature provided natively by bit bucket. Configure the continuous integration setting via Bitbucket-pipelines.yml. Free account providing 50 minutes build per month. 8
  9. 9. Scenario ▹ Santosh is a lead. ▹ Roles: Team code review, deployment. ▹ Akash is a developer. ▹ Roles: Implement the functionality with good code quality. ▹ Badan is a developer. ▹ Roles: Implement the functionality with good code quality. 9
  10. 10. Bit Bucket Basic Setup10 Production UAT DEV Salesforce Production DEV UAT Continuous Integration and Deployment Local Drive Continuous Integration Tool Continuous Integration Continuous Integration Continuous Integration Pull Request Pull Request
  11. 11. Show Time Enough talking, lets see that in action ;-) 11
  12. 12. Salesforce DX ▹ New development paradigm that shifts the source of truth from the org to your version control system (VCS). It shifts your development focus from org-based development to artifacts-based development. ▹ Using separate scratch org for particular development, thus, ensuring modularity and reducing complexity in development. ▹ Through the Salesforce CLI, creation of scratch org with deployment of artifacts is fast, also after development, deployment from scratch 12
  13. 13. References ▹ Bit Bucket Pipeline - https://bitbucket.org/product/features/pipelines ▹ Circle CI - https://circleci.com/docs/2.0/ ▹ Cumulus CI - https://github.com/SalesforceFoundation/CumulusCI ▹ Git - https://git-scm.com/ ▹ Salesforce DX- https://trailhead.salesforce.com/en/modules/sfdx_travis_ci/units/sfd x_travis_ci_setup ▹ Unsupported metatype - https://developer.salesforce.com/docs/atlas.en- us.api_meta.meta/api_meta/meta_unsupported_types.htm 13
  14. 14. 14 THANKS! Any questions? You can find me at ▹ tyagi_2017

×