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
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
Philipp Muens
192bc74a8c
Fix tests
2017-09-08 12:47:34 +02:00
Andre Rabold
10987dc533
Use S3 upload method instead of putObject for uploading artifacts
2017-09-06 17:51:53 -07:00
Scott Ewart
c184f36e8c
Upload function artifacts with limited concurrency
2017-09-06 08:40:01 -07:00
Loren Gordon
58eec4d761
Uses path join to make tests os agnostic
2017-08-08 09:46:26 -04:00
Eslam A. Hefnawy
bcbbd907ab
skip service packaging if artifact is provided
2017-07-07 20:59:00 +07:00
Philipp Muens
27541592e8
Fix and update extendedValidate tests
2017-07-04 09:23:47 +02:00
Philipp Muens
0d8174ba72
Merge master into PR
2017-07-03 17:04:49 +02:00
Philipp Muens
7c57935ca9
Fix linting issue
2017-07-03 11:23:32 +02:00
Philipp Muens
dd3662079f
Update variable usage to ensure better readability
2017-07-03 11:10:29 +02:00
Philipp Muens
71b63519f4
Fix check for equality of remote and local files
2017-07-03 10:57:26 +02:00
Philipp Muens
6893bba324
Add support for "force" option
2017-07-03 09:36:49 +02:00
Sunny
cb059a3a79
Add extendedValidate test for package artifact
2017-07-01 01:48:42 +05:30
Sunny
d5de23f482
Fix extendedValidate issue and refactor some code
2017-07-01 01:02:52 +05:30
Philipp Muens
d39e95fec5
Update check if deployment is necessary
2017-06-30 13:32:06 +02:00
Philipp Muens
3ad2c5031d
Add tests
2017-06-30 13:17:39 +02:00
Philipp Muens
e329bf9ad8
Only re-deploy when code or service updated
2017-06-30 09:26:55 +02:00
Greg Thornton
60caa22edb
Skip packaging if artifact specified
2017-06-28 21:26:08 -05:00
Philipp Muens
526d3a6da4
Refactor code to support deploymentBucket object representation globally
2017-06-16 11:50:51 +01:00
Philipp Muens
b11dc135a1
Add deploymentBucket config handling in AWS package and deploy plugins
2017-06-16 09:32:48 +01:00
Philipp Muens
b87326d5dd
Minor refactorings
2017-06-16 09:19:41 +01:00
Philipp Muens
b912ad91bd
Minor code cleanup
2017-06-16 08:36:19 +01:00
Max Redmond
abef261722
update serverside encryption options so that they are configured in the deploymentBucket section
2017-06-16 08:12:23 +01:00
Max Redmond
9a8b2354ed
fixing lint error
2017-06-16 08:12:23 +01:00