@adobe/aio-cli-plugin-cloudmanager
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,1 +0,1 @@ | ||
{"version":"0.1.1","commands":{"cloudmanager:advance-current-execution":{"id":"cloudmanager:advance-current-execution","description":"advance current pipeline execution either by overriding a waiting quality gate or advancing the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:cancel-current-execution":{"id":"cloudmanager:cancel-current-execution","description":"cancel current pipeline execution either by cancelling the current step, rejecting a waiting quality gate, or rejecting the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:get-current-execution":{"id":"cloudmanager:get-current-execution","description":"get pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:get-quality-gate-results":{"id":"cloudmanager:get-quality-gate-results","description":"get quality gate results","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true},{"name":"action","description":"the step action","required":true,"options":["codeQuality","security","performance"]}]},"cloudmanager":{"id":"cloudmanager","description":"interact with the Cloud Manager API to list, start, cancel, and inspect pipelines and executions.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"examples":["$ aio cloudmanager:list-programs","$ aio cloudmanager:list-programs --enabledonly","$ aio cloudmanager:list-pipelines","$ aio cloudmanager:list-pipelines --programId=PROGRAM_ID","$ aio cloudmanager:start-execution PIPELINE_ID","$ aio cloudmanager:start-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:list-current-executions","$ aio cloudmanager:list-current-executions --programId=PROGRAM_ID","$ aio cloudmanager:get-current-execution PIPELINE_ID","$ aio cloudmanager:get-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:get-quality-gate-results PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:get-quality-gate-results --programId=PROGRAM_ID PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:cancel-current-execution PIPELINE_ID","$ aio cloudmanager:cancel-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:advance-current-execution PIPELINE_ID","$ aio cloudmanager:advance-current-execution --programId=PROGRAM_ID PIPELINE_ID"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"}},"args":[]},"cloudmanager:list-current-executions":{"id":"cloudmanager:list-current-executions","description":"list running pipeline executions","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-pipelines":{"id":"cloudmanager:list-pipelines","description":"lists pipelines available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-programs":{"id":"cloudmanager:list-programs","description":"lists programs available in Cloud Manager","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"enabledonly":{"name":"enabledonly","type":"boolean","char":"e","description":"only output Cloud Manager-enabled programs","allowNo":false}},"args":[]},"cloudmanager:start-execution":{"id":"cloudmanager:start-execution","description":"start pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]}}} | ||
{"version":"0.1.2","commands":{"cloudmanager:advance-current-execution":{"id":"cloudmanager:advance-current-execution","description":"advance current pipeline execution either by overriding a waiting quality gate or advancing the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:cancel-current-execution":{"id":"cloudmanager:cancel-current-execution","description":"cancel current pipeline execution either by cancelling the current step, rejecting a waiting quality gate, or rejecting the approval step","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:get-current-execution":{"id":"cloudmanager:get-current-execution","description":"get pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]},"cloudmanager:get-quality-gate-results":{"id":"cloudmanager:get-quality-gate-results","description":"get quality gate results","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true},{"name":"executionId","description":"the execution id","required":true},{"name":"action","description":"the step action","required":true,"options":["codeQuality","security","performance"]}]},"cloudmanager":{"id":"cloudmanager","description":"interact with the Cloud Manager API to list, start, cancel, and inspect pipelines and executions.","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"examples":["$ aio cloudmanager:list-programs","$ aio cloudmanager:list-programs --enabledonly","$ aio cloudmanager:list-pipelines","$ aio cloudmanager:list-pipelines --programId=PROGRAM_ID","$ aio cloudmanager:start-execution PIPELINE_ID","$ aio cloudmanager:start-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:list-current-executions","$ aio cloudmanager:list-current-executions --programId=PROGRAM_ID","$ aio cloudmanager:get-current-execution PIPELINE_ID","$ aio cloudmanager:get-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:get-quality-gate-results PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:get-quality-gate-results --programId=PROGRAM_ID PIPELINE_ID [codeQuality|security|performance]","$ aio cloudmanager:cancel-current-execution PIPELINE_ID","$ aio cloudmanager:cancel-current-execution --programId=PROGRAM_ID PIPELINE_ID","$ aio cloudmanager:advance-current-execution PIPELINE_ID","$ aio cloudmanager:advance-current-execution --programId=PROGRAM_ID PIPELINE_ID"],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"}},"args":[]},"cloudmanager:list-current-executions":{"id":"cloudmanager:list-current-executions","description":"list running pipeline executions","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-pipelines":{"id":"cloudmanager:list-pipelines","description":"lists pipelines available in a Cloud Manager program","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[]},"cloudmanager:list-programs":{"id":"cloudmanager:list-programs","description":"lists programs available in Cloud Manager","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"enabledonly":{"name":"enabledonly","type":"boolean","char":"e","description":"only output Cloud Manager-enabled programs","allowNo":false}},"args":[]},"cloudmanager:start-execution":{"id":"cloudmanager:start-execution","description":"start pipeline execution","pluginName":"@adobe/aio-cli-plugin-cloudmanager","pluginType":"core","aliases":[],"flags":{"passphrase":{"name":"passphrase","type":"option","char":"r","description":"the passphrase for the private-key"},"programId":{"name":"programId","type":"option","char":"p","description":"the programId. if not specified, defaults to 'cloudmanager_programid' config value"}},"args":[{"name":"pipelineId","description":"the pipeline id","required":true}]}}} |
{ | ||
"name": "@adobe/aio-cli-plugin-cloudmanager", | ||
"description": "Cloud Manager commands for the Adobe I/O CLI", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": "Adobe Inc.", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/adobe/aio-cli-plugin-cloudmanager/issues", |
@@ -26,3 +26,8 @@ <!-- | ||
``` | ||
# Updating | ||
```sh-session | ||
$ aio plugins:update | ||
``` | ||
# Configuration | ||
@@ -117,3 +122,3 @@ | ||
_See code: [src/commands/cloudmanager/index.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/index.js)_ | ||
_See code: [src/commands/cloudmanager/index.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/index.js)_ | ||
@@ -136,3 +141,3 @@ ## `aio cloudmanager:advance-current-execution PIPELINEID` | ||
_See code: [src/commands/cloudmanager/advance-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/advance-current-execution.js)_ | ||
_See code: [src/commands/cloudmanager/advance-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/advance-current-execution.js)_ | ||
@@ -155,3 +160,3 @@ ## `aio cloudmanager:cancel-current-execution PIPELINEID` | ||
_See code: [src/commands/cloudmanager/cancel-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/cancel-current-execution.js)_ | ||
_See code: [src/commands/cloudmanager/cancel-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/cancel-current-execution.js)_ | ||
@@ -174,3 +179,3 @@ ## `aio cloudmanager:get-current-execution PIPELINEID` | ||
_See code: [src/commands/cloudmanager/get-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/get-current-execution.js)_ | ||
_See code: [src/commands/cloudmanager/get-current-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/get-current-execution.js)_ | ||
@@ -195,3 +200,3 @@ ## `aio cloudmanager:get-quality-gate-results PIPELINEID EXECUTIONID ACTION` | ||
_See code: [src/commands/cloudmanager/get-quality-gate-results.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/get-quality-gate-results.js)_ | ||
_See code: [src/commands/cloudmanager/get-quality-gate-results.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/get-quality-gate-results.js)_ | ||
@@ -211,3 +216,3 @@ ## `aio cloudmanager:list-current-executions` | ||
_See code: [src/commands/cloudmanager/list-current-executions.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/list-current-executions.js)_ | ||
_See code: [src/commands/cloudmanager/list-current-executions.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/list-current-executions.js)_ | ||
@@ -227,3 +232,3 @@ ## `aio cloudmanager:list-pipelines` | ||
_See code: [src/commands/cloudmanager/list-pipelines.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/list-pipelines.js)_ | ||
_See code: [src/commands/cloudmanager/list-pipelines.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/list-pipelines.js)_ | ||
@@ -243,3 +248,3 @@ ## `aio cloudmanager:list-programs` | ||
_See code: [src/commands/cloudmanager/list-programs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/list-programs.js)_ | ||
_See code: [src/commands/cloudmanager/list-programs.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/list-programs.js)_ | ||
@@ -262,3 +267,3 @@ ## `aio cloudmanager:start-execution PIPELINEID` | ||
_See code: [src/commands/cloudmanager/start-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.1/src/commands/cloudmanager/start-execution.js)_ | ||
_See code: [src/commands/cloudmanager/start-execution.js](https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/v0.1.2/src/commands/cloudmanager/start-execution.js)_ | ||
<!-- commandsstop --> |
@@ -197,2 +197,4 @@ /* | ||
body.override = false | ||
} else if (step.action === "deploy") { | ||
body.resume = false | ||
} else { | ||
@@ -227,2 +229,4 @@ body.cancel = true | ||
throw new Error("Cannot advanced schedule step (yet)") | ||
} else if (step.action === "deploy") { | ||
body.resume = true | ||
} else { | ||
@@ -229,0 +233,0 @@ const results = await this._getMetricsForStepState(step); |
68573
869
260