I have to Create CI/CD Pipelines for both On prem and cloud Application,
For Onprem I will use self agent, Cloud i will use Azure Devops provided agent like ubuntu,
I want to implement CI/CD On prem and cloud with robust and easiest methods that adhere industry standards regardless of tools(Like Azure DevOps, jenkins, Circle CI, etc)
Option 1:
- Create Separate Pipelines for Onprem with self hosted agent and perform all build, tests in self hosted agent and deploy the services
- Create separate Pipelines for Cloud application with azure provided agent and tools perform build, tests and deploy applications
Drawback: I am thinking
- Manageability will be difficult because of two separate CI/CD pipelines
Option 2:
- Create single CI/CD pipeline, perform build, tests, and deploy to cloud and Onprem servers
Not sure this will possible to connect onprem and push code to on prem machines
Option 3:
- Add self hosted on prem agent and Create single CI/CD pipeline for On prem and cloud, perform build, tests and deploy to On prem and cloud applications
Or Any other approach?
It will really great someone share me documentation for CI/CD for both on prem and Cloud applications deployments,
I am able to find the documentation for On prem and cloud applications separately. I am not sure how other companies handles