7343 Commits

Author SHA1 Message Date
Austen
1cc7b2fa24 Merge pull request #522 from ryansb/master
Use universal /usr/bin/env path instead of /bin/env
2016-01-26 13:35:42 -08:00
Austen
8bea95884a Merge pull request #523 from joostfarla/patch-3
Fix casing issue
2016-01-26 13:35:27 -08:00
Joost Farla
ac927e7f46 Fix casing issue
Causes an error when doing:

```
require('serverless');
```
2016-01-26 21:50:05 +01:00
Ryan S. Brown
711f568b0c Use universal /usr/bin/env path instead of /bin/env 2016-01-26 14:36:57 -05:00
Austen
2601a1931f Merge pull request #521 from ryansb/master
Add binary for running Python functions to $PATH
2016-01-26 10:58:05 -08:00
Ryan S. Brown
6c4e98f3c0 Add binary for running Python functions to $PATH
The `serverless-run-python-handler` binary must be in the user's path in
order to run Python functions locally, and it wasn't in `package.json`
so users using `npm install` or `npm link` to get serverless wouldn't
have it in their $PATH.
2016-01-26 13:55:14 -05:00
Austen
7c3c26d6e9 Merge pull request #520 from ryansb/master
Fix syntaxerror introduced with blank __init__.py file
2016-01-26 10:41:28 -08:00
Ryan S. Brown
4c8784a3a3 Fix syntaxerror introduced with blank __init__.py file 2016-01-26 13:39:25 -05:00
ac360
525562024b Release v0.2.0 2016-01-26 09:04:56 -08:00
ac360
58ccc95046 Release 0.2.0 v0.2.0 2016-01-26 08:19:57 -08:00
ac360
05abbb4fa8 DashSummary: Fix error 2016-01-26 08:14:29 -08:00
Eslam A. Hefnawy
8c38a6af96 projectInstall: clean packcage.json 2016-01-26 17:23:45 +07:00
Eslam A. Hefnawy
10b91037c2 projectInstall: auto install components deps 2016-01-26 16:52:48 +07:00
Eslam A. Hefnawy
91f97dcd96 projectInstall: fixed errors 2016-01-26 16:24:17 +07:00
Austen
68cb056389 Merge pull request #519 from joostfarla/mock2
Allow other endpoint types
2016-01-25 22:47:30 -08:00
Joost Farla
e5afd30532 Allow other endpoint types 2016-01-26 06:42:34 +00:00
Austen
7b0b90ed65 Merge pull request #507 from ryansb/python-support
Python support
2016-01-25 16:34:38 -08:00
Ryan S. Brown
938f0a7da9 Fix missing comma when creating vendor directory 2016-01-25 16:16:37 -05:00
Ryan S. Brown
e04b6f3472 Fix deploy call to be runtime-independent 2016-01-25 16:05:47 -05:00
Ryan S. Brown
08428928fd Remove Python deploy action 2016-01-25 16:04:28 -05:00
Ryan S. Brown
f72193963b Fix object naming 2016-01-25 16:04:15 -05:00
Ryan S. Brown
960b500843 Move lambda deploy plugin to be runtime-generic 2016-01-25 16:03:12 -05:00
Austen
69e2a15b97 README: Add plugin 2016-01-25 11:38:09 -08:00
Eslam A. Hefnawy
e597f1dff5 function run fetches env var from stage and region if provided 2016-01-26 00:04:35 +07:00
Eslam A. Hefnawy
b93f39ab31 new action: DashSummary. summary about your project stages, regions, components, modules, functions and endpoints. 2016-01-25 18:25:47 +07:00
Eslam A. Hefnawy
a9d776a29b fixed debug mode during unit testing 2016-01-25 15:40:15 +07:00
ac360
c3f8691488 Release V0.1.5 v0.1.5 2016-01-23 09:07:57 -08:00
ac360
149a0d5a3d Serverless: Bring back _init method for backwards compatibility 2016-01-23 09:07:24 -08:00
Ryan S. Brown
2cc3f7503c Add a __init__.py to the folder 2016-01-23 10:29:43 -05:00
Ryan S. Brown
55d8d459fc Use pip to install base python dependencies
... of which there are currently none, but that's fine.
2016-01-23 10:24:48 -05:00
Ryan S. Brown
495376ccd4 Add utility for pip installation using -t 2016-01-23 10:24:29 -05:00
Ryan S. Brown
bfe2976d07 Allow Python functions to be run locally top-level dir
Use the real path of the running file instead of the relative path from
where the function is run.

This means `serverless function run componentnamd/modname/functionname`
works everywhere in the project, not just in the function directory.
2016-01-23 10:22:15 -05:00
Ryan S. Brown
a8250978de Add component lib import to example handler 2016-01-23 09:44:06 -05:00
Ryan S. Brown
bb438e6acb Add Python2 deploy action - hurrah! 2016-01-23 09:34:03 -05:00
Ryan S. Brown
a8b58aa63c First pass at Python2 deployment for functions 2016-01-23 09:08:15 -05:00
Ryan S. Brown
26db3e3ba3 Merge Node and Python deploy package step
This commit kills the language-agnostic CodePackageLambdaNodeJs action
in favor of the agnostic CodePackageLambda. We can still do
language-specific stuff, but 100% of the logic for packaging as it is
now is agnostic, so it doesn't need to be separate.
2016-01-23 09:08:15 -05:00
Ryan S. Brown
3188a38b8d Add py2 packaging to Actions.json 2016-01-23 09:08:15 -05:00
Ryan S. Brown
d0f2a10c9b Add python packaging call 2016-01-23 09:08:15 -05:00
Ryan S. Brown
54055d1271 Remove debug statement 2016-01-23 09:08:15 -05:00
Ryan S. Brown
e2e02a004b Add Python2 FunctionRun action 2016-01-23 09:08:15 -05:00
Ryan S. Brown
21d0f270ec Add Python run handler 2016-01-23 09:08:15 -05:00
Ryan S. Brown
d091a16aaa Fix STDOUT and STDERR capture 2016-01-23 09:08:15 -05:00
Ryan S. Brown
39865daf08 Add python function-run binary 2016-01-23 09:08:15 -05:00
Ryan S. Brown
d9ad1ecb74 Handle dependencies and lib templates for Python runtime 2016-01-23 09:08:14 -05:00
Ryan S. Brown
3e198c1d8d Add python template files 2016-01-23 09:08:14 -05:00
Ryan S. Brown
2f0bb5620b Copy python templates to new functions 2016-01-23 09:08:14 -05:00
Ryan S. Brown
8b9476fa91 Add Python/pip as runtime & package manager 2016-01-23 09:08:14 -05:00
ac360
faa5b0267e Release v0.1.4 v0.1.4 2016-01-22 16:42:20 -08:00
ac360
95d997733c DashDeploy/FunctionDeploy: Minor UX improvements 2016-01-22 16:39:39 -08:00
ac360
16d9b6b7bc Templates: Fix template inheritance, allow template files in every level of organization, each inherit subjectively from the project level to the asset being populated 2016-01-22 16:18:12 -08:00