52 Commits

Author SHA1 Message Date
Mariusz Nowak
d66e457572
Ensure to update tests with a new runtime 2019-11-20 11:11:20 +01:00
Nathan Chapman
d266b1b399 Return null from logStat promise to remove Bluebird warnings 2019-08-16 16:08:00 -05:00
Stephane Seng
5952712085 fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually.
The main motivation behind these changes is to rely on
https://github.com/jprichardson/node-fs-extra/blob/8.1.0/docs/copy-sync.md as
much as possible in order to avoid having to do the
`fullFilePath.replace(srcDir, '')` operation because this operation can be
error-prone.

Doing so fixes the following issues because the user-submitted file paths are
now correctly interpreted by fs-extra, closing both #6525 and #5172.
2019-08-12 23:09:23 +02:00
Mariusz Nowak
b15c9cce5e
Fix segment tracking tests 2019-07-19 16:47:45 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Philipp Muens
a02b31e91c Add support for S3 hosted package artifacts 2019-06-05 13:33:36 +02:00
Mariusz Nowak
304f43ff18
Update after chai upgrade 2019-06-03 17:30:26 +02:00
Mariusz Nowak
f6d993e97b
Merge with master 2019-05-31 12:36:53 +02:00
Mariusz Nowak
5dec45f590
Fix lint issues 2019-05-30 22:06:36 +02:00
Mariusz Nowak
f14d870ea1
Ensure to cleanup temporary files 2019-05-30 17:13:38 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Philipp Muens
5b5425d939 Update AWS Node.js runtime to version 10 2019-05-15 14:27:55 +02:00
Philipp Muens
606e82d85b Fix validation after API Gateway deployment 2019-05-13 15:11:25 +02:00
Philipp Muens
4a641471f8 Add unit tests for getLocalAccessKey function 2019-03-21 14:10:02 +01:00
Pavel Vlasov
bca4da55b3 add support for serverless.js 2017-12-19 20:14:39 +11:00
Philipp Muens
907c16da21 Fix failing Utils class tests 2017-09-04 10:27:41 +02:00
Philipp Muens
a05bc333e3 Fix Utils class tests 2017-09-04 09:42:39 +02:00
Mariusz Nowak
5dce256f00 Ensure errorneous calls are properly exposed 2017-08-22 15:11:33 +02:00
Vlad Holubiev
8be178b839 Use is-docker npm package, increased test coverage 2017-08-01 01:02:40 +03:00
Philipp Muens
e0a329da34 Change serviceName to name 2017-07-19 12:40:24 +02:00
Alex DeBrie
7e33670748 Send to new tracking endpoint. Add serviceName in tracking. 2017-07-17 21:32:13 +00:00
Eslam A. Hefnawy
dd6c21d51a auto deployment update 2017-07-17 19:55:43 +07:00
horike37
172e12dfc5 update to use chai-as-promise instead of chai 2017-07-12 08:47:59 +09:00
horike37
10acadc09c remove unnecessary parts 2017-07-12 08:29:42 +09:00
horike37
311d322b82 fixed unhandled rejection errors 2017-07-12 08:26:26 +09:00
Eslam λ Hefnawy
ffae3adc62 Merge pull request #3812 from serverless/add-invocation-id
Add invocationId
2017-06-21 19:23:32 +08:00
Alex DeBrie
17736d0d96 Move AWS-specific data into separate object 2017-06-21 02:25:38 +00:00
Alex DeBrie
93c4f9816d Add check for cognito authorizer as string 2017-06-21 01:25:50 +00:00
Alex DeBrie
8e76f6d6d6 Fix linting issue 2017-06-19 14:36:44 +00:00
Alex DeBrie
2c012ab8f5 Stronger checks on how authorizers are indicated in serverless.yml 2017-06-19 14:35:53 +00:00
Philipp Muens
d689b9e104 Add invocationId 2017-06-19 09:02:48 +02:00
Alex DeBrie
24e26b3cd1 Fix linting errors 2017-06-19 02:13:52 +00:00
Alex DeBrie
5aae161ce4 Add checks for HTTP Authorizers 2017-06-19 00:53:14 +00:00
Philipp Muens
0e90a6ba2c Fix logStat() tests 2017-06-01 09:35:04 +02:00
davidwells
a9768ce68e update linting 2017-05-29 09:00:16 -07:00
davidwells
b1e12661e0 remove old tests 2017-05-26 17:00:31 -07:00
Philipp Muens
253fe3e8e5 Merge pull request #3647 from HyperBrain/support-json-project
Added support for serverless.json. Improved error messages with filename
2017-05-25 11:58:53 +02:00
Philipp Muens
a663974271 Fix broken Utils tests 2017-05-24 14:01:07 +02:00
Philipp Muens
e6f2c2d3aa Update other relevant parts of the codebase 2017-05-19 15:08:35 +02:00
Helen Yau
eaaee3f89e fix linting error: add a missing comma to the serverless.service object 2017-05-11 10:26:17 -07:00
Helen Yau
c989d879e7 Fix unhandled rejection TypeError in unit testing now all tests pass for #logStat() 2017-05-10 17:42:58 -07:00
Philipp Muens
de8adc71e5 Update to latest Node.js runtime 2017-03-25 22:18:00 +01:00
Doug Moscrop
1012c351b7 add sinon-bluebird to make promises in tests a bit cleaner 2017-02-08 12:59:18 -05:00
Philipp Muens
54fbaadede Remove defaults service property 2017-01-30 11:03:40 +01:00
Philipp Muens
791880911a Remove unnecessary assertions 2017-01-10 08:57:43 -08:00
Philipp Muens
dc8fe5c22f Remove unnecessary getRootPath method 2017-01-10 08:16:17 -08:00
Philipp Muens
2d2ba4521d Update Docker detection to be cgroup based
This ensures a more stable detection strategy since .dockerenv might be not around for the long term.
2017-01-09 11:15:12 -08:00
Philipp Muens
ce8bbc4885 Add Docker detection 2017-01-08 14:19:25 +01:00
ac360
08769fc1c1 fix linting errors 2016-12-01 10:48:35 +01:00
ac360
da19c9e495 add support for setting multiple profiles 2016-12-01 10:48:35 +01:00