752 Commits

Author SHA1 Message Date
Takahiro Horike
bf2ee2e56b
Merge pull request #5299 from weeniearms/master
Added possibility to specify custom S3 key prefix instead of the stan…
2018-10-15 02:59:49 +09:00
Philipp Muens
b59aa9c275 Add support for backend state item generation and multi-region support 2018-09-17 16:31:12 +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
Eslam A. Hefnawy
09e9b8d9c5 enable CI on platform deployment 2018-08-16 17:44:46 +03:00
Eslam A. Hefnawy
32ed6776c5 some minor dashboard updates 2018-08-03 16:03:26 +03:00
Eslam A. Hefnawy
914ed94abe always update deployment status 2018-07-25 22:21:11 +03:00
Eslam A. Hefnawy
4dd3bd8ea1 build fixes 2018-07-25 20:11:53 +03:00
Eslam A. Hefnawy
ef961607a0 catch platfrom deployment errors 2018-07-25 15:27:57 +03:00
Eslam A. Hefnawy
61f9830430 use released platform-sdk 2018-07-24 16:49:34 +03:00
Eslam A. Hefnawy
fcd62b4c5e fix lint 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
9f54ce9258 fixed resources properties issue 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
5aa611c993 update status on cf describe call error 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
d3835fd686 updateDeployment instead of createDeployment 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
4bd4c3f5a9 tested deployment and subscription 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
c07fdf9733 handling failures 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
7bacd66dea handling success 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
cfbaa3a24f integrate with deployment backend 2018-07-23 16:05:45 +03:00
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