Change Management & First Deployment

Updated 4 months ago by Copado Solutions

Copado Change Management setup will let you achieve best practices in release management. With this setup you will be able to control your user stories and their metadata changes as they move through your environment landscape until they finally reach the production environment.

  1. Create a new project and link it to your pipeline.
  2. Create a user story.
    • In the Project field, select your new project.
    • In the Environment field select the development environment where you will develop the user story. This environment has to be present in your project's pipeline.
    • Click on Save.
  3. Commit files within the user story by clicking on the Commit Files button. Select a couple of metadata components for testing purposes.
  4. Edit the user story and check the Promote Change checkbox.
  5. Create a promotion.
    • In the Project field select your project.
    • In the source’s Environment field select the user story's development environment.
    • In the source’s Org Credential field select the user story's development org credential.
    • Click on Save.
    • The user story should appear at the bottom. Select it and click on Add Selected User Stories.
    • The user story will move to the right. Select it again and click on Create Deployment. Click on Submit.
    • A new deployment will appear in the Deployments related list. Click on it and you will be redirected to the Deployment detail page.
  6. In the Deployment detail page you will notice that there is a source org and a corresponding destination org (as defined in your pipeline).
    • Click on the Git Promotion step. A table will appear with the metadata components that were committed, which will be deployed to the destination org.
  7. Once the deployment is finished, check the following changes:
    • In the destination org you will find that the metadata components were successfully deployed.
    • In the repository branch linked to the destination org, you will see that the user story files were recently merged.
    • If you open the user story, you will notice the environment has changed from the original value to the destination environment. Now, this user story can be tested again in the new org, and whenever it's ready to be promoted to the next environment, just repeat the promotion process.
    • Go to your pipeline. Click on Pipeline Manager.


How did we do?