61 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
42d48892c2 fix deploy function with service artifact 2017-07-07 19:22:42 +07:00
Philipp Muens
17814d7912 Update and fix tests 2017-07-04 09:08:50 +02:00
Philipp Muens
0d8174ba72 Merge master into PR 2017-07-03 17:04:49 +02:00
Philipp Muens
6893bba324 Add support for "force" option 2017-07-03 09:36:49 +02:00
Sunny
d5de23f482 Fix extendedValidate issue and refactor some code 2017-07-01 01:02:52 +05:30
Sunny
042b6e2e74 Add test for deployFunction() with artifact 2017-06-30 23:29:19 +05:30
Sunny
59a25a9dbd Add function artifact check in deployFunction
- Adds check for function package artifact in packageFunction() and
avoids packing if a package artifact is found.
- Adds check for function artifact in deployFunction() and use the
provided artifact to deploy if available.
2017-06-30 23:29:19 +05:30
Philipp Muens
fb5442354a Rephrase deploy function info message when skipping deployment 2017-06-30 13:51:37 +02:00
Philipp Muens
d13881a012 Update location where remoteFunctionData is saved 2017-06-30 13:36:06 +02:00
Philipp Muens
3ad2c5031d Add tests 2017-06-30 13:17:39 +02:00
Philipp Muens
e329bf9ad8 Only re-deploy when code or service updated 2017-06-30 09:26:55 +02:00
Frank Schmid
84d48a5a48 Move explicit function packaging entrypoint to topmost level.
3rd party plugins now can access it and trigger a single function package which was restricted to AWS before.
2017-04-20 17:49:55 +02:00
Philipp Muens
6f895b312f Remove unnecessary whitespace 2017-04-11 12:52:50 +02:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
7da3a1ae35 resovled conflicts on master 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
cd71ccfa1e fixing tests for package plugin 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
a233a3f36a fixing tests 2017-04-06 18:28:59 +07:00
Frank Schmid
df6cff1d55 Use lifecycle dependencies for deploy function 2017-04-06 18:28:59 +07:00
Frank Schmid
1a3b18797d Fixed error on npm link in serverless. servicePath is null in this case. 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07: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
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01:00
doapp-ryanp
594019debb Merge remote-tracking branch 'upstream/master' 2016-11-03 11:14:13 -05:00
Maciej Winnicki
5b9f48f2e2
use calledWithExactly 2016-11-03 10:58:08 +01:00
Maciej Winnicki
b16b66dced
add tests for showing artifact size 2016-11-02 17:58:39 +01:00
Maciej Winnicki
292410c51d
show package file size during deploy 2016-11-02 11:41:10 +01:00
doapp-ryanp
9ce0dea165 Merge remote-tracking branch 'upstream/master' 2016-11-01 11:54:47 -05:00
Maciej Winnicki
fbb5b8f4e5
show package size in human readable way 2016-10-31 13:59:50 +01:00
doapp-ryanp
012e0f4aa8 be consistent in naming 2016-10-28 11:15:17 -05:00
doapp-ryanp
6634145c94 fix tests 2016-10-27 22:05:15 -05:00
doapp-ryanp
e29c539faa formatting 2016-10-27 21:46:39 -05:00
doapp-ryanp
1fd250998f add lifecycle events to deploy function 2016-10-27 21:41:24 -05:00
Nik Graf
af9d058910 fix tests for logs 2016-10-20 15:52:17 +02:00
Nik Graf
ce5148b359 fix deployFunction tests 2016-10-20 15:12:02 +02:00
ac360
db86286436 add space 2016-10-19 08:48:18 -07:00
ac360
7ba1735fa5 merge conflicts 2016-10-19 01:09:22 -07:00
ac360
aae4cf3b7a fix linting issues 2016-10-19 00:49:28 -07:00
ac360
d3a91c9254 fix linting issues 2016-10-19 00:23:20 -07:00
ac360
eabf0b91ee add useful status messages to deploy function command 2016-10-18 23:49:33 -07:00
Philipp Muens
c273abec68 Move AwsProvider plugin into aws directory 2016-10-19 08:32:06 +02:00
Philipp Muens
c7b7472a48 Update provider properties in plugins 2016-10-19 08:32:06 +02:00
Philipp Muens
df7692ac80 Introduce AwsProvider plugin 2016-10-19 08:32:06 +02:00
Philipp Muens
c1f10c9556 Fix Promise chain in deployFunction plugin 2016-09-30 15:09:47 -07:00
Florian Motlik
f9f212b404 WIP 2016-09-05 16:18:58 +02:00
John McKim
d348e9d4ab update tests to check arguments 2016-08-31 17:58:14 +10:00
John McKim
a413a4a471 merge 2016-08-25 07:23:47 +10:00
John McKim
fcd5f2f3d9 Fix issues with deploying individual functions 2016-08-24 07:26:14 +10:00
John McKim
5ee2b329bf fix tests 2016-08-24 06:27:40 +10:00
John McKim
6fdb39f9d3 Merge with master 2016-08-24 06:11:10 +10:00