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
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
Philipp Muens
5fedf6a4f9
Add getTmpDir util method and refactor tests
2016-08-23 13:51:16 +02:00
John McKim
5a2c9d2224
update packaging to support individual packages per function
2016-08-22 07:40:16 +10:00
Nick Chisiu
16aa6581ab
fix #1854 - update npm devDependencies packages ( #1879 )
...
* fix #1854 - added latest version of eslint-config-airbnb-base package
* fix #1854 - added latest npm shrinkwrap scheme
* fix #1854 - added latest npm coveralls package
* fix #1854 - added latest npm eslint package
* fix #1854 - added latest npm eslint-config-airbnb package
* fix #1854 - added latest npm eslint-plugin-import package
* fix #1854 - added latest npm eslint-plugin-jsx-a11y package
* fix #1854 - added latest npm eslint-plugin-react package
* fix #1854 - fixed estlint new-parens errors for integration test
* fix #1854 - fixed estlint new-parens errors for yaml parsers tests
* fix #1854 - fixed estlint max-len errors for util tests
* fix #1854 - disabled no-extraneous-dependencies on eslintrc for NodeJS 4 incapability on this feature
* fix #1854 - fixed eslint new-parens errors for Service tests
* fix #1854 - fixed eslint new-parens errors for Serverless tests
* fix #1854 - fixed eslint new-parens errors for plugin manager tests
* fix #1854 - fixed eslint new-parens errors for plugin tracking tests
* fix #1854 - fixed eslint new-parens errors for plugin package zipService lib
* fix #1854 - fixed eslint new-parens errors for plugin package zipService tests
* fix #1854 - fixed eslint trailing spaces errors for plugin package zipService lib
* fix #1854 - fixed eslint new-parens errors for plugin package cleanup tests
* fix #1854 - fixed eslint new-parens errors for plugin create tests
* fix #1854 - fixed eslint dot same line expectation error on plugin aws logs index
* fix #1854 - fixed eslint operator assignment error on plugin aws logs index
* fix #1854 - fixed eslint dot location error on plugin aws invoke tests
* fix #1854 - fixed eslint new-parens error on plugin aws invoke tests
* fix #1854 - fixed eslint new-parens error on plugin aws deployFunction tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy uploadDeploymentPackage tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy updateStack tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy createStack tests
* fix #1854 - fixed eslint new-parens error on plugin aws deploy apiGateway lib deployment
* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class
* fix #1854 - fixed eslint unary typeof whitespace req error on Serverless Service class ( second fix )
* fix #1854 - fixed eslint no-lonely-if req error on Serverless Service class
* fix #1854 - disabled react/require-extension on eslintrc because it's deprecated
* fix #1854 - AwsCompileApigEvents #constructor() should resolve if no functions are given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - createStack #postCreate() should resolve:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - emptyS3Bucket #deleteObjects() should resolve if objectsInBucket is empty:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - AwsInvoke #extendedValidate() should resolve if path is not given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - #cleanup() should resolve if the .serverless directory is not present:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 -#validate() should resolve if servicePath is given:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - Service #load() should resolve if no servicePath is found:
Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.
* fix #1854 - added latest mocha package
* fix #1854 - added latest sinon npm package
* fix #1854 - serverless/lib/plugins/aws/deploy/tests/createStack.js 136:48 error Missing semicolon semi
* fix #1854 - serverless/lib/plugins/package/tests/cleanup.js 35:7 error Missing semicolon semi
* fix #1854 - serverless/lib/plugins/package/tests/validate.js 22:49 error Missing semicolon semi
* fix #1854 - added latest npm shrinkwrap
* fix #1854 - fixed no-extra-boolean-cast eslint error on aws deploy apiGateway methods
* fix #1854 - fixed new-parens eslint error on serverless tests for Service class
2016-08-18 11:51:09 +02:00
Florian Motlik
f779252795
Merge pull request #1771 from serverless/add-tests-to-increase-test-coverage
...
Add tests to increase test coverage
2016-08-08 11:21:48 +02:00
Philipp Muens
78bb9b4173
Refactor functionName retrieval for deployFunction plugin
2016-08-08 09:10:22 +02:00
Philipp Muens
a0f7bb20d1
Add tests to increase test coverage
2016-08-08 08:27:26 +02:00
Philipp Muens
76c3ef8d67
Replace own zipping functionality with Package plugin
2016-08-01 11:13:54 +02:00
Philipp Muens
bdc6dc8079
Combine checkIfFunctionExistsInService and checkIfFunctionIsDeployed to one method
2016-08-01 11:13:54 +02:00