Cloud Maker integrates seamlessly with Azure DevOps allowing you to deploy your Cloud Maker solutions alongside your existing CI/CD processes.
Install the Cloud Maker Azure DevOps Extension
Install the Cloud Maker Azure DevOps extension from the Visual Studio Marketplace:
Generate a Cloud Maker Access Key
Open Cloud Maker (https://app.cloudmaker.ai)
Navigate to the 'Organisation Management' dashboard
Under 'API Tokens' press the 'Generate' button
This will bring up the API tokens dialogue
Read the warning and then press 'Generate' to generate a new API token
Copy the API token string that is generated
Configure the Cloud Maker Access Key in Azure DevOps
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'
Enter your Cloud Maker API 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 task to a DevOps stage is super simple:
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 task to the stage
Configure the Cloud Maker DevOps Task
The Cloud Maker DevOps Task enables you to select the following settings:
Display Name: This is the friendly name for your Cloud Maker task
Organisation: The Cloud Maker organisation you wish to load a blueprint from
Solution: Your Cloud Maker solution you want to deploy
Stage: The configured stage you wish to deploy from your Cloud Maker solution
Azure Subscription: Select the subscription you wish to deploy the blueprint to
Metadata Location: The Azure region in which you wish to store your metadata
Deployment Mode: The deployment mode you wish to deploy the blueprint with
Once you've entered your configuration settings, simply save and now you’re good to cut a release!