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
I would love speed up re-packaging of my project's python requirements by explicitly telling this plugin not to run sometimes.
Example: When I'm on a slow internet connection I can avoid network requests. When I'm on battery can avoid the Docker invocation. Or just when reqs haven't changed.
As an example, would like to:
sls package --skip-python-requirements
sls deploy --skip-python-requirements
(or however params to plugin execution can be passed)
The text was updated successfully, but these errors were encountered:
This would best be implemented as skipping the pip install step (rather disabling the plugin entirely) and still linking/unlinking from .serverless/requirements
Some notes from my implementation, however, is that the .serverless folder is completely destroyed before passing context into this plugin. So we can't use the previous data in .serverless/requirements. At least, not to my knowledge. See my comments on that PR for more details...
I would love speed up re-packaging of my project's python requirements by explicitly telling this plugin not to run sometimes.
Example: When I'm on a slow internet connection I can avoid network requests. When I'm on battery can avoid the Docker invocation. Or just when reqs haven't changed.
As an example, would like to:
sls package --skip-python-requirements
sls deploy --skip-python-requirements
(or however params to plugin execution can be passed)
The text was updated successfully, but these errors were encountered: