You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In-depth testing of package / deploy command separation #3467
We've recently merged the separation of package and deploy into master (see: #3344)
This issue should be used to keep track of and coordinate all the tests we're about to do so that we can make sure that it's non-breaking and can be shipped with v1.12.
The following is a list with all the different tests. Please add all the different cases you can think of as a comment. We'll update it constantly so that it always reflects the status quo.
Aside: Maybe worthwhile to translate the test cases into different integration tests later on!
Test cases
serverless package
package.path
package.individually
function.package.individually
package.artifact
function.package.artifact
Command usage without --package
Command usage with --package
serverless deploy
package.path
package.individually
function.package.individually
package.artifact
function.package.artifact
Command usage without --package
Command usage with --package
serverless deploy function
Re-Deployed single function
Provider integrations
Google Cloud Functions provider plugin
Azure Functions provider plugin
OpenWhisk provider plugin
Other plugins
serverless-aws-alias
serverless-webpack
Misc
Deploy service other than Node.js (used the aws-java-maven template)
Run npm run simple-integration-test suite
Run npm run complex-integration-test
Run Docker-based integration tests (./tests/templates/test_all_templates)
Succeeds (somehow). Not sure what’s going on though…
@pmuens Please put a ✝️ (cross - I did not find the symbol you used) at serverless-webpack plugin as long as I have not fixed the issue. It uses package.artifact during the package phase, so I have to make that available with the correct value at that time.
Thanks for the update @HyperBrain (I'll update the description of the symbols real quick...).
BTW. The Google Cloud Functions plugin has the same problem since it also tries to access package.artifact --> body: fs.createReadStream(this.serverless.service.package.artifact),
@pmuens Fix for the package.artifact is in #3469 . Please check also with the Google plugin. I tested it with the webpack and alias plugin already. It should be merged as soon as possible :)
I will fix the deploymentBucket issue next.
Activity
HyperBrain commentedon Apr 13, 2017
@pmuens Please put a ✝️ (cross - I did not find the symbol you used) at serverless-webpack plugin as long as I have not fixed the issue. It uses package.artifact during the package phase, so I have to make that available with the correct value at that time.
pmuens commentedon Apr 13, 2017
Thanks for the update @HyperBrain (I'll update the description of the symbols real quick...).
BTW. The Google Cloud Functions plugin has the same problem since it also tries to access
package.artifact-->body: fs.createReadStream(this.serverless.service.package.artifact),HyperBrain commentedon Apr 13, 2017
@pmuens Fix for the
package.artifactis in #3469 . Please check also with the Google plugin. I tested it with the webpack and alias plugin already. It should be merged as soon as possible :)I will fix the deploymentBucket issue next.
eahefnawy commentedon Apr 26, 2017
Closing this as we've fixed all test cases except for one that we're tracking on another issue