Skip to content

Instantly share code, notes, and snippets.

@Iridias
Created February 2, 2021 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Iridias/69753e10b85ce7e76bf2689cde70f1d4 to your computer and use it in GitHub Desktop.
Save Iridias/69753e10b85ce7e76bf2689cde70f1d4 to your computer and use it in GitHub Desktop.
{
"source": "undefined",
"revision": 1,
"description": null,
"isDeleted": false,
"variables": {},
"variableGroups": [],
"environments": [
{
"name": "Stage 1",
"variables": {},
"variableGroups": [],
"preDeployApprovals": {
"approvals": [
{
"rank": 1,
"isAutomated": true,
"isNotificationOn": false,
"id": 40
}
],
"approvalOptions": {
"requiredApproverCount": null,
"releaseCreatorCanBeApprover": false,
"autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped": false,
"enforceIdentityRevalidation": false,
"timeoutInMinutes": 0,
"executionOrder": 1
}
},
"postDeployApprovals": {
"approvals": [
{
"rank": 1,
"isAutomated": true,
"isNotificationOn": false,
"id": 42
}
],
"approvalOptions": {
"requiredApproverCount": null,
"releaseCreatorCanBeApprover": false,
"autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped": false,
"enforceIdentityRevalidation": false,
"timeoutInMinutes": 0,
"executionOrder": 2
}
},
"deployPhases": [
{
"deploymentInput": {
"parallelExecution": {
"parallelExecutionType": "none"
},
"agentSpecification": {
"identifier": "ubuntu-20.04"
},
"skipArtifactsDownload": false,
"artifactsDownloadInput": {},
"demands": [],
"enableAccessToken": false,
"timeoutInMinutes": 0,
"jobCancelTimeoutInMinutes": 1,
"condition": "succeeded()",
"overrideInputs": {}
},
"rank": 1,
"phaseType": "agentBasedDeployment",
"name": "Agent job",
"workflowTasks": [
{
"environment": {},
"taskId": "8413c881-4959-43d5-8840-b4ea0ffc5cfd",
"version": "0.*",
"name": "Install Kubectl latest",
"refName": "",
"enabled": true,
"alwaysRun": false,
"continueOnError": false,
"timeoutInMinutes": 0,
"definitionType": "task",
"overrideInputs": {},
"condition": "succeeded()",
"inputs": {
"kubectlVersion": "latest"
}
},
{
"environment": {},
"taskId": "cbc316a2-586f-4def-be79-488a1f503564",
"version": "1.*",
"name": "kubectl rollout",
"refName": "",
"enabled": true,
"alwaysRun": false,
"continueOnError": false,
"timeoutInMinutes": 0,
"definitionType": "task",
"overrideInputs": {},
"condition": "succeeded()",
"inputs": {
"connectionType": "Azure Resource Manager",
"kubernetesServiceEndpoint": "",
"azureSubscriptionEndpoint": "REPLACEME_WITH_CORRECT_ID",
"azureResourceGroup": "REPLACEME_WITH_CORRECT_RESOURCEGROUP",
"kubernetesCluster": "REPLACEME_WITH_CORRECT_CLUSTER",
"useClusterAdmin": "false",
"namespace": "wordpress-cloud",
"command": "rollout",
"useConfigurationFile": "false",
"configurationType": "configuration",
"configuration": "",
"inline": "",
"arguments": "restart deployment/wp-SITEID",
"secretType": "dockerRegistry",
"secretArguments": "",
"containerRegistryType": "Azure Container Registry",
"dockerRegistryEndpoint": "",
"azureSubscriptionEndpointForSecrets": "",
"azureContainerRegistry": "",
"secretName": "",
"forceUpdate": "true",
"configMapName": "",
"forceUpdateConfigMap": "false",
"useConfigMapFile": "false",
"configMapFile": "",
"configMapArguments": "",
"versionOrLocation": "version",
"versionSpec": "1.13.2",
"checkLatest": "false",
"specifyLocation": "",
"cwd": "$(System.DefaultWorkingDirectory)",
"outputFormat": "json"
}
}
]
}
],
"environmentOptions": {
"emailNotificationType": "OnlyOnFailure",
"emailRecipients": "release.environment.owner;release.creator",
"skipArtifactsDownload": false,
"timeoutInMinutes": 0,
"enableAccessToken": false,
"publishDeploymentStatus": false,
"badgeEnabled": false,
"autoLinkWorkItems": false,
"pullRequestDeploymentEnabled": false
},
"demands": [],
"conditions": [
{
"name": "ReleaseStarted",
"conditionType": 1,
"value": ""
}
],
"executionPolicy": {
"concurrencyCount": 0,
"queueDepthCount": 0
},
"schedules": [],
"retentionPolicy": {
"daysToKeep": 30,
"releasesToKeep": 3,
"retainBuild": true
},
"properties": {},
"preDeploymentGates": {
"id": 0,
"gatesOptions": null,
"gates": []
},
"postDeploymentGates": {
"id": 0,
"gatesOptions": null,
"gates": []
},
"environmentTriggers": []
}
],
"artifacts": [],
"triggers": [],
"releaseNameFormat": "Release-$(rev:r)",
"tags": [],
"properties": {},
"name": "Rollout Wordpress Image (SITENAME)",
"path": "\\wordpress-cloud",
"projectReference": null,
"_links": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment