Skip to main content

Inspecting a Deployment Manager pipeline

7 Tasks

10 mins

Visible to: All users
Beginner DevOps English

Scenario

You are the Release Manager for three applications, HRApps, ITApproval, and PegaGP. As a Release Manager, you are responsible for managing the application deployment pipelines with the help of the Deployment Manager. You have an Orchestrator instance from where you manage the pipelines. The Development, Quality assurance, Staging, and Production environments are available for the life cycle of your application release.

Each application has a minimum of three and a maximum of four environments that help validate if the application is ready to ship.

For example:

  • The PegaGP_Release_85 Deployment Pipeline has Development, Quality Assurance, Staging, and Production stages.
  • The HRApps Deployment Pipeline has Development and Quality Assurance stages.
  • The ITApproval Deployment Pipeline has Development, Staging, and Production stages.

As a release manager, address the following tasks:

  1. As a PegaGP Release Manager, evaluate and approve the PegaGP application deployment for production. Nichole, a deployment specialist for the PegaGP application, initiates the request.
  2. Reject the deployment that is waiting for your approval due to a blocking issue in the ITApproval application following the deployment to the Staging environment. Disable the pipeline to block any new deployment requests.
  3. Enable the ITApproval Deployment Pipeline after the blocking issue is resolved and merged. Diagnose the pipeline before confirming the action.
  4. Review the HRAppDev pipeline report and observe the highest failing task.
  5. Observe the difference in the pipeline model for each of the pipelines.
  6. Assign Nichole the access to interact with the ITApproval application.
  7. Explore the archived pipelines.

The following table provides the credentials you need to complete the challenge.

Role

User name

Password

User Nichole rules123!

Release Administrator

DMReleaseAdmin

rules123!

Follow the instructions to complete the process of creating a deployment on the PegaGP_Release_85 pipeline.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Submit a deployment request for the PegaGP application

As a deployment specialist, Nichole submits an alpha deployment request to release PegaGP application to the Production which requires approval from the Release Manager after the Staging environment.

  1. Log in to Deployment Manager as Nichole with User name Nichole and Password rules123!
  2. On the dashboard, in the PegaGP section, click Start new deployment to initiate the request.
     
    Image depicts the deployment pipeline that is available for the user on the Deployment Manager portal.
  3. In the Description field, enter Alpha build request #1.1.
     
    Image depicts the Description textbox to enter a description for the deployment.
  4. Click Submit to observe the deployment status for the PegaGP_Release_85 pipeline.
     
    image depicts the progress of the Pega_GP_85 pipeline
     
  5. On the deployment status, click PegaGP_Release_85  to open the pipeline and observe the deployment progress through the Development phase to the Quality Assurance stage.
    In the Staging environment, you can see that the deployment has completed the first three tasks successfully. The fourth task, Approval for production, is pending approval from the PegaGP Release Manager.
     
    image depicts the Staging environment where you can see that the deployment has completed the first three tasks successfully. The fourth task, Approval for production, is pending approval from the PegaGP Release Manager.
  6. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.

2 Review and approve the deployment

As the Release Manager, review and approve the deployment on the PegaGP_Release_85 pipeline that is waiting in the Staging stage to proceed to Production.

  1. Log in to Deployment Manager as the Release Manager with User name  DMReleaseAdmin and Password rules123!
  2. On the portal, click PegaGP_Release_85 to open the pipeline.
  3. On the pipeline dashboard, expand the Deployment History pane.
  4. On the first and latest deployment on the timeline (#8), click View Report to open the Deployment Report.
  5. On the Deployment Report, review the deployment timeline and verify if all tasks have been completed without errors.
     
    Image depicts the Report information about Review Deployment for Approval
  6. At the top of the Deployment Report, click the back arrow to return to the pipeline dashboard.
  7. On the pipeline dashboard, on the Staging stage, click the More icon, and then select Approve to open the Approve dialog box.
     
    Image depicts the Approve option which displays on clicking the Hamburger icon.
  8. In the Approve dialog box, enter an approval note (for example, Approving for Production).
  9. Click Submit to close the Approve dialog box.
  10. In the Deployment History pane, click View Report to view the deployment status of the pipeline.
     
    Image depicts the report information on clicking the View report option to know about the status of the deployment.
  11. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.

3 Enable and diagnose a pipeline

The development team has identified a high-impact bug with the application in the Staging stage and disabled the ITApproval Deployment pipeline. The development team has now resolved the issue and wants the Release Manager to enable and diagnose the pipeline before the team starts creating deployments. 

  1. Log in to Deployment Manager as the Release Manager with User name DMReleaseAdmin and Password rules123!
  2. On the ITApproval deployment pipeline, click Enable.
     
    Image depicts the Enabling and diagnosing the ITApproval deployment pipeline. 
       
    Tip:  You can also enable the pipeline to activate links to create deployments by opening the ITApproval deployment pipeline and clicking Actions > Enable.
  3. Click ITApproval to open the deployment pipeline.
  4. On the Actions menu, click Diagnose pipeline to verify if the diagnosis is successful for all checks.
    Note: The green status indicates that the deployments are successful in terms of connectivity and prerequisites.
    Image depicts the Diagnostics report for the ITApproval Deployment pipeline
  5. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.

4 Review pipeline report

 As the Release Manager, review the pipeline report and identify tasks with the highest failure rates.

  1. Log in to Deployment Manager as the Release Manager with User name DMReleaseAdmin and Password rules123!
  2. In the navigation pane of Deployment Manager, click Reports to access the pipeline reports.
  3. In the Pipeline list, select HRAppsDev to view the reports for that deployment pipeline.
  4. In the Tasks by number of failures section, determine which task is at the top of the list of failures (for example, GenerateArtifact).
     
    The image depicts the Tasks by number of failures section. This determines which task is at the top of the list of failures (for example, GenerateArtifact).
     
  5. In the navigation pane of Deployment Manager, click Pipelines to return to the pipeline dashboard.
  6. On the pipeline dashboard, click the HRAppsDev deployment pipeline.
     
    Image depicts on the pipeline dashboard, in the Development stage, clicking View Error(s) displays the errors that caused the deployment to fail. You can review the errors from this screen.to review them .
  7. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.

5 Inspect the different pipeline models and add a task

The PegaGP application development team now has Unit tests automated using PegaUnits. The team wants these tests to run on the Quality Assurance stage. You, as the Release Manager, can help configure this requirement on the PegaGP_Release_85 deployment pipeline. For this, you need to add the Run pega unit tests task with PGP_TestXXNCNCN as the access group.

  1. Log in to Deployment Manager as the Release Manager with User name DMReleaseAdmin and Password rules123!
  2. Click the PegaGP_Release_85 deployment pipeline.
  3. In the upper right, click Actions > Edit Pipeline to display the PegaGP_Release_85 pipeline model.
     
    image depicts the PegaGP_Release_85 pipeline model when editing the pipeline.
    Note: You can explore the attributes of the Quality Assurance and Staging stage by clicking on a stage name. Observe the tasks that are mandatory on each of these stages.
  4. On the Quality Assurance stage, click Task > Run pega unit tests.
    Tip: You can check the different tasks present at each stage in the pipeline.
    image depicts the deployment pipeline to add a new task
  5. Click Select to add the Run pega unit test task to the Quality Assurance stage. 
  6. In the Task details pane for of the unit test, in the Access group field, enter PGPTestLayer:Administrators.
     
    Image depicts the access group details that must be entered for the access group field when creating a new task on the QA stage.
         
  7. Click Save to save your changes. 
  8. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.
    Note:  Repeat steps 1-3 to explore the HRAppDev and ITApproval pipeline models and see how the pipelines differ from each other. 

6 Provide access to user

As a Release Manager, you are required to provide access to a user (Nichole) for the ITApproval application.

  1. Log in to Deployment Manager as Nichole with User name ​​​​​ Nichole and Password rules123!
  2. Verify that you see a single pipeline, PegaGP_Release_85, for PegaGP version 8.
     
    Image depicts the application pipeline screen for Nichole where only one deployment pipeline displays.
  3. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.
  4. Log in to Deployment Manager as the Release Manager with User name DMReleaseAdmin and Password rules123!
  5. In the navigation pane of Deployment Manager, click Users > People to access the list of users.
  6. On the list of users, click Nichole D. to access the user profile for Nichole.
     
    image depicts how to add a new profile
  7. In the Applications section, click Add application.
  8. In the text box, enter ITApproval
     
    Image depicts how to add an application on the Application page
  9. Click Save to save the application details.
  10. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.
  11. Log in to Deployment Manager as Nichole with User name Nichole and Password rules123!
  12. Confirm that the Pega GP and ITApproval pipelines are displayed on the dashboard. 
  13. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.

7 Explore archived pipelines and Chatbot

As a Release Manager, explore the archived pipelines and the chatbot.

  1. Log in to Deployment Manager as Nichole with User name Nichole and Password rules123!
  2. On the Application Pipelines dashboard, click Archived to view all the archived pipelines.
     
    Image depicts the Archived button. Clicking this button displays the archived pipelines.
  3. In the lower-right corner of Deployment Manager, click the Chat tool icon for quick help regarding issues or configurations.
  4. In the chatbot window, explore all the options available for quick assistance or to resolve the issue on your own.
     
    Image depicts the chat window for support.
  5. In the lower left, click the user icon, and then select Log off to exit Deployment Manager.

This Challenge is to practice what you learned in the following Module:


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice