839 Commits

Author SHA1 Message Date
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
Dom Corvasce
508ed78442 Add SLS_NO_WARNINGS to hide warnings 2019-07-08 18:27:16 +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
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
Mariusz Nowak
f6d993e97b
Merge with master 2019-05-31 12:36:53 +02:00
Mariusz Nowak
78c2025f13
Ensure to mirror mandatory windows env var 2019-05-31 12:03:40 +02:00
Mariusz Nowak
9c5a13badd
Lint 2019-05-30 22:20:36 +02:00
Mariusz Nowak
e82eed38c1
Expose process output in case of crash 2019-05-30 22:08:33 +02:00
Mariusz Nowak
5dec45f590
Fix lint issues 2019-05-30 22:06:36 +02:00
Mariusz Nowak
7f1b507bce
Prevent change of current directory
Yaml parser was introducing side effects, that affected test results.
Refactor so it doesn't depend on current directory
2019-05-30 17:19:23 +02:00
Mariusz Nowak
6b569fea49
Merge branch 'ensure-cleanup' into improve-env-vars-handling 2019-05-30 17:17:52 +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
Mariusz Nowak
2d016e3cd7
Merge branch 'fix-mocha-config' into improve-env-vars-handling 2019-05-29 12:54:08 +02:00
Mariusz Nowak
531f4600db
Isolate process.env toggling in tests 2019-05-29 10:15:18 +02:00
Daniel Schep
6135a1e14c fix yarn install of SFE integration
closes #6181
2019-05-28 16:03:01 -04:00
Daniel Schep
9e4621cb23 re add enterprise disable d sflag support 2019-05-24 12:54:34 -04:00
Daniel Schep
18befe012e remove unneeded eslint directive 2019-05-24 12:48:23 -04:00
Daniel Schep
c636c8dcb8 Merge remote-tracking branch 'origin/master' into plat-916 2019-05-24 12:47:46 -04:00