Skip to content
New issue

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

Support individual packaging, or clearly reject if there's no intention to support it #254

Closed
medikoo opened this issue Aug 19, 2019 · 2 comments
Labels
bug pr-pending Issues that have a pending PR associated with them v1 issues found on v1.x or feature requests

Comments

@medikoo
Copy link
Contributor

medikoo commented Aug 19, 2019

Currently if serverless.yml is set with package.individually, deployment crahes with error as such:

 Error: Function app zip file 'XXX' does not exist

If for some reason there's no intention to support individual per-function packaging, then I believe it should be reported with clear message as:

Azure plugin does not support `pakcage.individually` option.
@medikoo medikoo added bug v1 issues found on v1.x or feature requests labels Aug 19, 2019
@tbarlow12
Copy link
Collaborator

tbarlow12 commented Aug 26, 2019

Just to be clear, the setting is configured as:

service: myService

package:
    individually: true
...

Correct?

@tbarlow12 tbarlow12 added the pr-pending Issues that have a pending PR associated with them label Aug 26, 2019
@medikoo
Copy link
Contributor Author

medikoo commented Aug 27, 2019

Yes, it's about: https://serverless.com/framework/docs/providers/aws/guide/packaging/#individual-function-packages

While Serverless documents it in context of AWS, the setting is in global context, and also Azure relies on same packaging functions which react to those setting.

tbarlow12 added a commit that referenced this issue Aug 29, 2019
`package.individually` is not supported. Throws an error if user tries to use it.

Resolves #254
tbarlow12 added a commit that referenced this issue Aug 30, 2019
`package.individually` is not supported. Throws an error if user tries to use it.

Resolves #254
tbarlow12 added a commit that referenced this issue Sep 13, 2019
`package.individually` is not supported. Throws an error if user tries to use it.

Resolves #254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pr-pending Issues that have a pending PR associated with them v1 issues found on v1.x or feature requests
Projects
None yet
Development

No branches or pull requests

2 participants