-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Before you start ensure you have the following set up:
- You will also need to have an Azure DevOps organisation to use, if you don't have one, please create one at https://dev.azure.com
- You will need a Power Platform tenant, if you don't have one, please create one at https://powerapps.microsoft.com/
To kick start this process, just run the Provision.ps1 script
PS C:\dev> .\Provision.ps1
This script will install all the Pre-Requisites (git and Azure CLI)
Once this is done you need to add the name of your Azure DevOps instance
Enter the name of your Azure DevOps Organization (https://dev.azure.com/<Name>):
After logging in and the script picks up your details you can select or create a new project.
Would you like to [C]reate a new Project or [S]elect and existing one (Default [S]):
We will create a new one called demo1
Would you like to [C]reate a new Project or [S]elect and existing one (Default [S]): C
Please enter the Name of the Project you wish to Create: demo1
Our project is now set up
and the next step we will set the name of our repo, which we will call demorepo
Enter the name for the Repository you wish to Create: demorepo
The script creates the new repo and clone the latest version of this template
Now things are getting exciting. In the next step we will connect to our CDS/365 instance:
Press Enter to Connect to your CDS / D365 Tenant or [Q]uit:
Once connected you need to select the instance you want to connet to
Select CRM Organization by index number:
And now you can select either an existing solution in this instance, or create a new one. We will now create a new one called Demo1
---- Please Select you Development Environment ------
Then select your staging environment:
---- Please Select your Deployment Staging (CI/CD) Environment ------
Once this is done the following happens:
- The new solution gets created in your dev environment
- The solution is exported and extracted into your local source and a commit is made to your repo
- A default build is created
- A default release definition is created
- Library set per environment, Dev and Staging
- spkl task runner - just becasue its the best thing to have in a project
- XrmContext for earlybound -.net classes
- XrmDefinitelyTypes to generate TypeScript declaration files
- Microsoft.Xrm.DevOps.Data - generate filtered data compatible with the Configuration Data Migration Tool and perfect to automate your Power Apps Portals deployments