DevOps Practices That Move the Numbers: 10 Practices and How to Check Your Team Does Them

Most lists of DevOps practices stop at the name. "Do continuous integration" is easy to agree with, and most teams think they already do it. The useful question is narrower: what would you see in your repository, your pipeline and your incident history if the team really did it, and which number gets better when it does?
This page answers that for 10 practices with DORA research behind them. Each one has a short definition, the signal that shows a team really does it, a check you can run today, and the DORA metric it moves. The research comes from DORA: the book Accelerate (2018), the State of DevOps reports from 2014 to 2024, and the 2025 State of AI-assisted Software Development report. At the end there is a small script that scores any git repository against the practices a repository can show, and a list of what it cannot show.
TL;DR
| # | Practice | The signal you really do it | DORA metric it should move first |
|---|---|---|---|
| 1 | Version control for everything, including infrastructure | You can rebuild an environment from the repository | Failed deployment recovery time, change fail rate |
| 2 | Trunk-based development | Branches live hours, not weeks; main gets changes every working day |
Change lead time, deployment frequency |
| 3 | Continuous integration | Every commit builds and tests, with feedback in minutes; a red main is fixed first |
Deployment frequency, change fail rate |
| 4 | Test automation | A red test means a real bug, and flaky tests get fixed or deleted | Change fail rate, deployment rework rate |
| 5 | Deployment automation | Anyone with access can deploy any version with one command | Deployment frequency, failed deployment recovery time |
| 6 | Small batches | A change is done and merged in a week or less, most in a day | Change lead time, change fail rate |
| 7 | Peer review, not a change approval board | Approval happens in the pull request, not in a weekly meeting | Change lead time |
| 8 | Security in the pipeline | Scanners, lockfiles and dependency updates run on every change | Change fail rate |
| 9 | Observability and on-call | An alert, not a customer, tells you something broke | Failed deployment recovery time |
| 10 | Blameless postmortems | Incidents produce fixes that ship, and nobody hides mistakes | Change fail rate over time |
The metric column is our reading of DORA's capability pages, not a ranking from the research.
Prerequisites
- A git repository and a shell. Most checks use plain
git; a few use the GitHub CLI (gh) andjq. - Python 3.9 or later, if you want to run the scorecard script.
- A rough idea of the five DORA metrics. The next section has the short version, and DORA Metrics From Git History shows how much the definition you pick changes the result.
What are DevOps practices?
DevOps practices are the concrete, repeatable habits that let a team change software often without breaking it. They sit between two other layers:
- Principles are the ideas: shared ownership, automation, fast feedback, learning from failure. If you are new to them, start with What Is DevOps?.
- Practices are what the team does every day because of those ideas: merge to trunk daily, test every commit, review in the pull request.
- Tools implement the practices: GitHub Actions, Terraform, Prometheus. A tool without the practice does not move the numbers. A CI server that nobody waits for is still a CI server.
DORA, the research program behind the State of DevOps reports, calls these practices capabilities. Accelerate (Forsgren, Humble and Kim, 2018) listed 24 capabilities in five groups. The catalog at dora.dev has 34 today, including new ones for AI adoption. Each of the 10 below has a DORA capability page with research behind it, and you can check most of them without a survey.
The five DORA metrics in one minute
DORA measures software delivery with five metrics, in two groups (dora.dev):
- Throughput: change lead time (commit to production), deployment frequency, and failed deployment recovery time (how long it takes to recover from a deployment that failed).
- Instability: change fail rate (the share of deployments that need immediate intervention) and deployment rework rate (the share of deployments that were unplanned, made to fix a problem in production).
These started as the "four keys". Mean time to restore became failed deployment recovery time, and deployment rework rate joined later. DORA's research has long found that speed and stability go together rather than trade off. Its metrics guide says that top performers do well across all five metrics, and low performers do poorly.
The diagram shows where each practice acts first. DORA's capability pages mostly tie a practice to "software delivery performance" as a whole; the arrows are our reading of where the first change shows up. Hover a practice to isolate its edges.
1. Version control for everything, including infrastructure
What it is. Application code, infrastructure definitions, CI configuration, Kubernetes manifests and database migrations all live in git and change through the same review process. Infrastructure as code (Terraform, OpenTofu, Pulumi, Helm, Kustomize) is this practice applied to servers, networks and cloud accounts.
The signal. You can recreate any environment from what is in the repository. A change made by hand in a cloud console shows up as drift and gets either codified or reverted.
Quick check.
# Which infrastructure files does the repo hold?
git ls-files | grep -E '\.tf$|\.tofu$|Chart\.yaml$|kustomization\.ya?ml$|Pulumi\.ya?ml$' | head
# Run against production state. Exit code 2 means the plan has changes: drift, or code not yet applied.
terraform plan -detailed-exitcode -lock=false > /dev/null; echo "exit $?"
Then ask one question: if the staging account were deleted tonight, how long would a rebuild take, and from which files?
What it moves. DORA's research says that thorough use of version control predicts continuous delivery (dora.dev, version control), and its deployment automation guidance asks that you can "recreate the state of any environment from information stored in version control". The metric we expect to move first is failed deployment recovery time: a rebuild from code can take minutes, and a rebuild from memory can take a weekend. Change fail rate follows, because infrastructure changes get reviewed and planned like code.
Go deeper. Infrastructure as Code fundamentals for the basics, Terraform best practices for layout and state, and Terraform drift detection, measured for what a scheduled plan catches and misses.
2. Trunk-based development
What it is. Everyone integrates into one shared branch (main or trunk) at least once a day, through branches that live hours rather than weeks. Unfinished work hides behind a feature flag instead of a long-lived branch.
The signal. DORA's trunk-based development page gives three, based on its 2016 and 2017 data: three or fewer active branches in the repository, merges to trunk at least once a day, and no code freezes or integration phases.
Quick check.
# Branches by last activity: look for old branches that are still alive
git fetch --prune
git for-each-ref --sort=-committerdate refs/remotes/origin \
--format='%(committerdate:relative)%09%(refname:short)' | head -20
# On how many of the last 30 days did main receive a change?
git log --first-parent --since='30 days ago' --format=%cs origin/main | sort -u | wc -l
On a repository with GitHub pull requests, the time each pull request stays open is the closest number to branch lifetime you can get. It does not count work done before the PR was opened.
gh pr list --state merged --limit 100 --json createdAt,mergedAt --jq '
def median: if length == 0 then null elif length % 2 == 1 then .[length / 2 | floor]
else (.[length / 2 - 1] + .[length / 2]) / 2 end;
map(((.mergedAt | fromdate) - (.createdAt | fromdate)) / 3600) | sort
| {prs: length, median_hours: median, p90_hours: .[((length - 1) * 0.9 + 0.5 | floor)]}'
What it moves. Change lead time and deployment frequency first: work that waits on a branch is work that is not in production. DORA reports that teams with these habits have higher delivery speed, stability and availability. Small, frequent merges also make each merge simpler.
Go deeper. The Git guide chapter on collaboration compares GitHub flow, trunk-based development and Gitflow, and stacked pull requests show one way to keep big features in small merges.
3. Continuous integration
What it is. Every commit to trunk triggers a build and a set of automated tests, and the team treats a broken build as the most urgent work it has. Continuous integration depends on trunk-based development: if work lives on branches for weeks, there is nothing continuous to integrate.
The signal. DORA's continuous integration page is specific: each commit triggers a build and tests, the tests give feedback "in a few minutes" with an upper limit of about 10 minutes, and fixing a broken build takes priority over any other work. If the fix is not quick, you revert.
Quick check.
# Last 50 completed CI runs on main: how many failed, and the median run time
# (start to last update, which is close to the run duration)
gh run list --branch main --workflow ci.yml --status completed --limit 50 \
--json conclusion,startedAt,updatedAt --jq '
def median: if length == 0 then null elif length % 2 == 1 then .[length / 2 | floor]
else (.[length / 2 - 1] + .[length / 2]) / 2 end;
{runs: length,
failed: (map(select(.conclusion == "failure")) | length),
median_minutes: (map(((.updatedAt | fromdate) - (.startedAt | fromdate)) / 60) | sort | median)}'
Replace ci.yml with the workflow file that runs your tests. Then ask: the last time main went red, how long until it was green again, and did anyone merge on top of it in the meantime?
What it moves. DORA links CI to "higher deployment frequency, more stable systems, and higher quality software". In metric terms: deployment frequency goes up because trunk is always releasable, and change fail rate goes down because problems surface minutes after the commit, not days.
Go deeper. The CI/CD guide builds a pipeline from the first workflow to production patterns, What does one merge cost in CI? shows where pipeline time goes, and the GitHub Actions exercise lets you build one hands-on.
4. Test automation
What it is. Automated tests that run on every change and that the team trusts. DORA's test automation page puts the stress on trust: when the tests pass, you should be confident the software is releasable, and when they fail, it should mean a real defect. It also says outcomes improve when developers, not a separate QA team, write and maintain the tests.
The signal. Nobody says "just re-run it". Flaky tests get fixed, quarantined with an owner, or deleted, because DORA's advice is not to tolerate them. Feedback from the suite arrives in under ten minutes.
Quick check.
# How many recent runs needed a second attempt? Each one is worth a look:
# a flaky test, flaky infrastructure, or someone retrying a real failure.
gh run list --branch main --limit 100 --json databaseId,attempt \
--jq 'map(select(.attempt > 1)) | length'
Two questions tell you more than coverage numbers do: who wrote the last ten tests, and when a test failed last week, was the first reaction to read it or to re-run it?
What it moves. Change fail rate and deployment rework rate: bugs caught before the deploy do not need a hotfix after it. DORA also ties test automation to less team burnout and lower deployment pain.
Go deeper. The 9 types of API testing shows which test belongs at which pipeline stage.
5. Deployment automation
What it is. A deploy is a pipeline run, not a runbook. DORA's deployment automation page asks for the same deployment process in every environment, including production, and that "anyone with the necessary credentials" can deploy any version of the artifact to any environment on demand. Continuous delivery is this practice plus practices 2 to 4: trunk is always in a state you could deploy.
The signal. Rolling back is the same command as rolling forward, with an older version. Nobody has to be "the person who knows how to deploy".
Quick check. DORA's own measure is the simplest one: write your production deploy down as a numbered list and count the steps that are not a command in the pipeline. Every SSH session, console click and "tell the DBA" is a manual step. Then check the history:
# The last 30 runs of your deploy workflow: how many failed, and over what period
gh run list --workflow deploy.yml --limit 30 --json conclusion,createdAt \
--jq '{deploys: length, failed: (map(select(.conclusion == "failure")) | length),
first: (map(.createdAt) | min), last: (map(.createdAt) | max)}'
What it moves. Deployment frequency and change lead time, because deploying stops being an event. Failed deployment recovery time too: a rollback that is one command takes minutes.
Go deeper. Deployment strategies: blue-green vs canary vs rolling compares the rollout patterns, the CI/CD guide chapter on deployment wires them into GitHub Actions, and the deployment strategies simulator lets you watch each one fail safely.
6. Small batches
What it is. Each change is small enough to finish, review and ship quickly. DORA's small batches page gives a hard edge: "Any batch of code that takes longer than a week to complete and check is too big." Features are sliced so that each slice ships on its own, often behind a feature flag.
The signal. Pull requests are small enough to review in one sitting. A feature that takes a month arrives as twenty merges, not one.
Quick check.
# Size of the last 100 merged pull requests, in changed lines
gh pr list --state merged --limit 100 --json additions,deletions --jq '
def median: if length == 0 then null elif length % 2 == 1 then .[length / 2 | floor]
else (.[length / 2 - 1] + .[length / 2]) / 2 end;
map(.additions + .deletions) | sort
| {prs: length, median_lines: median, p90_lines: .[((length - 1) * 0.9 + 0.5 | floor)]}'
What it moves. Change lead time, because small changes wait less for review, and change fail rate and rework rate, because a small change is easy to understand and easy to revert. This practice has new weight with AI coding tools. The 2024 DORA report (October 2024) estimated that a 25% increase in AI adoption was associated with a 1.5% decrease in delivery throughput and a 7.2% decrease in delivery stability. That is an association across the survey, not a before-and-after measurement. In the 2025 report, AI adoption went with higher throughput, but still with more instability. The 2024 report also said that a better development process does not improve delivery without the basics, such as small batch sizes and good testing. DORA's current guidance says that working in small batches amplifies the positive effect of AI adoption on product performance.
Go deeper. Progressive delivery with feature flags shows how to ship unfinished work dark, and the progressive delivery checklist covers the rollout steps.
7. Peer review, not a change approval board
What it is. A change is approved by a peer in the pull request, with automated checks doing the rest, instead of waiting for a weekly change advisory board (CAB) or a manager outside the team. DORA calls this streamlining change approval.
The signal. No change waits for a meeting. The approval record lives in the pull request, where an auditor can find it.
Quick check.
# Last 100 merged PRs: how many had an approval from someone other than the author?
gh pr list --state merged --limit 100 --json author,reviews --jq '
{prs: length,
approved_by_another_person: (map(. as $pr
| select(any(.reviews[]; .state == "APPROVED" and .author.login != $pr.author.login))) | length)}'
If changes also go through an external approval, measure how long they wait for it.
What it moves. Change lead time. The 2019 State of DevOps report found that heavyweight approval by people outside the team had a negative effect on software delivery performance, and found no evidence that a more formal external review lowered the change fail rate. Slow approvals also push teams toward bigger, less frequent releases, which carry more risk. Peer review can meet segregation of duties requirements when the reviewer is not the author and the record is kept.
Go deeper. SOC 2 evidence from GitHub and Terraform shows how to prove that review happened, and why a ruleset setting alone is not that proof.
8. Security in the pipeline
What it is. Security checks run on every change, early, as part of the normal pipeline: dependency updates, vulnerability scans, secret scanning, and libraries and toolchains approved in advance. DORA calls this pervasive security and notes that it is also known as shifting left.
The signal. A critical CVE in a dependency becomes a pull request from a bot, which CI tests and the team merges within days. Security review happens while the feature is designed, not the week before release.
Quick check.
# Lockfiles committed?
git ls-files | grep -E '(package-lock\.json|pnpm-lock\.yaml|yarn\.lock|go\.sum|uv\.lock|poetry\.lock|Cargo\.lock)$'
# A dependency bot configured?
ls .github/dependabot.yml renovate.json .github/renovate.json5 2>/dev/null
# Any scanner in CI?
grep -lE 'codeql|trivy|grype|gitleaks|semgrep|osv-scanner|zizmor|govulncheck' .github/workflows/*
Then the question that matters most: how many days did your last critical dependency fix take from advisory to production?
What it moves. Change fail rate, since fewer insecure changes reach production, and lead time, since security does not become a gate at the end. DORA's 2016 report found that high performers spent 50% less time fixing security issues than low performers.
Go deeper. The security gates guide turns these checks into pipeline policy, software supply chain security covers SBOMs, Sigstore and SLSA, and pre-commit hooks for security stop secrets before they reach the repository.
9. Observability and on-call
What it is. Monitoring tells you the state of your systems, and observability lets you debug them, in DORA's monitoring and observability definitions. On-call is the human side: a clear rotation, alerts that need action, and a runbook for each alert. DORA lists proactive failure notification as its own capability: alert when a value approaches a known failure threshold or changes fast, long before a customer notices.
The signal. For most incidents, the first report came from an alert, not from a customer or a support ticket. Alerts that need no action get deleted.
Quick check. No script can see this from a repository. Ask four questions about the last three incidents:
- Who noticed first: an alert, a person on the team, or a customer?
- How long from the start of the impact to the first page?
- How many pages last month needed no action?
- Does every alert link to a runbook?
If you use SLOs, page on error budget burn rate, which tracks user impact, rather than on a raw CPU threshold.
What it moves. Failed deployment recovery time most of all: you cannot fix what you have not detected. DORA's 2018 research found that a good monitoring and observability solution contributes to continuous delivery.
Go deeper. SLOs, SLIs and error budgets for alerts that track user impact, building an on-call rotation and escalation policy and its checklist, and the daily On-Call incident puzzle to practise reading logs and metrics under time pressure.
10. Blameless postmortems
What it is. After an incident, the team writes down what happened, why the system allowed it, and what will change, without looking for a person to blame. The goal is that people report problems early, because they know reporting is safe.
The signal. Postmortem action items get owners, due dates and closed issues. Engineers bring up their own mistakes in the review. The same failure rarely comes back.
Quick check.
# If postmortem actions are GitHub issues with a label: how many are still open?
gh issue list --label postmortem --state all --limit 200 --json state \
--jq 'group_by(.state) | map({(.[0].state): length}) | add'
DORA measures culture with a short survey based on the Westrum model, where people rate statements such as "On my team, information is actively sought" from 1 to 7. Ask your team the six statements once a quarter; the trend matters more than the number.
What it moves. Over time, change fail rate and failed deployment recovery time, because fixes from each incident stop the next one. DORA's generative culture page lists "Hold blameless postmortems" as a way to build that culture, and its research says a high-trust, generative culture predicts software delivery and organizational performance. The 2019 report found that psychological safety predicts software delivery performance, organizational performance and productivity.
Go deeper. The postmortem nobody reads, and the one they do covers how to write one people use, the Incident Commander simulator lets you run an incident from page to resolution, and the incident postmortem interview question shows what interviewers expect you to know.
Score your own repository
Eight of these practices leave evidence in git that a script can find. The other two can leave files too, such as alert rules and runbooks, but no scan can tell whether anyone acts on them. We wrote a small script, devops-practices-check, that reads only git data (the file list, CI files, 90 days of first-parent history, branch tips and tags) and prints a scorecard. It never runs project code and has no dependencies beyond Python and git.
Here are the commands for Prometheus, with the output that run-examples.sh recorded on 2 December 2026. The partial clone downloads history and directory trees; git then fetches only the few CI files the check reads, so it stays small:
We ran it on three public repositories with the same 90-day window, each ending on the project's latest commit (25 November to 1 December 2026):
| Signal | uv | Prometheus | Flux |
|---|---|---|---|
| Landings on the default branch | 1,177 | 455 | 74 |
| Weekdays with at least one landing | 62 of 64 | 61 of 64 | 22 of 64 |
| Files per landing, median and p90 | 2 and 17 | 2 and 8 | 3 and 11 |
| Landings that reference a pull request | 1,176 | 453 | 74 |
| Tags in the window | 28 | 25 | 4 |
| Infrastructure as code | partial | partial | found |
| Trunk-based development | found | found | not found |
| Total (found, partial, not found, ask) | 7, 1, 0, 2 | 7, 1, 0, 2 | 7, 0, 1, 2 |
The Flux column shows the limits of any repository scan better than the other two:
- "Trunk-based development: not found" says more about the proxy than about Flux. Flux landed changes on 22 of 64 weekdays, and its one active non-bot branch had a commit span of 18 days. A project with a small maintainer team lands on fewer days even when its pull requests are short, so landing cadence measures how busy a repository is as much as how the team integrates.
- "Infrastructure as code: found" comes mostly from test files. 27 of the 40 IaC files the script matched are test fixtures or integration-test Terraform; the other 13 are the Kustomize manifests Flux ships. A file match cannot tell infrastructure you run from infrastructure you test.
Two more limits apply to every repository:
- A platform that deploys on push leaves no deploy config in CI. With Cloudflare Pages, Vercel or Netlify Git integration, the deploy is automatic, and the script still reads
not found. - A landing that references a pull request is not a review. A PR can be merged with no approval. Use the
ghcheck from practice 7 to see the reviews themselves.
The other limits, which the README lists in full:
foundmeans the configuration exists, not that it runs or that the team uses it well. A job namedpublishcounts even if it never publishes, and a CI file that nobody waits for still counts.- The trunk-based score uses two proxies: landing cadence, and the commit span of each active branch (from the oldest author date to the newest commit date of its own commits). A one-commit branch that stayed open for a week reads as 0 days. The branch count is printed but not scored, so the score does not test DORA's "three or fewer active branches": uv had 73 active branches in 14 days, not counting detected bot branches, and Prometheus had 30. Work in forks is invisible.
- The thresholds (80% of weekdays, a median of 5 files, 90% through pull requests) are ours, not DORA's.
- Observability, on-call and postmortems always read
ask. They matter most for recovery time, and a scan cannot judge them.
The repository also has a test that builds two throwaway fixture repositories, one shaped like a team that follows the practices and one that does not, and checks both the statuses and the metrics behind them. The fixtures test the rules, not real teams. Run python3 test_check.py before you trust a change to the rules.
Which DevOps practice should you start with?
Start with the one the others depend on. The order that works for most teams:
- Version control and CI. Without them, nothing else can be automated or measured.
- Test automation. CI without trusted tests only tells you that the code compiles.
- Trunk-based development and small batches. These are habits more than tools, and they need practices 1 to 3 to feel safe.
- Deployment automation. Once trunk is always releasable, make the release one command.
- Observability, on-call and postmortems in parallel with all of the above, because incidents do not wait for the pipeline to be finished.
If you already measure DORA metrics, let the worst metric choose for you. A long lead time points at practices 2, 6 and 7. A high change fail rate points at 3, 4 and 6. A long recovery time points at 1, 5 and 9.
Is platform engineering a DevOps practice?
It is a way to deliver the practices above as self-service. A platform team builds the golden path, for example a service template with CI, tests, security scans and a deploy pipeline already wired in, so that each product team gets practices 1, 3, 5 and 8 without building them again.
DORA added platform engineering to its capability catalog. In its 2025 survey, 90% of organizations reported using an internal developer platform, and about 76% had dedicated platform teams. The 2024 report added a warning: a platform initiative might lead to a temporary decrease in performance before improvements appear as the platform matures, and it works best when the platform is built as a product for developers. For the build-out, see building an internal developer platform from scratch and the internal developer platform checklist.
How do you practice DevOps hands-on?
Reading about practices is the easy part. To build the habits, work through real tasks:
- The DevOps exercises are step-by-step labs: a CI pipeline in GitHub Actions, a Terraform VPC, Prometheus and Grafana monitoring, GitOps with Argo CD.
- The simulators and games let you practise deployments, incidents and Git operations in the browser, with nothing to install.
- The DevOps quiz checks what you know before an interview.
If you run a team, run the scorecard and ask the questions a script cannot answer once a quarter, and track the trend.
Summary
- DevOps practices are the habits between principles and tools. DORA calls them capabilities and has tied them to delivery performance in research since 2014.
- The 10 here: version control for everything, trunk-based development, continuous integration, test automation, deployment automation, small batches, peer review instead of a CAB, security in the pipeline, observability and on-call, and blameless postmortems.
- Each one has a signal you can check: branch lifetime, CI duration, re-run count, manual deploy steps, PR size, review decisions, scanner coverage, who noticed the last incident.
- A repository scan finds evidence for eight of the ten practices, and the evidence is partial. It cannot see on-call, postmortems or whether a review really happened, so ask a person about those.
- Speed and stability go together in DORA's data: top performers do well across all five metrics.
The companies that keep DevOps Daily free. Some links are referral links.
Bitrise
Managed runners for GitHub Actions
Bitrise Build Hub runs your GitHub Actions jobs on M4 Macs and AMD Linux machines. Change runs-on and keep your workflows, secrets and logs on GitHub.
Plakar
Open-source backup and restore
Encrypted, deduplicated snapshots with instant browsing and restore, across clouds and on-prem. Open source, with developer-friendly tooling.
Atomsized
AWS platform engineering and GitOps
Design and automation for reliable AWS and Kubernetes platforms, safer delivery workflows, and preview and UAT environments your engineers can understand and own.
DigitalOcean
Cloud infrastructure for developers
Simple, reliable cloud computing designed for developers
DevDojo
Developer community & tools
Join a community of developers sharing knowledge and tools
SMTPfast
Developer-first email API
Send transactional and marketing email through a clean REST API. Detailed logs, webhooks, and embeddable signup forms in one dashboard.
Want to support DevOps Daily and reach thousands of developers?
Become a SponsorFound an issue?
Related Posts
Also worth your time on this topic
DORA Metrics From Git History: The Definition Picks Your Tier
We computed deployment frequency, lead time, change failure rate and recovery time from one year of Kubernetes, uv, Go and Prometheus history, once per common definition. The definition alone moved every project across two or three DORA performance levels, and the merge button decides whether Git still knows when the work started.
GitOps with ArgoCD - Automated Kubernetes Deployments
Implement GitOps workflows using ArgoCD for automated, declarative, and auditable Kubernetes application deployments.
120 minutes
CI/CD Pipeline Setup Checklist
Step-by-step checklist for a production-ready CI/CD pipeline: source control, builds, tests, security scans, deploy gates, secrets, and rollback paths.
1-2 hours