Philipp Muens
fac8444f9f
Update S3 cleanup message
2018-07-02 10:21:47 +02:00
Takahiro Horike
6cbd0a95bd
Merge pull request #4665 from americansystems/sls-govcloud
...
Support AWS GovCloud and China region deployments
2018-04-03 19:09:26 +09:00
Francisco Guimarães
6a276392c8
Removing focused test
2018-03-27 22:24:43 -03:00
Francisco Guimarães
d9cef43f7e
Fix tests on windows
2018-03-27 22:22:11 -03:00
Francisco Guimarães
849efef503
Fix upload artifact path
2018-03-27 22:00:14 -03:00
Frank Schmid
9ac93ff8e5
Merge pull request #4677 from franciscocpg/fix-concurrency-upload
...
Fix concurrency upload
2018-03-19 16:17:03 +01:00
Francisco Guimarães
005b6bdcdd
Adding NUM_CONCURRENT_UPLOADS constant
2018-03-19 10:27:11 -03:00
Takahiro Horike
5c886b5b2c
Merge branch 'master' into sls-govcloud
2018-03-13 06:02:22 +09:00
Takahiro Horike
ab163b1fe6
Merge pull request #3999 from rmax-contrib/aws-notification-arns
...
Add notificationArns AWS parameter to enable Cloudformation notifications
2018-03-02 07:37:17 +09:00
Francisco Guimarães
4ac05a63bf
Merge branch 'master' into fix-concurrency-upload
2018-02-28 09:51:35 -03:00
Mike Pugh
52cc8be45a
Move geetS3EndpointForRegion to utils, change to regex.test instead of string.match for authorizer ARNs
2018-02-03 08:04:21 -05:00
Kobi Meirson
d7eea2005e
Restricting alexaSkill functions to specific Alexa skills ( #4701 )
...
* - Adding support for restricting the executing alexa skill by id (serverless/serverless#4700 )
- Adding support for multiple `alexaSkill` events on a single function (allows multiple Alexa Skills on a single lambda)
* Adding a comment on the `serverless.cli` addition when testing.
* Updating templates to have the right `alexaSkill` syntax
* Cleaning up Travis-CI's occasional errors with sinon stubs going wild (hopefully)
(https://travis-ci.org/serverless/serverless/jobs/335361582 / https://travis-ci.org/serverless/serverless/jobs/335706593 / https://travis-ci.org/serverless/serverless/jobs/335682396 )
* one last test case to make sure the alexaSkill file will be fully covered.
* PR notes
* naming - Add a default suffix for alexaSkillLogicalId if undefined
* Revert changes to createStack.test.js (#c967c8d956b3d96afbaefa7fbe3e6eb498ecdd7c)
* createStack.test - reject with an Error, not with a promise that resolves to an error.
2018-02-02 15:18:00 +01:00
Francisco Guimarães
0fe3efefe9
Adding verification to expected file name
2018-01-23 08:55:55 -02:00
Francisco Guimarães
f32231335b
Merge branch 'master' into fix-concurrency-upload
2018-01-22 22:43:54 -02:00
Francisco Guimarães
ede4824c97
Improve tests
2018-01-22 22:30:53 -02:00
Francisco Guimarães
cc0fee96b7
Adding spec to test that duplicates uploads
2018-01-22 22:15:57 -02:00
Francisco Guimarães
29e13014db
artifactFilePath makes more sense
2018-01-22 15:32:02 -02:00
Francisco Guimarães
d059a3c448
Improve spec description
2018-01-22 14:59:35 -02:00
Francisco Guimarães
3e7f736abc
Fix concurrency upload
2018-01-22 14:58:34 -02:00
Francisco Guimarães
f981c1c770
WIP
2018-01-22 13:16:43 -02:00
Mike Pugh
3bc45becc9
Support GovCloud and China region deployments
2018-01-18 10:04:11 -05:00
Alex Casalboni
bb2ddc0eec
Fixed S3 Transfer Acceleration bug with custom deployment buckets ( #4606 )
...
* fixed s3 transfer acceleration bug with custom deployment buckets
* added test (custom deployment bucket case)
* unwrapping stubs (node 5.11 fail)
* increased coverage
* add return to BbPromise
2017-12-28 11:12:45 +01: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
Rafal Wilinski
d1516c1485
Add missing newline
2017-11-16 00:16:15 +01:00
Rafal Wilinski
ac0319b945
Fix failing test
2017-11-15 23:44:52 +01:00
Rafal Wilinski
f138e4ed5e
Reintroduce ignore check for existing deploymentBuckets
2017-11-15 21:43:10 +01:00
Alex Casalboni
5c5f893e69
Added tests (increased coverage)
2017-10-28 01:51:42 +02:00
Alex Casalboni
64ccb046a7
Merge branch 'master' into issue4252-s3-transfer-acceleration
2017-10-28 00:59:18 +02:00
Alex Casalboni
07e89c72e1
Using new custom output to disable S3 Transfer Acceleration during first enabling deployment
2017-10-28 00:55:48 +02:00
Alex Casalboni
61a9d433dc
removed enableBucketAcceleration (no API call should be needed -> CloudFormation support!)
2017-10-27 15:58:44 +02:00
Alex DeBrie
57a83302a1
Consolidate multiple beforeEach methods in test
2017-10-24 14:52:07 +00:00
horike37
ebcde3b683
update createStack test with using sinon sandbox
2017-10-18 01:03:44 +09:00
daviskoh
6886f121c0
remove odd duplicate assignment
2017-10-15 20:45:00 -04:00
Rafal Wilinski
656862919e
Shorten test description
2017-10-11 14:03:09 +02:00
Rafal Wilinski
da33790a78
Fix test linter issues
2017-10-11 13:57:06 +02:00
Rafal Wilinski
1c57e39365
Add extendedValidate test
2017-10-11 13:53:01 +02:00
Rafal Wilinski
9e99b3aed0
Fix linter issues
2017-10-11 13:01:03 +02:00
Rafal Wilinski
a7b711dc33
Add function attached to APIGW timeout warning
2017-10-11 12:49:08 +02:00
Alex Casalboni
fc3f0b879a
Fixed uploadArtifacts tests
2017-09-22 17:48:49 -04:00
Alex Casalboni
7f0e30b631
enabling S3 acceleration only if CLI option is true
2017-09-22 17:05:20 -04:00
Alex Casalboni
6aca8fa365
jslinting
2017-09-21 01:25:54 -04:00
Alex Casalboni
cccc77c9bd
Updated tests (coverage is OK)
2017-09-21 01:00:46 -04:00
Alex Casalboni
650124cb15
Implemented enableBucketAcceleration (TODO check on config/option)
2017-09-21 00:59:55 -04:00
Rolando (Max) Espinoza
1b6b7a5871
Add notificationArns tests.
2017-09-17 16:56:47 -03:00
Rolando (Max) Espinoza
9d3a5d0d41
Add notificationArns AWS provider property to enable Cloudformation notifications.
2017-09-17 01:18:33 -03:00
Philipp Muens
8e48a3cd8e
Update other S3 calls to use upload as well
2017-09-14 12:31:43 +02:00
Philipp Muens
d0549eaa28
Update other stubs as well
2017-09-08 13:02:54 +02:00
Philipp Muens
55c78ba63e
Rename stubs
2017-09-08 12:57:35 +02:00