Enterprise Ebook
Enterprise Ebook
Salesforce DevOps
at enterprise scale
Discover the best practices and benefits
of streamlining DevOps for Salesforce
2
Contents
Introduction...........................................................................................4
Who is this ebook for?..................................................................................................... 5
What is DevOps?..............................................................................................................6
Why DevOps for Salesforce is different ........................................................................ 7
The benefits of DevOps for Salesforce..........................................................................8
Why DevOps for Salesforce is needed......................................................................... 10
Measuring success.............................................................................32
Process............................................................................................................................34
People impact..........................................................................................................35
Business impact......................................................................................................37
Next steps........................................................................................... 44
About Gearset......................................................................................45
4
Introduction
The best enterprise Salesforce teams are underpinned
by great DevOps processes. The 2023 State of Salesforce
DevOps report has shown that 50% of enterprise teams
have adopted leading tools and processes, and of those
teams 42% are seeing monthly return on investment
(ROI) of over $50,000.
As you set out, it’s best to begin with a roadmap that provides
a clear understanding of what DevOps for Salesforce means
in an enterprise context, and clear objectives for your
implementation. This ebook should function as an introduction
to the key principles and best practices for enterprises seeking
to implement DevOps for Salesforce.
42%
are seeing monthly return on investment
(ROI) of over $50,000 following adoption
INTRODUCTION 5
| What is DevOps?
DevOps aims to streamline an organization’s development
workflows, using the best practices for processes and tooling.
The benefits
of DevOps
for Salesforce
A well-oiled and efficient DevOps process
with reliably repeatable deployment
practices has a whole host of benefits that
save more than just time:
There are even more benefits besides, but they all boil
down to one key outcome:
90%
The 2023 State of Salesforce
DevOps report found that 90%
of organizations had increased
demand on their Salesforce team.
...
111
12
The components
of a successful
DevOps process
There are many moving parts in your DevOps process, technical
and non-technical. While both are important, neither can be truly
optimal without the existence of the other.
...
THE COMPONENTS OF A SUCCESSFUL DEVOPS PROCESS 13
...
| Culture
A strong DevOps culture forms the foundation of any successful
DevOps process. It’s also the hardest thing to implement if the
desire for change isn’t there, and a challenge to maintain if there
isn’t mutual understanding of the reasonings behind your
DevOps processes.
One of the key benefits of DevOps is breaking down silos between teams
and individuals, which requires a level of communication and transparency
that can be complex in an enterprise organization. While it may be
uncomfortable to open up work to judgment and scrutiny, leaders can
mitigate this by upholding the value of peer review. Transparency creates
opportunities for feedback and learning from different angles, and will
contribute to individual personal growth.
| Strategy
Businesses make significant investments in their Salesforce orgs,
and expect to see returns. Therefore, it’s essential to have a solid
strategy in place for delivering changes and new applications to your
end users across the orgs that you manage. And this strategy will and
should be expected to change over time. The key principle of DevOps
is continuous improvement, and as such your strategy and delivery
process should follow this philosophy.
⟶ Communication
Clear and efficient lines of communication should be established between
all the stakeholders involved. Configurators, Testers, Business Analysts,
Users, and Leadership should all have visibility into the development cycle,
and lines of communication that establish trust. We recommend setting
up automatic progress notifications, via services such as Slack, which will
be delivered to the relevant stakeholders.
Communication isn’t just about the methods used. It can only be effective
when it’s clear and concise. And this is incredibly important in an iterative
DevOps environment.
THE COMPONENTS OF A SUCCESSFUL DEVOPS PROCESS 15
⟶ Application management
You’re likely already using an IT service management system like JIRA,
ServiceNow, or something similar to manage user stories and epics
for your development. Your strategy shouldn’t only consider how these
applications are used, but how they’re integrated into your development
lifecycle for greater transparency and vision. With transparency and
visibility into what each member of the team is working on, it makes
it easier to distribute workload, anticipate delivery windows, and make
sure work isn’t being duplicated between individuals or teams.
“
[Before adopting DevOps] different teams and individuals
worked in silos. This meant it was difficult for us to see
who was working on what. And there was no consistent
deployment process: some people used change sets while
others used SFDX. At one point we had 65 sandboxes all
completely out of sync. With no single source of truth, work
was often duplicated and thrown away as a result, wasting
precious developer time.
| Version control
A Git-based version control system (VCS) is at the heart
of any modern DevOps process. Version control allows your
team to track all the changes made and easily review individual
contributions, while making it possible for multiple contributors
to work on the same features at the same time.
⟶ Branching strategies
The C2FO team also had version control on their radar, as they
wanted to improve collaboration and introduce code reviews
to their process.
| Testing
Unit testing is an integral part of software development, reflected
in Salesforce’s requirement that developers test at least 75%
of any new code they deploy to a production org. But the tests that
are written need to be useful and meaningful to make sure your team
can easily review and reliably build on your code in future.
Automation can help you by testing changes every time they are merged
into the main branch and/or deployed to another environment. An
agile DevOps setup will also let you populate development or testing
environments with data from production, so you can check your code
works with actual data — real (albeit sometimes “dummy”) data that will
come in all sorts of shapes that you might not have thought about when
you started writing your code.
| CI/CD
Continuous integration (CI) builds on a Git-based workflow and
automates the process of testing and validating changes, making
sure that they can be deployed. Continuous delivery (CD) is about
releasing frequent, small changes to users via an automated
process and reducing the risks associated with big releases.
Taken together, CI/CD takes the pain and risk out of deploying changes
to multiple development environments and on to production. It promotes
an iterative and incremental approach to development, where you aim
to contribute frequent small changes and get immediate feedback from
your team and end users.
“
Their [Salesforce Delivery] team decided to create several
CI jobs for each of the five levels of their deployment process.
With this new setup, issues can be caught earlier and isolated
to upstream environments, rather than reaching UAT and blocking
other work. Adopting [DevOps tooling] really started an evolution,
taking us to where we are today.
82%
of Salesforce teams
are working
towards CI/CD
Source: State of Salesforce DevOps 2023
THE COMPONENTS OF A SUCCESSFUL DEVOPS PROCESS 23
23
THE COMPONENTS OF A SUCCESSFUL DEVOPS PROCESS 24
High-performing DevOps
teams typically restore
service in under an hour
Source: Backups for Salesforce ebook
26
Charting
your Salesforce
DevOps journey
A quality Salesforce delivery model relies on a sound
understanding of the methods for delivering change. How a large
organization goes about handling both day-to-day changes and
long-term changes influences how successful they are in the long
run. This is a core responsibility of a Center of Excellence.
⟶ Leadership
⟶ Governance
⟶ Change management
⟶ Tooling
⟶ Standards
⟶ Metadata management
Who to consider
when building your
DevOps process
Though your DevOps process impacts everyone at your
organization, there are three main groups that you should
consider when determining your approach.
2 End users
As a leader in a Salesforce team, or an executive team responsible
for Salesforce, it’s your responsibility to be able to communicate
why and how Salesforce is changing in your organization.
3 Salesforce team
Your Salesforce team needs the skills to deliver this level of change.
While some of these skills will exist, some team members may be
less familiar with new methods and technologies. Failure to address
this skills gap limits the success of your DevOps implementation and
overall use of Salesforce. 41% of Salesforce teams report that their
team lacking experience is a restricting factor for managing their
Salesforce releases.
That being said, time needs to be set aside for learning and personal
development. Investing in your process is all well and good, but
neglecting the learning journey of your employees that are primarily
responsible for delivery of Salesforce will hamper the effectiveness
and ROI of your investment.
41%
of Salesforce teams report that their team
lacking experience is a restricting factor
for managing their Salesforce releases.
Measuring
success
It’s critical to measure the success of your DevOps
processes, because:
1S %
| Process
The DevOps Research and Assessment (DORA) metrics
are the key metrics that help us to identify the efficiency
of our DevOps process. Along with examples, which
are considered “high performing”, they are:
⟶ People impact
For example, if any of these metrics indicate high performance but only
as a result of your staff regularly working 12+ hour days at their desks,
you’re unlikely to have a happy team. The 2023 State of Salesforce
DevOps report showed that teams are spending an average of 9 hours
each month deploying outside of their contracted hours. This
is not sustainable.
• Ability to collaborate
• Employee sentiment
• Staff retention
• Amount of overtime required
• Non-specialist consultant spend
⟶ Business impact
Providing the right things are built for the right people
(which could be a whole other ebook in itself), you’ll
see the following impact:
Increased revenue
Building a
DevOps Solution
The path to maturing your DevOps process involves decisions
as to what solutions you should adopt. Once you’ve considered
strategy, culture, and formulated an idea of the journey you’ll
go on, it’s time to think about the tech you’ll use to help you.
The time saved by each member of your team could not only be put
towards backlog items, new tickets, or CPD. Those employees could
also learn more about the Salesforce platform and help leverage
it to drive the commercial growth of your business.
| Tooling
Technology plays a huge part in the ease of adoption,
scalability, and value derived from your DevOps process.
There are two key ways that large teams approach tooling.
They may decide to build their own custom solution, or
they work with a vendor to purchase a Salesforce DevOps
platform. Each has benefits and drawbacks, but there tends
to be a preference for working with vendors.
Siloed knowledge
Salesforce makes multiple changes and releases a year that render the
maintenance of a bespoke solution constant. Should a member of the team
leave who has partially built the process or solution, that knowledge leaves
with them and your process could grind to a halt.
BUILDING A DEVOPS SOLUTION 42
⟶ Vendors
⟶ End-to-end solutioning
⟶ Proactive maintenance
While the challenges that vendors solve are largely universal, make sure
you ask questions that relate to your organization’s use of Salesforce
products, alongside concerns with governance, security, and team
knowledge gaps that aren’t currently supported in-house.
For in-depth detail on this paradox, you can find more info
in Gearset’s Build or Buy whitepaper.
44
Next steps
If you’re ready to see how investing further in your
DevOps process can streamline delivery of Salesforce
in your organization, arrange a consultation with us.
We’ll give you specific, tailored advice to help you
reach your business objectives.
Book a consultation
About
Gearset
Gearset is the leading Salesforce DevOps platform,
with powerful solutions for metadata and CPQ
deployments, CI/CD, automated testing, sandbox
seeding and backups. It helps Salesforce teams apply
DevOps best practices to their development and release
process, so they can rapidly and securely deliver
higher-quality projects.
W: gearset.com
E: team@gearset.com
T: +1 (833) 441 7687