Jaakko Lappalainen
0bdb7d858c
refactor: Mark functions async in plugins/aws/remove ( #9284 )
2021-04-13 09:14:41 +02:00
Piotr Grzesik
789c2e35ab
feat(AWS Lambda): Add support for building Docker images ( #8725 )
2021-01-18 11:32:33 +01:00
Dmitry Shirokov
4afdb8314b
refactor: Abstract resolution of deployment role ( #8751 )
2021-01-14 12:14:33 +01:00
Mariusz Nowak
cf7b25e458
style: Upgrade "prettier" to v2
2021-01-04 16:21:24 +01:00
Mariusz Nowak
a238a9bc90
refactor(AWS Deploy): Follow AWS naming in stack deploy action types
2020-12-16 14:23:39 +01:00
Mariusz Nowak
3808471972
test: Move unit tests to "test/unit" folder
2020-11-30 16:53:52 +01:00
Philipp Muens
2247030fc3
Remove support for async stack deployments / removals
2019-09-05 12:51:07 +02:00
Philipp Muens
7aa8ab096c
Add support for async stack remove operations
2019-09-05 12:51:07 +02:00
Mariusz Nowak
4944f471b1
Prettify
2019-06-26 12:43:01 +02:00
weeniearms
b5da4d09ed
Added possibility to specify custom S3 key prefix instead of the standard 'serverless'
2018-09-17 09:35:40 +02:00
Erik Erikson
ca5ba8daac
Remove unused parameters in platform.js (and deal with consequences)
...
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Erik Erikson
bf8d57fa9f
Improve Stage and Region Usage
...
Remove the errant (but understandable) distributed usage of region and stage settings. This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting. Instead, all code should use the centralized algorithm for determining such values. This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
Frank Schmid
81c896bc12
Removed reintroduction of stage+region in request. Added options.
...
Delete bucket was still using them
Hopefully all :)
Further test fixes.
.... worked too long yesterday
Fixed Variable tests
Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Vinod S R
3e4d62acfe
Use naming.getStackName method instead of hardcoding.
2017-07-27 23:04:24 +05:30
Philipp Muens
bd2b8d3679
Update recently added tests
2017-03-23 12:40:49 +01:00
Philipp Muens
8d348da0ce
Merge master into PR
2017-03-23 12:29:07 +01:00
Doug Moscrop
1012c351b7
add sinon-bluebird to make promises in tests a bit cleaner
2017-02-08 12:59:18 -05:00
Yoriki Yamaguchi
e86e285a1b
add RoleARN support to removeStack call
2017-01-25 19:26:29 +09: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
Nik Graf
13e0f88242
improve remove bucket test
2016-10-20 16:28:19 +02:00
Nik Graf
166e291bb4
fix removeStack test
2016-10-20 16:26:59 +02:00
Nik Graf
4835e6ef52
fix remove bucket tests
2016-10-20 16:08:03 +02:00
Nik Graf
360bfb814a
Merge branch 'master' into ellipsis
2016-10-19 10:35:34 +02: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
Nik Graf
9611150416
replace ... with ellipsis character in lib
2016-10-19 06:31:55 +02:00
Philipp Muens
a7a04eb6f6
Closes #2292 - Remove outdated README.md files
2016-10-11 20:21:27 -07:00
David Tanner
d490ed413e
Rename to deploymentBucket as recommended by @flomotlik
2016-09-23 08:18:33 -06:00
David Tanner
66525f259e
Deploy by service and stage.
...
Check that the bucket exists before, and that it is in the correct stage
2016-09-22 10:24:35 -06:00
David Tanner
4172655c1b
Cleanup linting issues
2016-09-22 09:19:58 -06:00
David Tanner
a425967654
Add a bucket to the provider for deployments.
...
Also prefix deployments so they can co-exist with other files
2016-09-22 05:35:29 -06:00
Alexander Anich
8d6748b9eb
Updates sinon stubbed tests in plugins/aws
...
Creates test cases to check for correct arugments from sinon stubs
2016-09-02 17:40:42 -10:00
Nick den Engelsman
c2d2152679
Moved monitorStack to shared lib/plugins/aws/lib
2016-09-02 13:35:29 +02:00
Nick den Engelsman
c347bf8544
Improve check if stack created and test suite
2016-09-02 13:19:07 +02:00
Nick den Engelsman
7ed013f98d
refactor monitorUpdate within lib/plugins/aws/deploy/lib/updateStack.js to keep track of initial stack error during deployment and show all stack events with --verbose
2016-09-02 13:19:07 +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
Philipp Muens
a0f7bb20d1
Add tests to increase test coverage
2016-08-08 08:27:26 +02:00
Philipp Muens
86af77dbe2
Update comments with proper english
2016-08-04 16:24:51 +02:00
Philipp Muens
d17b0c3df0
Print a . while loading
2016-08-04 16:21:59 +02:00
Benny
0d2c78cc36
DRY validate
2016-07-20 21:43:20 +03:00
Philipp Muens
4519e0fb32
Rename coreBucket name to be more meaningful
2016-07-12 11:36:46 +02:00
Philipp Muens
eeee34fa5b
Make coreBucket name unique
2016-07-12 10:31:38 +02:00
Philipp Muens
ecae591c38
Add provider definition to Amazon Web Services specific plugins
2016-07-04 09:51:38 +01:00
Philipp Muens
12801a34fe
Add DELETE_FAILED to stackStatusFilter
2016-06-27 16:24:09 +02:00
Philipp Muens
a37c890c15
Add better stack identification on stack removal
2016-06-27 12:18:16 +02:00
Philipp Muens
c5bf452be0
Update stack identification for stack removal process
2016-06-27 09:57:48 +02:00
Eslam A. Hefnawy
d2dc0ba58e
ZERO linting issues and test coverage of 93% 🎉 🎉
2016-06-23 15:55:57 +02:00
Philipp Muens
ab3bbe0a4e
Update existing plugin docs
2016-06-22 16:33:00 +02:00