884 Commits

Author SHA1 Message Date
Daniel Schep
c3674e1293 safer & more explicit implementation of variableResolvesrs(also renamed) 2019-08-21 10:22:05 -04:00
Daniel Schep
55a794f4e0 drop support for the asyncInit function on plugins 2019-08-20 15:45:32 -04:00
Daniel Schep
c0ed311865 simplify variable getter hook system 2019-08-20 15:00:23 -04:00
Daniel Schep
d3bcfeea78 lint 2019-08-20 14:39:20 -04:00
Daniel Schep
8b53a4323a lint & docs 2019-08-20 14:29:40 -04:00
Daniel Schep
e4d29bb9cd test coverage for loading variable getters 2019-08-20 14:18:52 -04:00
Daniel Schep
02fa190d0b Add plugin hooks to define config variable getters 2019-08-20 11:23:42 -04: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
87faf71920
Clear confusing wording 2019-08-06 22:00:03 +02:00
Mariusz Nowak
ae77dbeaa0
Recognize YAMLException as user error 2019-08-06 14:14:07 +02:00
Mariusz Nowak
b3f06b8b1f
Do not duplicate error message output 2019-08-06 14:14:04 +02:00
Mariusz Nowak
7ce351e084
Log uncaught exceptions 2019-08-06 13:44:43 +02:00
Mariusz Nowak
406d4c713a
Expose stack trace for non user errors 2019-08-06 13:44:15 +02:00
Mariusz Nowak
80e6ad5fb7
Recognize isUserError variable 2019-08-06 13:44:15 +02:00
Mariusz Nowak
ee091fb91c
Show SLS_DEBUG info only when it's not used 2019-08-06 13:44:14 +02:00
Mariusz Nowak
18dfb69e31
Improve non-error exception handling 2019-08-06 13:44:10 +02:00
Mariusz Nowak
5e57ad365e
Improve variable name 2019-08-06 13:02:01 +02:00
Mariusz Nowak
77432a0e07
Improve variable name 2019-08-06 13:02:01 +02:00
Mariusz Nowak
11cb305329
Improve variable name 2019-08-06 13:02:00 +02:00
Philipp Muens
8f86fb29bb Fix test 2019-08-05 16:37:17 +02:00
astuyve
f3b73d1ad3
Newlines, instead of commas 2019-08-05 08:19:56 -05:00
astuyve
800f729bc1
Prettify 2019-08-05 08:14:02 -05:00
astuyve
ac6b740de9
Remove Enterprise and Platform from log info 2019-08-05 08:08:17 -05:00
Maciej Skierkowski
0d44aaca0a Use slss.io for links 2019-07-22 13:02:30 -04:00
Daniel Schep
710139eee9
Fix broken lint outcome after 'no-confusing-arrow' change (#6411)
Fix broken lint outcome after 'no-confusing-arrow' change
2019-07-19 12:09:05 -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
316c8a86b6
Fix tests 2019-07-19 17:14:27 +02:00
Mariusz Nowak
f8fc8d9730
Ensure to not crash with logged error 2019-07-19 17:14:03 +02:00
Mariusz Nowak
b15c9cce5e
Fix segment tracking tests 2019-07-19 16:47:45 +02:00
Mariusz Nowak
86104ef21d
Reorganize tracking logic 2019-07-18 23:02:14 +02:00
Mariusz Nowak
c8709af12e
Do not do forced process exits 2019-07-18 19:36:07 +02:00
Daniel Schep
505b6d429d support for calling tenant orgs
chosing between the two is handled by SFE plugin
2019-07-16 16:11:45 -04:00
Philipp Muens
084cee4538
Merge pull request #6345 from domcorvasce/master
Add SLS_NO_WARNINGS env var
2019-07-16 12:49:39 +02:00
Jonathan Keslin
31834261b0 Warn when attempting to split non-StringList parameter type 2019-07-12 09:38:48 -07:00
Jonathan Keslin
87315d7c48 prettier fix 2019-07-11 15:46:47 -07:00
Jonathan Keslin
96946fd5fc Allow optionally splitting SSM parameter value for StringList type 2019-07-11 15:33:17 -07:00
Dom Corvasce
5500a07d12 Show available env vars in the help output 2019-07-11 11:41:26 +02:00
Dom Corvasce
38f42dfb5c Rename SLS_NO_WARNINGS to SLS_WARNING_DISABLE 2019-07-10 11:52:05 +02:00
Philipp Muens
dfe6e07161
Merge pull request #6344 from serverless/sfe-version-info
SFE plugin & sdk version info
2019-07-10 11:26:25 +02:00
Philipp Muens
1d4ef3b2b6 Add tests 2019-07-10 11:10:16 +02:00
Daniel Schep
dafbf82056 prettier & dep bump 2019-07-08 16:20:07 -04:00
Dom Corvasce
508ed78442 Add SLS_NO_WARNINGS to hide warnings 2019-07-08 18:27:16 +02:00
Daniel Schep
9559afbc39 Merge remote-tracking branch 'origin/master' into sfe-version-info 2019-07-08 12:10:17 -04:00
Daniel Schep
92bd3fd814 SFE plugin & sdk version info
in both `--version` and error output
2019-07-05 14:58:13 -04:00
Mariusz Nowak
02192415be
Improve serverless mock 2019-07-01 13:05:49 +02:00
Mariusz Nowak
d91ed8e57f
Merge branch 'master' into interactive-serverless 2019-07-01 12:48:22 +02:00
Mariusz Nowak
e11cc2c51b
Ensure to expose non-errors in informative way 2019-06-28 15:19:53 +02:00
Mariusz Nowak
223a7d845e
Whitespace 2019-06-28 14:51:06 +02:00
Mariusz Nowak
041e657273
Cleanup region and stage option resolution 2019-06-28 13:32:53 +02:00