112 Commits

Author SHA1 Message Date
Philipp Muens
580396ac15
Merge pull request #5994 from endeepak/feature/5993_invoke_local_docker_arg
#5993: Ability to pass args for docker run command during invoke local docker
2019-04-08 03:34:50 -07:00
Deepak N
94921b3f43 #5993: Fix flatMap function usage 2019-04-03 19:18:15 +05:30
Deepak N
f9aae6a1c6 #5993: Ability to pass args for docker run command during invoke local docker 2019-04-03 18:50:55 +05:30
Jerome Doby
bfd2641388 increment invoke-bridge version 2019-03-26 07:31:26 -05:00
Philipp Muens
2dbc267eac Add check if Docker daemon is running 2019-03-14 13:05:24 +01:00
Daniel Schep
6cf3563139 jszip as main dep, DRY getting runtime, use on exit instead of on close 2019-03-13 09:27:34 -04:00
Daniel Schep
af92c09335 review feedback 2019-03-06 09:27:42 -05:00
Daniel Schep
ee3fef217d support for package artifact based services! 2019-03-05 11:28:13 -05:00
Daniel Schep
60c4151baf global layer cache 2019-03-05 11:28:13 -05:00
Daniel Schep
df1860dc46 restore original functionality! docker as fallback/flag 2019-03-05 11:28:13 -05:00
Daniel Schep
6ceef70718 move docker to own func to retain old functionality 2019-03-05 11:28:13 -05:00
Daniel Schep
dbd6b0a19c rework a bit 2019-03-05 11:28:13 -05:00
Daniel Schep
47d08005de use 's builtin unzipping 2019-03-05 11:28:13 -05:00
Daniel Schep
9e5512e66e use path.join, right log func, and pre-download base image if needed 2019-03-05 11:28:13 -05:00
Daniel Schep
ebf9eef917 support for service wide layer declaration. closes #5582 2019-03-05 11:28:13 -05:00
Daniel Schep
6046d9463a fix executable & binary layer contents 2019-03-05 11:28:13 -05:00
Daniel Schep
0dc1a5f38f support for layers!! 2019-03-05 11:28:13 -05:00
Daniel Schep
c71ae6808a WIP 2019-03-05 11:28:13 -05:00
Tan Zhen Yong
998e8e5761 Add stack trace to error from AWS invokeLocal 2019-02-14 20:31:14 +08:00
Daniel Schep
9b716b4be0 lint 2019-02-05 13:16:32 -05:00
Daniel Schep
931caf866d set timout&others on context in python invoke local
closes #5792
2019-02-05 13:02:39 -05:00
Philipp Muens
89d037c468
Merge pull request #5662 from jetbridge/master
Provide AWS_PROFILE from configuration for invoke local
2019-01-22 13:12:29 +01:00
Mischa Spiegelmock
b563fb218e attempting to create a test for invoke local with profile 2019-01-16 15:58:30 +02:00
Daniel Schep
c0a48b1ef7 remove use of Object.entries & String.includes & Array.includes 2019-01-16 07:32:07 -05:00
Mischa Spiegelmock
7004831dd4 provide AWS_PROFILE from configuration for invoke local - same as region 2019-01-08 13:45:12 +02:00
Takahiro Horike
b7936defe0
Merge pull request #5378 from medikoo/fix-error-output
Fix error log output
2018-12-31 15:48:09 +09:00
Daniel Schep
fa4ef1159a
Merge pull request #5565 from serverless/sls-5563
set env vars from --env last in invoke local
2018-12-05 14:43:36 -05:00
Daniel Schep
44a6ac1a10 set env vars from --env last in invoke local
fixes #5563
2018-12-05 09:43:24 -05:00
Dean Holdren
99c4256461 support Ruby class method as handler 2018-12-04 16:28:14 -05:00
Dean Holdren
d147db90b0 ruby support for invokeLocal 2018-12-04 13:48:45 -05:00
Daniel Schep
42e0cf4dff test invoke local support for returning value directly and fix it 2018-11-27 11:35:18 -05:00
Daniel Schep
5ffd7f4ae8 Fix invoke local when using callback in nodejs 2018-11-27 09:52:50 -05:00
Sean O'Hollaren
45683ad808 Fix bug where code attempted to parse data / context objects when they were not supplied 2018-11-21 12:16:43 -08:00
Daniel Schep
b76bb189b1 Python3.7 support!!!
AWS now supports Python3.7 in Lambda!
https://aws.amazon.com/blogs/compute/python-3-7-runtime-now-available-in-aws-lambda/
2018-11-19 16:22:35 -05:00
Daniel Schep
4578245d54
Merge pull request #5210 from serverless/pythonxy
Use pythonX instead of pythonX.Y in invoke local(take 3)
2018-11-02 07:27:12 -04:00
Mariusz Nowak
5fa15e130e Fix logging of local invoke error 2018-10-11 16:42:03 +02:00
Mariusz Nowak
9b003ec379 Remove invalid log 2018-10-11 15:26:02 +02:00
horike37
f353efcfae Use pythonX instead of pythonX.Y in invoke local 2018-08-13 22:56:48 +09:00
bhaskarbalusani
c961dee9ab
Update index.js 2018-08-06 14:22:22 +05:30
bhaskarbalusani
a1876717a3
Update index.js 2018-08-06 13:17:39 +05:30
bhaskarbalusani
e599f57178
Update index.js 2018-08-03 15:45:28 +05:30
Lewis Chung
e48f1dada5 fix lint 2018-05-30 11:34:42 -07:00
Lewis Chung
15e506196f Fix test cases for callback + context.done 2018-05-30 11:32:56 -07:00
Lewis Chung
48a249500b Add more test cases 2018-05-29 16:51:47 -07:00
Lewis Chung
9acef76ea0 Address callback being called in async function and error being returned 2018-05-29 16:42:39 -07:00
Lewis Chung
68e4460451 Make adjustments
- Use lodash to check thennable
- Add arguments back into lambda context fixture
2018-04-30 09:28:35 -07:00
Lewis Chung
202fcbd8a7 Fix lint on Node 8 2018-04-17 10:24:02 -07:00
Lewis Chung
e29b6e7d07 Fix handling of maybeThennable 2018-04-17 10:11:56 -07:00
Lewis Chung
82278d351d change promise handling to check if return value is a promise rather than checking runtime 2018-04-17 09:49:28 -07:00
Lewis Chung
dd5aa83c93 remove unnecessary change 2018-04-17 00:04:34 -07:00