69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Sample Deploy Stage",
|
|
"longDescription": "The Delivery Pipeline automates continuous deployment.",
|
|
"type": "object",
|
|
"properties": {
|
|
"api-key": {
|
|
"description": "IBM Cloud API keys contain permissions that grant access to organizations, spaces, and Kubernetes clusters. You can obtain your API key with 'ibmcloud iam api-key-create' or via the console at https://cloud.ibm.com/iam/#/apikeys by clicking **Create API key** (Each API key only can be viewed once).",
|
|
"type": "string"
|
|
},
|
|
"dev-region": {
|
|
"description": "The IBM Cloud region",
|
|
"type": "string"
|
|
},
|
|
"dev-organization": {
|
|
"description": "The IBM Cloud org",
|
|
"type": "string"
|
|
},
|
|
"dev-space": {
|
|
"description": "The IBM Cloud space",
|
|
"type": "string"
|
|
},
|
|
"app-name": {
|
|
"description": "app name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["dev-region", "dev-organization", "dev-space", "app-name"], "form": [{
|
|
"type": "validator",
|
|
"url": "/devops/setup/bm-helper/helper.html"
|
|
},
|
|
{
|
|
"type": "password",
|
|
"readonly": false,
|
|
"title": "IBM Cloud API Key",
|
|
"key": "api-key"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"readonly": false,
|
|
"title": "App Name",
|
|
"key": "app-name"
|
|
}, {
|
|
"type": "table",
|
|
"columnCount": 3,
|
|
"widths": ["28%", "28%", "28%"],
|
|
"items": [{
|
|
"type": "label",
|
|
"title": "Region"
|
|
}, {
|
|
"type": "label",
|
|
"title": "Organization"
|
|
}, {
|
|
"type": "label",
|
|
"title": "Space"
|
|
}, {
|
|
"type": "select",
|
|
"key": "dev-region"
|
|
}, {
|
|
"type": "select",
|
|
"key": "dev-organization"
|
|
}, {
|
|
"type": "select",
|
|
"key": "dev-space",
|
|
"readonly": false
|
|
}]
|
|
}]
|
|
}
|