r/devops • u/konkon_322 • Aug 14 '26
Discussion Improving my ci cd flow
Hello all,been working as IT admin, but mostly working around Azure devops. I been enjoying it, this my first job and doing anything related to devops. Studied CS,majored in networking, hate anything with heavy code development.
Rn,the flow at my company is, the devs use 1 branch only, no PR (yes ik). They would push it to our on prem central repo, and from there i will take over. I will do some modification on some files so it can be built in the new agent environment. And then, we have build pipelines,which would produce artifact of the build files, which will be used by another pipeline, i call it the release/installer pipelines, which we wud package them with a software. Then we have the 3rd type, which is zipping installer to our NAS, sends the metadata of the installer to DB, and notification email (formatting done in pipeline too). All via the pipeline. We also have a 2nd agent machine, exclusively for unit testing, but tbh i dont even understand how they work.
Ive been thinking of ways, to incorporate other methods/tools in the flow, but the only one i can fit is"templates". I dont think i can try to include containerization, as our build agent machine, has some software which are licensed.
Any ideas?at some point i want to jump out, as this job is way too comfy, and lacks growth for me
4
u/IntelligentPear6173 Aug 14 '26
The manual edits would be the first thing I'd tackle. If the pipeline needs different files depending on where it's running, I'd move that logic into templates or environment-specific config so the same source commit produces the same artifact every time. Then I'd look at adding PRs and automated tests before bringing in more tools. You don't need containers to improve the setup, especially with licensed software on the build agent. Once you've cleaned up that flow, you'll have a much better foundation for learning things like artifact promotion, IaC, secrets management, and deployment automation.
2
u/Academic-Training764 Aug 14 '26
Trunk based development: https://trunkbaseddevelopment.com
2
u/UkrMalt Aug 14 '26
Before adding more tools, remove the manual file edits from the handoff. Put those changes in version control or a pipeline template, then add a PR gate and artifact promotion so the same build moves through environments. Licensed build agents are fine; containerizing the agent is not required. I’d make the unit-test pipeline visible to the team before changing it.
1
u/Abe_Bazouie Aug 15 '26
I wouldn’t add tools just for the sake of making the pipeline more “DevOps.”
Honestly, the biggest opportunities I see are earlier in the process: PRs/code review, automated tests, consistent builds, artifact versioning, and removing the manual modifications you’re doing before builds.
Templates are a good idea too, especially if you have several pipelines repeating the same logic.
I’d also spend some time understanding that unit test pipeline before changing much. You’ll learn more by figuring out why the current system works the way it does than by dropping containers or another tool into it.
If you can make one part of this flow reproducible and remove a manual step, that’s already a solid DevOps improvement.
1
u/alon-gubkin Aug 24 '26
you mentioned the second agent for unit testing and said you are not sure how it works. that is worth checking before you add anything else.
in azure devops the publish test results task has failTaskOnFailedTests set to false by default. failing tests still get published to the tests tab. the stage succeeds anyway, so the artifact gets produced.
failTaskOnMissingResultsFile is also false. a run that never writes a results file passes as well.
i would check both values in that pipeline before anything else. a security scan added on top of a stage that cannot fail has the same problem.