Exercise – building CD pipelines and a release train
In the GitHub repository, we will find the following prebuilt GitHub workflows to manage the life cycle of our development project, end to end:
- Set up a dev environment GitHub workflow: Located under
.github/workflows/setup-dev-environment.yml
, this workflow creates a developer branch with the name provided before the workflow execution (the branch name follows the naming rule,dev/branch_name
). The pipeline spins up a Power Platform developer environment with the same name used for the branch. We need to add the work account that we use in the Power Platform tenant to create the developer environment on behalf of our account. At the end of the workflow, we can see additional steps that grant System Administrator rights to our work account and to the service principal that we created for the production environment earlier. Let’s execute this workflow with the following parameters: