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
33d27b9160
Fix noDeploy errors when stack is not created
2016-08-22 15:29:23 +02:00
John McKim
59cd51917f
upload individual artifacts to S3
2016-08-22 09:34:56 +10:00
John McKim
5a2c9d2224
update packaging to support individual packages per function
2016-08-22 07:40:16 +10:00
Philipp Muens
f63a481916
Merge pull request #1886 from serverless/fix-hitting-cloudformation-template-body-limit
...
Fix hitting CloudFormation TemplateBody limit
2016-08-19 08:15:52 +02:00
Philipp Muens
e13abdc6c0
Remove unnecessary orchestrator method for CloudFormation upload method
2016-08-19 07:42:57 +02:00
Philipp Muens
4937140094
Update outdated doc references
2016-08-19 07:21:52 +02:00
Philipp Muens
ac6e04068f
Fix hitting CloudFormation TemplateBody limit
...
The CloudFormation template will now be uploaded to S3 and referenced from there
in the updateStack method.
2016-08-18 12:09:44 +02: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
f8ee88be0d
Merge pull request #1863 from bfhobbes/fix-issue-1860-bad-zipi-when-deploying-from-windows
...
fix #1860 - Cannot find module for any node_modules
2016-08-18 09:48:37 +02:00
Philipp Muens
36ae568147
Fix and refactor noDeploy support and add tests
2016-08-17 11:08:44 +02:00
Florian Motlik
83a99b598a
Merge pull request #1808 from johncmckim/issue-1496
...
WIP: Add DRYrun support
2016-08-16 10:34:39 +02:00
Florian Motlik
85f4084e6b
Merge pull request #1844 from serverless/add-full-custom-resource-merging-support
...
Add full custom resource merging support
2016-08-16 10:31:30 +02:00
John McKim
5bd51b0056
fix deployment message
2016-08-16 17:09:08 +10:00
Philipp Muens
6b3d59e5bd
Add fix for empty, but defined Resources / Outputs definitions
2016-08-16 06:24:50 +02:00
John McKim
2335f25400
fix build after merge
2016-08-16 08:04:55 +10:00
John McKim
82e5e97945
Merge branch 'master' of github.com:serverless/serverless into issue-1496
2016-08-16 08:04:26 +10:00
John McKim
ce52d9d3e9
update terminology and docs
2016-08-16 07:53:24 +10:00
Andrew McDonald
0f2659c5a3
Fixing trailing space
...
npm test isn't working at all for me. ( windows )
2016-08-15 12:39:28 -07:00
Andrew McDonald
391f1c2bb7
Bringing line length under 100 due to lint issue
2016-08-15 11:50:21 -07:00
Andrew McDonald
fa2088808b
fix #1860 - Cannot find module for any node_modules
...
When running on windows, 'UNIX' was incorrectly being passed into jszip as the host platform which causes it to generate a zip file which lambda doesn't unpack properly. ( I think its the \ vs / thing - the zip file looks correct when I open it in a gui tool, but using unpack unpacks a bunch of files with '\' in the filename and no actual folder structure )
2016-08-15 11:41:22 -07:00
Patrick Brandt
13efa0e2ac
updating docs per PR #1850
2016-08-15 10:26:17 -04:00
Philipp Muens
6e4e693804
Remove unnecessary empty-object-setting of Outputs section
2016-08-15 15:46:37 +02:00
Philipp Muens
919caa8f91
Remove validations for existence of compiledCloudFormationTemplate
...
Because it's already available at the beginning of the deploy plugin as the core CloudFormation
template will be attached there (which is then used to merge other resources into it later on).
2016-08-15 15:36:54 +02:00
Philipp Muens
9fadb31d0b
Introduce provider.compiledCloudFormationTemplate section
...
This section is used to store the core CloudFormation template and merge compiled resources into it.
2016-08-15 15:19:04 +02:00
Philipp Muens
121df4d1b8
Extend merge test coverage
2016-08-15 07:12:49 +02:00
Patrick Brandt
052b8c3c19
include stage reference in body mapping template
...
I've included a stage reference in the body template so that I can determine the run-time environment of the lambda function. This provide a quick work around until issue #1455 is resolved
2016-08-14 15:33:53 -04:00
Philipp Muens
6513a1c6fe
Refactor merging of custom provider resources
2016-08-14 20:52:06 +02:00
Philipp Muens
f88c53098e
Add Description property to Output example in serverless.yml files
2016-08-14 20:41:43 +02:00
Philipp Muens
d4bf0342d7
Add full custom resource merging support
2016-08-14 17:44:29 +02:00
Christopher G. Paton
b66b0612f6
Merge branch 'master'
...
Conflicts:
lib/plugins/aws/deploy/compile/events/apiGateway/lib/methods.js
lib/plugins/aws/deploy/compile/events/apiGateway/tests/methods.js
2016-08-13 21:47:35 +01:00
Philipp Muens
0e3ca57ff3
DRY out loading of core CloudFormation template
2016-08-13 08:22:58 +02:00
Philipp Muens
28011f45c9
Rename description of core CloudFormation template
2016-08-13 08:20:01 +02:00
John McKim
b28ecbeb31
merge from master
2016-08-13 08:06:09 +10:00
John McKim
c99948cc8b
update to --noDeploy
2016-08-13 07:59:37 +10:00
Philipp Muens
30b3d6eb68
Update documentation to reflect recent changes
2016-08-12 17:58:41 +02:00
Philipp Muens
0944e6dde6
Refactor resource merging
...
So that the custom provider resources are not stored in a temp variable.
Furthermore the whole CloudFormation content is available in this.serverless.service.resources.
2016-08-12 17:42:18 +02:00
Philipp Muens
2468ed295a
Fix linting error
2016-08-12 16:01:19 +02:00
Philipp Muens
93086a192f
Update custom provider resource merging
2016-08-12 15:52:21 +02:00
Christopher G. Paton
6b50036841
Fixed typo in readme. :)
...
Tidied up CORS configuration. Updated readme and tests.
2016-08-11 18:44:39 +01:00
Philipp Muens
ffceabc7c5
Rename lifecycle events of deploy plugin
2016-08-11 16:23:17 +02:00
Florian Motlik
2a97b5bdfd
Merge pull request #1794 from nicka/feature/refactor-aws-cloudformation-endpoint-outputs
...
Refactor for the CLI endpoints outputs
2016-08-11 16:12:25 +02:00
Eslam A. Hefnawy
38b1e177fd
fixed aws missing creds error message
2016-08-11 19:07:01 +09:00
Eslam A. Hefnawy
93a86fbfdb
added friendly error for missing aws creds
2016-08-11 19:03:05 +09:00
John McKim
53a544c364
fix issue with writing the cf templates to disk
2016-08-11 05:56:10 +10:00
John McKim
d334d1721f
Ensure cf template is always written to disk
2016-08-11 05:20:13 +10:00
Christopher G. Paton
590ff32bcc
Added check before setting origins and updated readme
...
Updated readme
Fixed RequestTemplates issue.
Added statusCode response to Options Request template.
Added X-Amz-Security-Token header and updated tests, too.
Manual test works. Updated unit tests, too.
Added documentation and some validation.
Updated tests to check each header. All passing.
Added preflight config. Need to write tests.
Adds origin header to method. Tests pass. Need preflight added, too.
Setup basic cors assignement. Experimenting with configuration setup.
2016-08-10 20:12:07 +01:00
John McKim
6a0e245180
Clean .serverless before deploy rather than after
2016-08-11 04:53:30 +10:00
Philipp Muens
7b79b767a4
Refactor YAML convention for SNS event definitions
2016-08-10 09:13:23 +02:00