En este webinar hablaremos de cómo las nuevas herramientas que nos entrega salesforce a nivel de desarrollo, nos pueden llevar a tener mejores procesos de desarrollo en los cuáles tengamos elementos de integración y entrega continua. Compartiremos experiencias y beneficios obtenidos a lo largo de los proyectos utilizando herramientas como salesforce DX y las Scratch Org.
2. Globant proprietary | Confidential information
SFDX e
Integración
Continua
A Point of View and Recommendations
carlos.duque@globant.com
Carlos Duque
3. 1. Presentación
2. Salesforce y Ciclo de Vida de la
Aplicación(ALM)
3. Salesforce DX
4. Ambientes Salesforce
5. Integración Continua(Demo)
6. Experiencias y Beneficios
7. Preguntas
AGENDA
Globant proprietary | Confidential information
AGENDA
5. ● Carlos Duque: carlos.duque@globant.com
● Salesforce Technical Architect 8 años de Experiencia con
salesforce.
● Docente Universidad de Antioquia
● Apasionado por el desarrollo de Software y las prácticas que
impulsen la calidad y productividad en lo que entregamos.
Presentación
Globant proprietary | Confidential information
Presentación
7. The Path to Success is Modern ALM
Benefits:
• Reduce operational risk
• More developer and admin productivity
• Faster app development
• Happier customers and employees
Application lifecycle management that is fast, efficient and trusted
Plan
Code
BuildTest
Release
8. Migrating Changes
Moving data from sandbox to production
Multiple Sandbox
Environments
Production
Deployment
Develop
Test
Train
Version Control
IDE
(integrated development environment)
CVS
❑ Implement version control tools and process to increase auditability
❑ Utilize force.com ANT based migration tool to enable deployment predictability – Identify Buildmaster
10. Introducing Salesforce DX
Build together and deliver continuously
Source-driven development
Greater agility to test out features with confidence
Team collaboration
Increased dev productivity, faster time to market
Continuous integration and delivery
Higher quality code, more automation
Open and prescriptive
Build with the tools and processes you know and love;
bring together Lightning, Force.com, and Heroku
Now Generally Available
12. Salesforce Environments
The safe place to code, build and test
Flexible Fast App Dev
Build apps fast in a cloud-based Sandbox or Scratch Org environment
designed for developers and citizen developers
Build with Trust
Isolated environments guarantee that production data is never impacted
during development and test cycles
Increase Productivity, Increase Innovation
Anyone in your org — Admins, Developers, Trainers — can
test new workflows, customizations or apps prior to roll out
70%
faster
View Scratch Orgs
13. Two types of environments
Designed to support the entire ALM process
Plan
Code
BuildTest
Release
Full and Partial Sandboxes –
are ideal for performance
testing, UAT and staging
Scratch Orgs for
source-driven,
CLI-accessible development
in a disposable environment
Dev and Dev Pro Sandboxes
for individual development
and unit testing
Sandboxes are mirror copies
of production with all of your
metadata and some to all of
your customer data.
14. Sandbox
Flexible Fast App Dev
Build Apps fast in a cloud-based environment
Build with Trust
Your sandbox is a true mirror of production securely available without
any additional setup or management
Increase Productivity, Increase Innovation
Anyone in your org — Admins, Developers, Trainers — can
test new workflows, customizations or apps prior to roll out.
An essential part of the app development
testing through to release
16. Use Case Scratch Orgs Developer Developer Pro Partial Copy Full
Build ● ● ●
QA ● ● ● ●
Integration Testing ● ● ● ●
Batch Data Testing ● ●
Training ● ●
User Acceptance Testing ● ●
Performance or Load
Testing ●
Staging ●
When to use which Environment
17. Features Scratch Orgs Developer Developer Pro Partial Copy Full
Customizable ●
Ephemeral ●
Refresh Interval 1 day 1 day 5 day 29 day
Metadata Version Control Production Production Production Production
Customer Data Sample All Data
Data Limit 200 MB 200 MB 1 GB 5 GB Matches Production
Bringing Scratch Orgs into your ALM Process
19. Code
Develop+ Unit Tests
Build
Integration + QA
Test
Staging + UAT
Release
Training + Deploy
Dev
SBX
PRODFull
SBX
Dev
SBX
Dev
SBX
Partial
SBX
Dev
Pro
SBX
Dev
Pro
SBX
Scratch
Org
Scratch
Org
Scratch
Org
Feature Development 2 ways
Declarative Development:
Code is promoted through
change sets, ant migration,
metadata API
Source-Driven Development:
Changes are tracked in a VCS
with a CLI for source pull and
push, and programmatic testing.
New Tools:
Salesforce DX delivers a suite
of tools and processes to
support modern development
and VCS.
Version Control System (repo)
PROD
Full
SBX
Partial
SBX
CLI-driven changes
Change set promotions