Created
March 4, 2016 22:16
-
-
Save apucacao/b8f8dc5ed8ade910cd4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "cc77dce8-9bc2-4bd0-b8bb-2e252dbdd7d0", | |
"name": "Rollout", | |
"friendlyName": "LaunchDarkly Rollout", | |
"description": "Automatically update rollout of your feature flags during release", | |
"helpMarkdown": "[More information](http://docs.launchdarkly.com/docs/controlled-rollouts)", | |
"category": "Deploy", | |
"visibility": [ | |
"Deploy" | |
], | |
"author": "LaunchDarkly", | |
"version": { | |
"Major": 1, | |
"Minor": 0, | |
"Patch": 0 | |
}, | |
"demands": [ | |
"curl" | |
], | |
"minimumAgentVersion": "1.91.0", | |
"groups": [], | |
"inputs": [ | |
{ | |
"name": "serviceEndpoint", | |
"type": "pickList", | |
"label": "API Key", | |
"required": true, | |
"helpMarkDown": "TODO" | |
}, | |
{ | |
"name": "rollout", | |
"type": "string", | |
"label": "Rollout", | |
"defaultValue": "0", | |
"required": true, | |
"helpMarkDown": "See for [our documentation](docs.launchdarkly.com/docs/controlled-rollouts) for details" | |
} | |
], | |
"dataSourceBindings": [ | |
{ | |
"target": "serviceEndpoint", | |
"dataSourceName": "launchdarkly", | |
"endpointId": "" | |
} | |
], | |
"instanceNameFormat": "Controlled Rollout: $(rollout)%", | |
"execution": { | |
"Node": { | |
"target": "index.js", | |
"argumentFormat": "$(rollout)" | |
} | |
}, | |
"messages": {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifestVersion": 1, | |
"id": "launchdarkly-extension", | |
"version": "0.3.3", | |
"name": "LaunchDarkly VSTS Extension", | |
"description": "LaunchDarkly Visual Studio Team Services extension", | |
"publisher": "launchdarkly", | |
"targets": [ | |
{ | |
"id": "Microsoft.VisualStudio.Services" | |
} | |
], | |
"icons": { | |
"default": "static/images/launchdarkly_hd_whitebg.jpg" | |
}, | |
"categories": [ | |
"Build and release" | |
], | |
"files": [ | |
{ | |
"path": "Rollout" | |
} | |
], | |
"contributions": [ | |
{ | |
"id": "LaunchDarkly.WorkItemPage", | |
"type": "ms.vss-work-web.work-item-form-page", | |
"description": "LaunchDarkly Work Item Page", | |
"targets": [ | |
"ms.vss-work-web.work-item-form" | |
], | |
"properties": { | |
"name": "LaunchDarkly", | |
"uri": "static/workItemPage.html" | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.RMSummarySection", | |
"type": "ms.vss-releaseManagement-web.release-summary-section", | |
"targets": [ | |
"ms.vss-releaseManagement-web.release-details-summary-tab" | |
], | |
"properties": { | |
"name": "LaunchDarkly", | |
"uri": "static/rmSummarySection.html", | |
"order": "99" | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.RMTab", | |
"type": "ms.vss-releaseManagement-web.release-summary-tab", | |
"targets": [ | |
"ms.vss-releaseManagement-web.release-details-view" | |
], | |
"properties": { | |
"name": "LaunchDarkly", | |
"uri": "static/rmTab.html", | |
"order": "99" | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.Endpoint", | |
"description": "LaunchDarkly provides feature flags as a service.", | |
"type": "ms.vss-endpoint.service-endpoint-type", | |
"targets": [ | |
"ms.vss-endpoint.endpoint-types" | |
], | |
"properties": { | |
"name": "launchdarkly", | |
"displayName": "LaunchDarkly", | |
"url": "https://app.launchdarkly.com/api", | |
"inputDescriptors": [], | |
"authenticationSchemes": [ | |
{ | |
"type": "ms.vss-endpoint.endpoint-auth-scheme-token", | |
"inputDescriptors": [ | |
{ | |
"id": "apitoken", | |
"name": "API Key", | |
"description": "API key for connection to LaunchDarkly", | |
"inputMode": "textbox", | |
"isConfidential": false, | |
"validation": { | |
"isRequired": true, | |
"dataType": "string" | |
} | |
} | |
], | |
"headers": [ | |
{ | |
"name": "Authorization", | |
"value": "api_key {{endpoint.apitoken}}" | |
} | |
] | |
} | |
], | |
"dataSources": [ | |
{ | |
"name": "Flags", | |
"endpointUrl": "https://app.launchdarkly.com/api/features", | |
"resultSelector": "jsonpath:$.items" | |
} | |
] | |
} | |
}, | |
{ | |
"id": "LaunchDarkly.Rollout.Task", | |
"type": "ms.vss-distributed-task.task", | |
"targets": [ | |
"ms.vss-distributed-task.tasks" | |
], | |
"properties": { | |
"name": "Rollout" | |
} | |
} | |
], | |
"scopes": [ | |
"vso.profile", | |
"vso.serviceendpoint_query", | |
"vso.work" | |
], | |
"baseUri": "https://ld-vsts.herokuapp.com" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment