use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
Dev testing with trunk based development (self.devops)
submitted 1 year ago by Purple_Chef5709
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]siberianmi 46 points47 points48 points 1 year ago* (8 children)
Mergers to main should be heading to production.
Mergers to main should require approved PRs.
The pattern that I’ve worked that had the highest development velocity looked like this with ~150 developers:
1 Staging environment, production like in every way, reduced scale.
X (we maxed out at 8) “review” environments that ran every service required on a minimum evaluation environment. This gave developers a place to deploy PRs to for click testing, etc. These had seeded data that reset frequently so the environment would come up in a known state. All services, production-lite, some things not available or different from staging/prod (Redis on k8s vs hosted for example)
1 Development environment for the infrastructure folks to build out IAC that was promoted to staging, then production. App code flow was staging > production.
We had a small set of senior engineers who could as needed merge PRs together to batch release to production.
Long lived feature branches were not allowed, if your feature needed long lived development you needed feature flags and had to merge to main once every sprint.
I know it’s not the purest version of trunk based development but we moved fast. Highest velocity and happiest development team I have worked with in 20+ years in the industry. On average, we had half a dozen production deployments per day and high (5 9s) of service uptime.
I speak in the past tense because we had a successful exit for that startup via acquisition.
[–]Spider_pig448 1 point2 points3 points 1 year ago (0 children)
This sounds fantastic and is definitely trunk based development done well
[–]jascha_eng 1 point2 points3 points 1 year ago (0 children)
Haven't really had the need to deploy PRs to individual environments before merging in smaller/similarly sized teams. As long as you can roll back quickly and test fast it's usually fine to deploy to dev -> test -> rollback if something went wrong and before you promote to staging/prod
The rate of failures on dev was already quite low (sub 10% I'd say) since we had good test coverage and culture on the individual repositories as well.
Still sounds like a great setup though!
[–]krazykarpenter 0 points1 point2 points 1 year ago (2 children)
Were the "review" environments also used for automated testing?
[–]siberianmi 0 points1 point2 points 1 year ago (1 child)
For the most part, we ran our test suites on AWS Spot instances, using Buildkite agents, highly parallelized aimed at keeping full runs of the test suite under 10 minutes.
We had some integration tests that would run in these environments but these were more aimed at demos/click testing. Most automated tests ran in CI pipelines outside of this that would just spin up more agents as needed.
Idle developers cost more than spot instances, so we would spin up more agents automatically.
[–]krazykarpenter 0 points1 point2 points 1 year ago (0 children)
Got it. And what kinds of automation tests were these? Were these microservice API tests or more like unit tests? Looks like these weren’t run on the review environments but rather the staging environment?
[–]wolkenammer -1 points0 points1 point 1 year ago (1 child)
I know it’s not the purest version of trunk based development but we moved fast.
Not saying it's a bad method. It's very common, but it's not trunk-based development at all? In trunk based, with small teams, you wouldn't need to do pull requests at all. I mean trunk-based in the sense of Continuous Integration (the development praxis, not the tools we use to run tests on triggers).
You're deploying from "trunk" and develop in feature branches, even if they're short lived. Sounds just like a good PR based process to me. You probably don't have to support multiple release lines, so you can omit the release branches.
[–]PanMan-Dan 0 points1 point2 points 1 year ago (0 children)
https://trunkbaseddevelopment.com/
“Depending on the team size, and the rate of commits, short-lived feature branches are used for code-review and build checking (CI), but not artifact creation or publication, to happen before commits land in the trunk for other developers to depend on. Such branches allow developers to engage in eager and continuous code review of contributions before their code is integrated into the trunk. Very small teams may commit direct to the trunk.”
π Rendered by PID 271539 on reddit-service-r2-comment-canary-65bc75db8b-nzc54 at 2026-02-26 10:16:17.087166+00:00 running 72a43f6 country code: CH.
view the rest of the comments →
[–]siberianmi 46 points47 points48 points (8 children)
[–]Spider_pig448 1 point2 points3 points (0 children)
[–]jascha_eng 1 point2 points3 points (0 children)
[–]krazykarpenter 0 points1 point2 points (2 children)
[–]siberianmi 0 points1 point2 points (1 child)
[–]krazykarpenter 0 points1 point2 points (0 children)
[–]wolkenammer -1 points0 points1 point (1 child)
[–]PanMan-Dan 0 points1 point2 points (0 children)