Question
devops with deployment manager or using prpcserviceutils
Hi,
1) What options do we have to implement devops with deployment manager if the dev and qa systems are located in one zone and production is in a separate zone so that dev/qa servers are not reachable to the Production server. Only possibility is to publish the package into production repository from the qa system through the dev pipeline. The dev pipeline wilI be triggered by branch merge in dev system and I understand this feature is well supported in deployment manager. I want to understand if the production pipeline can be triggered automatically as soon as the package is published in production repository by the dev pipeline ? As the dev pipeline and production pipeline will be hosted in two different servers in separate zones, it won't be possible to use "trigger deployment" task in the dev pipeline.
As far as I have checked, pipelines in deployment manager starts with "generate artifact" step. However, our requirement is to start with "deploy" in the production pipeline which will be hosted within production zone. Can a production pipeline start with "deploy" step ?
2) If the above requirement is not supported by deployment manager, then the other option would be to use a third party orchestration service like jenkins or bamboo which will be triggered from the production repository as and when a package is added. The pipeline in jenkins/bamboo will perform the package import to the production pega server. I understand the only option to import/export packages(without using deployment manager) is to use prpcserviceutil.
Do we know if the operator credentials to connect to dev/prod servers in jenkins/bamboo be encrypted ? I could find in community that there should exist an improvement item(FDBK-24070 ) but not sure if this is already available -
https://collaborate.pega.com/question/prpcserviceutils-encrypt-pegarestserverurl-operator-passwords
3) Does anyone have step-by-step guideline how bamboo can be configured with prpcserviceutils ? Does bamboo support the operator credentials encryption using any other approach/plugin ?
Thanks.
Hi SayantanC3655,
Deployment Manager requires every environment in pipeline to be able to connect to Orchestrator and vice versa. It does not require connectivity in-between Dev, QA, Staging and/or Prod environments. And all the environments in the pipeline should have access to Dev and Prod repositories configured in the pipeline.
If I understood correctly, considering above points if you have Dev pipeline you can configure trigger deployment task at the end of pipeline to start Prod pipeline by checking deploy current artifact if you want Prod pipeline to use the artifact from the Dev pipeline and if you uncheck new artifact will be generated in Prod pipeline.
Refer: https://collaborate.pega.com/question/deployment-manager-trigger-deployment-option
Note: Deployment Manager pipelines are enforced to follow the practice of generating the artifact from Dev env and carry that till deployment to production environment.