TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Templated Build Pipelines for CI/CD. Good or Bad?

3 pointsby andrecarlucciover 5 years ago
We are standardizing our way to deploy software using templates in our CI&#x2F;CD system. Basically, the developer adds a ticket to JIRA and after 6 minutes later some magic happens and there is a repository, a pipeline that builds, run tests, coverage, security, and publish the &quot;service&quot; on the 4 environments that we have on the cloud. Actually, 3 (DTA) as production needs manual approval (bank&#x27;s bureaucracy).<p>Repositories will have by default master branch locked, minimum of 2 reviewers for pull-requests, etc.<p>There are a limited number of templates (api, queue consumer, etc..) that we support right now and we are adding more as we can. These templates come with examples and already with the main project and the unit tests one.<p>The developers have no permission to create the repository themselves. They have to use the &quot;repository vending machine&quot; described above.<p>That saves us a lot of time, ensures compliance and security and makes it easy to move people from one team to another as the process is always the same.<p>Customization is possible for intermediate parts of the process, but any pull requests with changes to the YAML files will require an SRE to approve it.<p>The drawback is, of course, lack of freedom for the developers and we are getting some pushback because of it. The main argument is that this goes against the &quot;you build it, you run it&quot; and they don&#x27;t want to be tied to a &quot;set of mandatory templates&quot;.<p>How do you do it in your organization? How do you ensure security, compliance and a good level of automation for your build pipelines?

no comments

no comments