...
The variables you need to add to support the example Azure Pipelines shipped with MettleCI are described below (using the Azure CLI to describe them):
Code Block | ||
---|---|---|
| ||
# Login to Azure and configure CLI defaults
$> az login
$> az account set --subscription MyAzureSubscription
$> az config set defaults.location=mygeolocation
# Setup DevOps CLI defaults
$> az devops configure --defaults project=MyProject
$> az devops configure --defaults organization=https://dev.azure.com/MyOrganization
# Describe all the Variable Groups used for Data Migrators demos
$> az pipelines variable-group list --query-order Asc --output table
ID Name Type Description Number of Variables
---- --------------- ------ ----------------------------------- ---------------------
1 demo117_NONPROD Vsts DataStage Demo v11.7 Non-Production 10
2 demo115_NONPROD Vsts DataStage Demo v11.5 Non-production 10
3 demo117_PROD Vsts DataStage Demo v11.7 Production 10
4 demo115_PROD Vsts DataStage Demo v11.5 Production 10
# Get the variables in the Variable Group we're interested in (Group 1, demo117_NONPROD)
$> az pipelines variable-group variable list --group-id 1 --output table
Name Is Secret Value
-------------- ----------- -----------------------------------------------------
ComplianceRepo False ADO-Compliance
DomainName False demo117-svcs.your-org.com:59445
EngineName False demo117-engn.your-org.com
IISPassword True
IISUsername False isadmin
MCIPassword True
MCIUsername False mciworkb
MettleHome False /opt/dm/mci
ProjectName False wwi_azure_ds117
IISVersion False 11.7 |
...