The pipeline is part of the product
A service that can't be deployed safely on a Tuesday afternoon isn't finished. Every service I ship has a pipeline that builds, tests, scans and deploys it the same way every time, and that pipeline lives in the repository next to the code it ships.