adobe / aio-cli-plugin-cloudmanager Goto Github PK
View Code? Open in Web Editor NEWCloud Manager plugin for the Adobe I/O CLI
License: Apache License 2.0
Cloud Manager plugin for the Adobe I/O CLI
License: Apache License 2.0
Plugin should install without warnings
warning "@adobe/aio-cli-plugin-cloudmanager > @oclif/[email protected]" has unmet peer dependency "@oclif/plugin-help@^2".
warning @adobe/aio-cli-plugin-cloudmanager > @adobe/[email protected]: WARNING: This module has been renamed to @adobe/aio-lib-core-config. Please install it instead. See https://github.com/adobe/aio-lib-core-config for more information.
Don't have the plugin installed
Install the plugin
When a deployment is paused, cancelling it needs to be done via the advance endpoint.
Wrong endpoint is used
Have a paused deployment step
Invoke cancel-current-execution
1.4.0
to 1.5.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@adobe/aio-cli-plugin-runtime is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 25 commits.
d91f33d
1.5.0
1634a28
Pass parameters to trigger fire (#120)
767cf18
Emit activation id for trigger firing. (#124)
8e43c27
Support deploying of blackbox actions (#129)
23f871c
Merge pull request #125 from rabbah/docker
20be232
Merge branch 'master' into docker
178bbcc
fix: code file links on README.md are broken (/blob/v1.4.0/ not found) (closes #126) (#127)
26a1127
Add restricted access note.
6ee0b03
Support action create/update with --docker.
9c9f9f4
Merge pull request #106 from Yu1986/e2e
f38b5ce
get name from package name
7bfc515
Merge branch 'master' into e2e
021f328
fix lint
6e7eff3
fix lint
dc43522
get package name from package.json
There are 25 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
When running aio
(without any command) the description for the cloudmanager
plugin should be informative.
it isn't :)
cloudmanager get pipeline execution
aio
Secrets should be output the same way in cloudmanager:list-environment-variables and cloudmanager:set-environment-variables
Secret values are output as undefined
1.2.0
to 1.2.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@adobe/aio-lib-core-config is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
The README should contain runnable commands.
It contains cloudmanager:base-environment-variables-command
which is a base class, not intended to be used directly
Look at the README :)
Tests should pass
Tests are failing
When the API response contains an error message and code, it would be helpful if that information was shown in the CLI output.
Only the HTTP response code and status are displayed.
$ aio cloudmanager
should output complete help
Missing some recently added commands
$ aio cloudmanager:delete-pipeline PIPELINEID
cloudmanager:get-quality-gate-results
should accept contentAudit
and experienceAudit
as parameters and show the metrics for this step.
Cloud Manager will shortly support pipeline variables, similar to environment variables. This should be available in the CLI.
2.2.2
to 2.2.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@oclif/plugin-help is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
just a convenience feature, in the cloud manager UI the environment ids show with an "e" prefix, allowing the e as prefix to be passed in would be nice
Created from #135
$ aio cloudmanager:set-environment-variables 12345 --secret MY_VAR2 "some secret value"
$ aio cloudmanager:set-environment-variables 12345 --delete MY_VAR2
should result in the environment variable being deleted
setting variables... !
Error: Cannot set variables: https://cloudmanager.adobe.io/api/program/54321/environment/12345/variables (400 Bad Request)
at res.text.then.text (~/workspaces/projects/aio-cli-plugin-cloudmanager/src/client.js:60:39)
Have a Cloud Service program and environment and an integration with the Deployment Manager role
See above
Some steps (primarily the code quality step) support alternate log files. The get-execution-step-logs
command should support this.
The Delete Environment API is available, but not used in the CLI
There should be a delete-environment command.
There should be commands to cancel/reject or advance/approve the current execution.
When starting an execution, the execution id should be output on the CLI
It isn't.
You have an idle pipeline
run aio cloudmanager:start-execution PIPELINEID
If you want this functionality, please add aiojbot
to your repo under Settings -> Manage Access
under a Triage
role. Thanks.
The sync functionality runs every 15 minutes, and will watch for label events in issues. (bug, enhancement, question, feature)
This plugin should not have a dependency on aio-cli-plugin-runtime
It does.
Something like
$ aio cloudmanager:get-execution-step-details PIPELINEID EXECUTIONID
and return a table of the steps within the execution -- start times, end times, durations
5.4.0
to 5.4.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
cli-ux is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
CLI should have a cloudmanager:delete-program
command
There's no reason to be supporting node 8 anymore. Everyone should be on node 10 or higher.
node 8 is tested.
see #37
Would it be possible to add a command to check for a new available update in general or for an environment?
Would it then be possible to have an additional command to update an environment if there is an update?
Best
Zubair
Although in the OSGi configuration for PID org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl
I see the value [administrators, $[env:aemCloudAdministrators;default=administrators]]
being set for property administrativePrincipals
, the environment variable called aemCloudAdministrators
is not listed via aio cloudmanager:list-environment-variables
for that particular environment. Still is must have a certain value as all users being member of a cryptic group AEM Administrators-3e6e8bd0a05f39bc82d788bb27ac83b4
are being administrators!
Please make sure that all environment variables are exposed from aio cloudmanager:list-environment-variables
(even the ones which may be set as start argument)
22.13.0
to 22.13.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 23 commits.
6cbaa0f
chore(prefer-todo): migrate to TS (#335)
ed2a0f6
fix(valid-describe): ignore describe.each
(#337)
d0a8428
chore(no-test-callback): migrate to TS (#321)
ccbe766
chore(prefer-strict-equal): migrate to TS (#329)
ee81058
chore(no-test-prefixes): migrate to TS (#328)
e938636
chore(consistent-test-it): migrate to TS (#327)
26ddedd
chore(expect-expect): migrate to TS (#325)
4200e76
chore(prefer-spy-on): migrate to TS (#326)
3a22ef1
chore(no-if): migrate to TS (#324)
4270fca
chore(no-export): migrate to TS (#323)
12e601a
chore(no-hooks): migrate to TS (#322)
f3c654c
chore(no-focused-tests): migrate to TS (#314)
c455100
chore(prefer-inline-snapshots): migrate to TS (#319)
41ed53a
chore(no-duplicate-hooks): migrate to TS (#318)
384b788
chore(no-test-return-statement): migrate to TS (#320)
There are 23 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
$ aio cloudmanager:update-pipeline --programId=1234 123456 --updateAemBuild
Since Dev environments don't autoupdate, is it possible to get an option for update-pipeline to update to the latest AEM build? It seems that update-pipeline command can only update the git branch attached to the pipeline. This is a nice feature in the UI that would be helpful in this tool.
$ aio cloudmanager:get-execution-step-log PIPELINEID EXECUTIONID ACTION
Should output to stdout by default, but also allow output to a file
When a command fails, currently only the status code is output, e.g.
Cannot set variables: https://cloudmanager.adobe.io/api/program/4/environment/11/variables (400 Bad Request)
Although more detailed information is available when DEBUG is enabled, It would be better if this message contained validation errors.
Run a command that fails
When an environment doesn't have a description (which is most of the time), the description column should be blank.
The string undefined
is displayed
A program with environments without descriptions (most of them)
Run aio cloudmanager:list-environments
It'd be useful if there was a way to open the developer console for an environment from the CLI.
There should be a way to get the quality gate results for a particular execution of a pipeline
22.9.0
to 22.10.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 7 commits.
28bd1dc
feat(rules): adds no-if
rule (#293)
7ebdc0e
chore: enforce import destructure order
31c7cef
chore: convert to import/export (#302)
9f858cb
chore: delete tests instead of ignoring them with babel
c595ba0
chore: do not include tests in published tarball
4b4eb78
chore: fix lint error in md file
d3ea720
chore(docs): fix typo (#304)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
22.14.1
to 22.15.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 7 commits.
f41d5c4
feat(rules): no-expect-resolves (#364)
a334368
chore: convert index file to typescript (#372)
e060061
chore(snapshot-processor): convert to typescript (#371)
b61ec87
chore: copy over json files when running babel
85e4195
chore: add no-negated-condition lint rule
d285f8b
chore: move globals into json file (#366)
8dcfc24
chore(no-large-snapshots): refactor away babel-eslint
in tests (#367)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
@adobe/aio-cli-plugin-jwt-auth
has been deprecated in favor of @adobe/aio-lib-ims
.
In order to migrate and achieve a level of backwards compatibility, there must be some migration process from the "old" configuration structure (jwt_auth
) to the new one (ims.contexts.CONTEXT_NAME
). This migration can be automatically done in an init hook, with the following caveats:
This will still technically be a breaking change since passphrase is not supported (see adobe/aio-lib-ims#52).
However, at this point this is blocking a separate feature request (#198) since if a flag was provided to select an alternate configuration key for the configuration used with @adobe/aio-cli-plugin-jwt-auth
migration would not be possible in a fully automated fashion.
Getting an execution by ID is now possible using a newly added HAL link. The old way of hand-building the execution link should be replaced.
8.2.1
to 8.3.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
fetch-mock is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 22 commits.
6290ca4
Merge pull request #491 from wheresrhys/matcher-object
e7e6503
reorg
a613d8f
update types
110e001
improve exaples
a2f75f6
better documentation of complex matcher patterns
84c95a4
documentation update
3b239cc
Merge pull request #492 from wheresrhys/refactor-for-obj-matcher
125a178
tidy
3294162
fixed all tests
815eb1b
begininng to refactor tests
a6a3c80
fix test ad lint
befeef4
remove logs
fbadda5
converted most behaviour to separate url from other matchers
7680d9e
tests for a matcher object
96a76f2
Update resetHistory.md
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
$ aio cloudmanager:update-pipeline --branch=develop
Should be a new command
$ aio cloudmanager:list-environments
In the documentation for https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/main/README.md#aio-cloudmanagerdownload-logs-environmentid-service-name-days and https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/main/README.md#aio-cloudmanagertail-log-environmentid-service-name is written "lists available logs for an environment in a Cloud Manager program"
For both commands, this is not really the case. Could you please improve the description?
For people don't have access to a sandbox it would be easier to unterstand.
when running
$ DEBUG=* aio cloudmanager:<anything>
it would be helpful if the debug output included the actual HTTP response body when an error occurred
Debug output only includes fetched URLs
Best practice now is to have a separate npm module (aio-lib-XXX
) which contains the actual API logic and the plugin is just a wrapper around this.
Running
$ aio cloudmanager
should output something (ideally the help message)
Doing this returns an error:
TypeError: this.run is not a function
at CloudManagerCommand._run (~/.local/share/@adobe/aio-cli/node_modules/@oclif/command/lib/command.js:44:31)
When there are no log options, the output should say that.
You just get an empty table.
Invoke aio cloudmanager:list-available-log-options
on an environment with no log options
There should be an easier way to update a pipeline specifying a tag. While this is currently possible, it's not entirely intuitive.
$ npx depcheck
Unused dependencies
* @oclif/config
* @oclif/errors
* @oclif/plugin-help
* zlib
Missing dependencies
* execa: ./e2e/e2e.js
* lodash: ./src/client.js
* @adobe/aio-cli-plugin-config: ./test/fixtures/scripts/global-setup.js
devDep warnings removed because I think they are false positives.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.