Change Management & First Deployment

Updated 8 months ago by Copado Solutions

Copado Change Management setup will let you achieve best practices in your release management process. 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.

Setup Steps

  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 source environment where you will develop the user story. This environment has to be present in your pipeline.
    • In the Credential field select the credential that corresponds to the environment you have previously selected.
    • Click on Save.
  3. Commit files within the user story by clicking on Commit Changes. Select a couple of metadata components for testing purposes.
  4. Edit the user story and check the Ready to Promote checkbox or click on Submit:

  1. Create a promotion:
    • In the Project field select the project you have already created.
    • In the Source Environment field select the environment where you have been developing your user story. The source credential and the destination environment and credential will be populated based on the source environment selected.
    • Click on Save.
    • The user story should appear on the Selected User Stories section. Select it and click on Create Deployment.
    • A new deployment will appear in the Deployments related list. Click on it and you will be redirected to the Deployment detail page.
  2. 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.
  3. 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 is ready to be promoted to the next environment, just repeat the promotion process.

How did we do?