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
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
Daniel Schep
82065121ff
lint
2019-05-23 09:08:30 -04:00
Daniel Schep
df5cfd4e4d
Merge branch 'master' into plat-916
2019-05-23 08:52:08 -04:00
Mariusz Nowak
24d1f49e7a
Ensure to return promise
2019-05-23 13:33:46 +02:00
Mariusz Nowak
3cdb51d07a
Increase timeout as test occasionally times out
2019-05-22 13:40:14 +02:00
Daniel Schep
631a939621
fat fingers
2019-05-21 14:34:10 -04:00
Daniel Schep
ad235a6a7a
remove sfe node version check & change what require hacks we use
2019-05-21 14:31:58 -04:00
Daniel Schep
c17196aef7
remove sfe node version check
2019-05-21 14:27:53 -04:00
Mariusz Nowak
5bea069b88
Merge branch 'master' into improve-promised-bdd-setup
2019-05-21 10:24:13 +02:00
Daniel Schep
893366be32
Support for SFE outputs in config ( #6143 )
...
Support for SFE outputs in config
2019-05-20 09:55:31 -04:00
Mariusz Nowak
56b8c8f42e
Whitespace
2019-05-20 13:39:29 +02:00
Mariusz Nowak
3ad898b450
Improve whitespace handling
2019-05-20 13:37:53 +02:00