246 Commits

Author SHA1 Message Date
TATSUNO Yasuhiro
8bb5517456
refactor: Replace _.{startsWith,endsWith,includes} with native methods
(PR #7715)
2020-05-19 12:22:25 +02:00
Alex Soto
4252422a94
fix(AWS Local Invocation): Ensure to mount as read only in docker
(PR #7622)
2020-05-18 21:45:07 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
Yotaro
a6b3154dee
feat(AWS Local Invocation): Support ruby2.7 runtime (#7538) 2020-04-21 14:16:53 +02:00
Arben Bakiu
d84e9e7d1e
fix: Fix handler resolution (multi . case) for local invocation (#7398) 2020-02-28 11:19:09 +13:00
frozenbonito
90b3a8f81e
fix: Ensure AWS creds resolution for local docker invocation (#7375) 2020-02-24 17:18:29 +13:00
frozenbonito
c09f71897a
fix: Ensure AWS env vars in local invocation made with docker (#7349) 2020-02-19 13:52:33 +13:00
Richard Davison
f6d9bfd6c6
feat: Improve performance of local invocation using docker (#7178) 2020-02-12 11:21:45 +13:00
Artur Grzybowski
9591d5a232 feat: Enhance configuration options of cloudFront event (#7170)
Fixes #7151 
Addresses partially #6843 and #6785
2020-01-09 14:07:33 +01:00
Mariusz Nowak
6ad516323b
fix: Fix mishandling of cachedCredentials in invokeLocal
Fixes #7050

Regression introduced with #7044
2019-12-05 11:15:07 +01:00
Mariusz Nowak
2f0ce9495b
test: Expose cachedCredentials mishandling in invokeLocal 2019-12-05 11:15:07 +01:00
Mariusz Nowak
356168785b
Fix AWS creds handling 2019-12-04 10:07:21 +01:00
Mariusz Nowak
f2a41bf0bd
Improve tests 2019-12-04 10:07:11 +01:00
Michael Hart
5e2e09a81f Enable Content Trust checking when pulling lambci/lambda images
This ensures that the images are signed correctly:
https://docs.docker.com/v17.09/engine/security/trust/content_trust/
2019-11-21 13:28:57 -05:00
Mariusz Nowak
0c8c8a0fb6
Merge pull request #6983 from serverless/bump-runtime-in-docs
Default to Nodejs12.x runtime
2019-11-20 12:18:10 +01:00
Mariusz Nowak
d66e457572
Ensure to update tests with a new runtime 2019-11-20 11:11:20 +01:00
Mariusz Nowak
71699d9a47
Default to nodejs12.x runtime 2019-11-20 09:48:32 +01:00
kdnakt
42517daf96 Python3.8 support! 2019-11-20 01:29:39 +09:00
Daniel Schep
ae36c256c0 plat-1798 - set env vars for AWS creds from cached credentials in invoke local
this allows for use of credentials provided by a deploy profile in the
serverless dashboard
2019-11-07 12:54:34 -05:00
Lasantha Kularatne
c11c9efe21 Issue 4867 - Allowing InvokeBridge to find handleRequest method from super classes 2019-10-04 14:15:29 -05:00
Philipp Muens
f11792e382 Update Jackson versions 2019-09-25 10:20:16 +02:00
Mariusz Nowak
6c949450bc
Refactor to rely on @serverless/test/skip-with-notice 2019-09-13 16:53:47 +02:00
drexler
5e425a7f84 test: update covering tests 2019-09-11 07:49:19 -04:00
Mariusz Nowak
4fa9854f81
Fix restore of process.stdin 2019-09-05 16:12:50 +02:00
Daniel Schep
e2e9a77c46 alternative approach to creds fail fast taht includes metadata check 2019-07-22 14:59:49 -04:00
Mariusz Nowak
d2e537329f
Fix lint issues
Came out after change to no-confusing-arrow rule
2019-07-19 17:46:08 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Jonathan Wilbur
b96404763b
Make stackTrace undefined if err.stack undefined 2019-06-19 09:12:44 -04:00
Jonathan Wilbur
c6f64e50e1
Fix #6267 2019-06-18 17:58:45 -04:00
Mariusz Nowak
93a632f342
Ensure proper context 2019-06-05 11:03:52 +02:00
Mariusz Nowak
8ca00b6f9f
Increase default timeout
Some tests tend to timeout especially when run on Windows in VM
2019-06-05 10:59:22 +02:00
Mariusz Nowak
d3b7d2eac0
Unify timeout notices 2019-06-05 10:07:05 +02:00
Mariusz Nowak
0f181edd67
Rely on skipWithNotice 2019-06-05 09:53:33 +02:00
Mariusz Nowak
7245160416
Improve comments 2019-06-04 16:06:54 +02:00
Mariusz Nowak
d25730344c
Improve comment 2019-06-04 16:01:41 +02:00
Mariusz Nowak
7d23851897
Skip tests for not installed runtimes 2019-06-04 15:56:26 +02:00
Mariusz Nowak
77118040df
Fix mock 2019-06-04 15:06:12 +02:00
Mariusz Nowak
9ff21c89cc
Ensure to handle spawn error 2019-06-04 15:05:43 +02:00
Mariusz Nowak
0b801a6aca
Increase timeout 2019-06-04 13:59:09 +02:00
Mariusz Nowak
8a639fe777
Increase timeout for randomly failing test 2019-06-04 11:33:19 +02:00
Mariusz Nowak
f6d993e97b
Merge with master 2019-05-31 12:36:53 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
a791a999a0
Merge branch 'master' into improve-env-vars-handling 2019-05-30 14:51:59 +02:00
Mariusz Nowak
ec3d8d2649
Improve tests timeout in face of failures 2019-05-29 15:37:54 +02:00
Mariusz Nowak
531f4600db
Isolate process.env toggling in tests 2019-05-29 10:15:18 +02:00
Mariusz Nowak
ad9810fbc9
Merge branch 'master' into improve-promised-bdd-setup 2019-05-21 16:57:36 +02:00
Philipp Muens
25ca3bb84d Setup Travis to work with Windows / Remove AppVeyor 2019-05-21 12:34:15 +02:00
Mariusz Nowak
5208539327
Merge branch 'fix-tests-setup' into improve-promised-bdd-setup 2019-05-20 12:36:10 +02:00
Mariusz Nowak
28c1c1894a
Ensure to not leave orphaned async call 2019-05-20 12:35:27 +02:00
Mariusz Nowak
411762bc8b
Ensure to return promise 2019-05-20 09:53:55 +02:00