854 Commits

Author SHA1 Message Date
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
Mariusz Nowak
e6ae8983de
Fix lint issues after prettification 2019-06-26 12:43:01 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Philipp Muens
6d05d83edb
Merge pull request #6200 from mydiemho/myho/removeRegionDefaultFromBase
Remove default stage value in provider object
2019-06-21 12:54:57 +02:00
Matthieu Napoli
1019939969 #6017 Plugin relative paths should start with ./
Following the discussion in #6261 it should be possible to load plugin via relative paths, as long as the path starts with `./`.

For example:

```yaml
plugins:
    # will load myfirstplugin/plugin.js or myfirstplugin/plugin/index.js
    - './myfirstplugin/plugin'
    # will load mysecondplugin/plugin.js or mysecondplugin/plugin/index.js
    - './mysecondplugin/plugin'
```
2019-06-20 11:55:55 +02:00
Matthieu Napoli
152b4c460a Fix #6017 Allow to load plugin from path
The list of plugins can now contain relative paths.

For example:

```yaml
plugins:
    # will load myfirstplugin/plugin.js or myfirstplugin/plugin/index.js
    - 'myfirstplugin/plugin'
    # will load mysecondplugin/plugin.js or mysecondplugin/plugin/index.js
    - 'mysecondplugin/plugin'
```
2019-06-18 16:12:49 +02:00
Daniel Schep
2db59d6cab use path.basename 2019-06-11 08:52:00 -04:00
Daniel Schep
d7a9d2f877 Don't change signature of loadServiceFileParam 2019-06-11 08:48:58 -04:00
Daniel Schep
970a1cc3f8 refactor getServerlessConfigFile to simply accept a serverless object 2019-06-10 11:19:14 -04:00
Daniel Schep
79bb5acc48 Throw an error if sls config specifed doesnt exist 2019-06-10 11:19:14 -04:00
Daniel Schep
94bf5a4382 delint 2019-06-10 11:19:14 -04:00
Daniel Schep
2b81303370 --config option.
closes #5589
closes #4485
closes #4473
closes #4124
closes #5822
2019-06-10 11:19:14 -04:00
Philipp Muens
e252259791 Fix linting issues 2019-06-06 12:27:19 +02:00
My Ho
5541f2b9ef
Fix tests 2019-06-05 16:08:51 -07:00
My Ho
97d62097c6
remove default stage value in provider object
the current default is using AWS region naming syntax,
this mean other cloud provider would have to add extra code
to set their default value.

Instead, region default should be left to each provider.
2019-06-05 10:51:06 -07:00
Philipp Muens
a02b31e91c Add support for S3 hosted package artifacts 2019-06-05 13:33:36 +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
aa9210e85b
Increase timeout 2019-06-04 13:51:53 +02:00
Mariusz Nowak
98ce05b6a8
Increase test timeout 2019-06-04 13:20:16 +02:00
Mariusz Nowak
c5c6a92292
Skip test on windows when no admin rights 2019-06-04 13:16:33 +02:00
Mariusz Nowak
d9ff5b6dc3
Improve test timeout setting 2019-06-04 13:09:10 +02:00
Mariusz Nowak
dff3a53f84
Ensure to print child output in case of failure 2019-06-04 11:50:32 +02:00
Mariusz Nowak
304f43ff18
Update after chai upgrade 2019-06-03 17:30:26 +02:00
Mariusz Nowak
e75a1eabb7
Upgrade after chai update 2019-06-03 16:57:41 +02:00
Mariusz Nowak
54bdfdf7eb
Update after chai upgrade 2019-06-03 16:55:09 +02:00
Mariusz Nowak
1eb9deb37b
Fix instances checking in tests 2019-06-03 16:54:56 +02:00
Mariusz Nowak
663f74da68
Fix equality test 2019-06-03 13:56:56 +02:00
Mariusz Nowak
0ddfec479d
Update up to sinon upgrade 2019-06-03 13:37:57 +02:00
Mariusz Nowak
8b93649def
Merge with master 2019-06-03 11:43:18 +02:00