11262 Commits

Author SHA1 Message Date
Mariusz Nowak
b2ead19255
Ensure process is seen as TTY for test run 2019-09-05 17:39:08 +02:00
Mariusz Nowak
008a9e9a47
Ensure working mock on Windows 2019-09-05 17:19:10 +02:00
Mariusz Nowak
83aa7a9aa5
Ensure tests cleanup 2019-09-05 16:12:50 +02:00
Mariusz Nowak
b294b73c29
Cleanup test configuration 2019-09-05 16:12:50 +02:00
Mariusz Nowak
4fa9854f81
Fix restore of process.stdin 2019-09-05 16:12:50 +02:00
Mariusz Nowak
6fabdc0ee9
Bump @serverless/eslint-config version 2019-09-05 16:12:50 +02:00
Mariusz Nowak
1872930b94
Tests for an interactive CLI 2019-09-05 16:12:50 +02:00
Mariusz Nowak
993688fd14
inquirer stub generator 2019-09-05 16:12:50 +02:00
Mariusz Nowak
7078a808e6
Rely on plugin paths not constructors
So it works with refreshed module exports
2019-09-05 16:12:49 +02:00
Mariusz Nowak
006a48c09d
Ensure to work with tracking disabled 2019-09-05 16:12:49 +02:00
Mariusz Nowak
453f608622
Expect simplified modulesCacheStub 2019-09-05 16:12:49 +02:00
Mariusz Nowak
9df4cb3e8b
Support env option 2019-09-05 16:12:49 +02:00
Mariusz Nowak
0bc32422e2
Introduce modulesCacheStub functionality 2019-09-05 16:12:49 +02:00
Mariusz Nowak
bb12637b59
Improve prompt names (to make testing easier) 2019-09-05 16:12:49 +02:00
Mariusz Nowak
e088f5236e
Improve documentation 2019-09-05 16:12:48 +02:00
Mariusz Nowak
49328e13fc
Serverless test instance generator 2019-09-05 16:12:48 +02:00
Mariusz Nowak
9f784a61bb
Introduce 'name' option to improve test capabilities 2019-09-05 16:12:48 +02:00
Philipp Muens
c4b7726a21
Merge pull request #6512 from serverless/lambda-at-edge
Add support for Lambda@Edge
2019-09-05 15:40:30 +02:00
Philipp Muens
b3506b4737 Only call logRemoveReminder on removals 2019-09-05 12:51:07 +02:00
Philipp Muens
8ea498f546 Restructure tests 2019-09-05 12:51:07 +02:00
Philipp Muens
baf7f4a8cd Validate memorySize and timeout properties 2019-09-05 12:51:07 +02:00
Philipp Muens
5d0dde6930 Only log removal info when cloudFront event is used 2019-09-05 12:51:07 +02:00
Philipp Muens
bcac2a0608 Update documentation 2019-09-05 12:51:07 +02:00
Philipp Muens
2247030fc3 Remove support for async stack deployments / removals 2019-09-05 12:51:07 +02:00
Philipp Muens
071da8952a Fix tests 2019-09-05 12:51:07 +02:00
Philipp Muens
7aa8ab096c Add support for async stack remove operations 2019-09-05 12:51:07 +02:00
Philipp Muens
ae0967943b Add DeletionPolicy of Retain to Lambda@Edge functions 2019-09-05 12:51:07 +02:00
Philipp Muens
e20a026dc5 Add support for async stack deploy operations 2019-09-05 12:51:07 +02:00
Philipp Muens
23c0350245 Automatically set necessary CloudFront function defaults 2019-09-05 12:51:07 +02:00
Philipp Muens
ada1055009 Address PR review comments 2019-09-05 12:51:06 +02:00
Philipp Muens
dce68432cb Run Prettier 2019-09-05 12:51:06 +02:00
Eetu Tuomala
d879730866 use lodash to check empty values, change version function order 2019-09-05 12:51:06 +02:00
Eetu Tuomala
4c99b2d237 add test for prepareFunctions and naming 2019-09-05 12:51:06 +02:00
Eetu Tuomala
aeb3bb5a93 fix node 4 and 6 related syntax errors 2019-09-05 12:51:06 +02:00
Eetu Tuomala
cc526ff850 add cloudfront to enpoints info, fix target origin id test, add cloudfront to getStackinfo test 2019-09-05 12:51:06 +02:00
Eetu Tuomala
cad68487dc add examples to cloudfront readme 2019-09-05 12:51:06 +02:00
Eetu Tuomala
d3f54ea62f refactor origin and behavior indexing 2019-09-05 12:51:06 +02:00
Eetu Tuomala
01136970d4 add example configurations 2019-09-05 12:51:06 +02:00
Eetu Tuomala
4ff6f25912 join origins with same path and behavior with same origin target 2019-09-05 12:51:06 +02:00
Eetu Tuomala
a9e7391f82 add policies to tests 2019-09-05 12:51:06 +02:00
Eetu Tuomala
92dcc76da5 add cloudwatch logs permissions for lambda@edge 2019-09-05 12:51:06 +02:00
Eetu Tuomala
0ab041a201 add comment to cloudfront distribution 2019-09-05 12:51:06 +02:00
Eetu Tuomala
0e78b31c06 add cloudfront id cf outputs, handle external role, and origin without path 2019-09-05 12:51:06 +02:00
Eetu Tuomala
94f3c50862 add lambda invoke permission 2019-09-05 12:51:05 +02:00
Eetu Tuomala
d85ed060c9 add cloudfront logical ids to naming 2019-09-05 12:51:05 +02:00
Eetu Tuomala
040455f5a1 add cloudformation doc stub 2019-09-05 12:51:05 +02:00
Eetu Tuomala
e3b3cccb7f force function versioning, add ability to version functions individually 2019-09-05 12:51:05 +02:00
Eetu Tuomala
06fb529167 add default cache behavior test 2019-09-05 12:51:05 +02:00
Eetu Tuomala
47ec0d561a add tests 2019-09-05 12:51:05 +02:00
Eetu Tuomala
15f9828389 remove region, fix originObj 2019-09-05 12:51:05 +02:00