Install the Cloud Maker CMES Azure DevOps Extension
Install the Cloud Maker Azure DevOps extension from the Visual Studio Marketplace:
Generate a Cloud Maker Access Key
Open Cloud Maker Enterprise Server.
Navigate to the Manage Organisation dashboard.
Under App Registrations select + Add app registration.
Provide a name for the app registration.
Then on your new app registration, click Tokens.
Provide a description for the token and select a token expiry date.
Click + Create token.
Copy the app registration token value that is generated.
Configure the CMES ADO Task
In Azure DevOps do the following:
Open Azure DevOps.
Navigate to your project.
Select the settings cog for the project.
Select Service Connections.
Create a new service connection.
Select Cloud Maker Enterprise Server.
Enter your Cloud Maker app registration Token.
Enter a name for your service connection.
Check or uncheck Grant access permissions to all pipelines depending on what requirements you have to use the task across pipelines
Click Save to create the service connection.
Add a Cloud Maker Task to an Azure DevOps Stage
Adding the Cloud Maker Enterprise Server task to a DevOps stage is simple (we also support YAML pipelines):
Open Azure DevOps and Navigate to Pipelines -> Releases.
If you don't have an existing pipeline or need to create a new one, select the New Pipeline button.
If you've created a new pipeline select start with an empty job.
Enter the stage name for your stage.
Add additional stage if required.
NB: It's recommended you use the same stage name that you created in your Cloud Maker solution.
Select the stage you want to add the task to and click the task link.
Add a new task to the stage by selecting the + symbol.
Search for Cloud Maker and add the Cloud Maker Enterprise Server task to the stage.
Configure the Cloud Maker DevOps Task
The Cloud Maker Enterprise Server DevOps Task enables you to select the following settings:
Service Connection: This is the Cloud Maker Enterprise Server service connection you created in the previous steps.
Organisation: The Cloud Maker organisation you wish to load a blueprint from.
Pipeline: Your Cloud Maker pipeline you created in Cloud Maker.
Stage: The configured stage from the Cloud Maker pipeline you wish to deploy.
Action: Choose whether you wish to deploy or conduct a What-if (currently in preview).
Target Azure environment: Choose whether you wish to deploy to Azure Commercial or Azure Government.
Azure Resource Manager Connection: Select the service connection to Azure you wish to use for the deployment.
Metadata Location: The Azure region in which you wish to store your metadata
Once you've entered your configuration settings, simply save and now you’re good to cut a release!