We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When called at the root of a CNA project folder, aio cna undeploy should remove all the actions and package used by this CNA.
If the application is run and debugged remotely (aio cna run + CNA debugging with wskdebug profile), some proxy actions are created within the application package. These actions are not stored in the manifest.yml and therefore not handled by https://github.com/adobe/adobeio-cna-scripts/blob/master/scripts/undeploy.actions.js
This results in an error like on the screenshot below:
Please look at the steps below:
$ aio cna init helloworld //just use the wizard default values $ cp _your_dot_env helloworld/ $ cd helloworld
// add a second action in the actions folder and declare it in the manifest.yml // for example 'goodbye', with a simple index.js implementation
$ aio cna run
// just set a breakpoint in the hello index.js file and launch a debugging session... // Quit the debugging session and go back to your term
$ aio cna deploy $ aio cna undeploy
// Error happens, the goodbye_wskdebug_original action is not undeployed
Please see the screenshot
The text was updated successfully, but these errors were encountered:
The error log indicates following flow
Sorry, something went wrong.
some potential solutions on top of my mind:
has been fixed in #24
No branches or pull requests
Expected Behaviour
When called at the root of a CNA project folder, aio cna undeploy should remove all the actions and package used by this CNA.
Actual Behaviour
If the application is run and debugged remotely (aio cna run + CNA debugging with wskdebug profile), some proxy actions are created within the application package.
These actions are not stored in the manifest.yml and therefore not handled by https://github.com/adobe/adobeio-cna-scripts/blob/master/scripts/undeploy.actions.js
This results in an error like on the screenshot below:
Reproduce Scenario (including but not limited to)
Please look at the steps below:
Steps to Reproduce
$ aio cna init helloworld //just use the wizard default values
$ cp _your_dot_env helloworld/
$ cd helloworld
// add a second action in the actions folder and declare it in the manifest.yml
// for example 'goodbye', with a simple index.js implementation
$ aio cna run
// just set a breakpoint in the hello index.js file and launch a debugging session...
// Quit the debugging session and go back to your term
$ aio cna deploy
$ aio cna undeploy
// Error happens, the goodbye_wskdebug_original action is not undeployed
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
Please see the screenshot
The text was updated successfully, but these errors were encountered: