117 Commits

Author SHA1 Message Date
Mariusz Nowak
e712d3756d
Test empty deployment prefix 2019-11-20 12:44:12 +01:00
Eetu Tuomala
aeb3bb5a93 fix node 4 and 6 related syntax errors 2019-09-05 12:51:06 +02:00
Mariusz Nowak
56b98e591b
Do not retry on 403 2019-09-02 18:00:57 +02:00
Daniel Schep
105a2f7978 Revert "Fail faster when no AWS creds exist (#6393)"
This reverts commit 62c656b3635d468956ec789814fea8cb3462499f, reversing
changes made to d0793ee65c5058c8921d29ded4e418f2b68751dd.
2019-07-22 14:13:43 -04:00
Daniel Schep
70db07d949 purty 2019-07-18 10:42:33 -04:00
Daniel Schep
705a51867d correctly stub userStats.track 2019-07-18 10:22:22 -04:00
Daniel Schep
743f165451 fix isolated test 2019-07-18 08:09:54 -04:00
Daniel Schep
d2e222ca1f doh. actually need to be valid creds 2019-07-17 18:41:32 -04:00
Daniel Schep
7d28de8774 doh. credential needs to be non-empty 2019-07-17 18:32:13 -04:00
Daniel Schep
512432b50a purty 2019-07-17 18:31:04 -04:00
Daniel Schep
2521e5d285 set fake creds in request test to try and fix ci 2019-07-17 18:24:17 -04:00
Daniel Schep
4f9bc560fb fix test covg 2019-07-17 17:06:06 -04:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Mariusz Nowak
89472d2b55
Update to new version of Sinon 2019-06-03 12:41:03 +02:00
Mariusz Nowak
f6d993e97b
Merge with master 2019-05-31 12:36:53 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
bea683c702
Fix lint issues 2019-05-29 10:34:45 +02:00
Mariusz Nowak
531f4600db
Isolate process.env toggling in tests 2019-05-29 10:15:18 +02:00
Mariusz Nowak
155eb6c6f2
Fix lint issue 2019-05-14 14:52:03 +02:00
Mariusz Nowak
e666c7f267
Ensure test doesn't depend on env state 2019-05-14 14:45:15 +02:00
Mariusz Nowak
7a76563904
Cleanup process.env handling 2019-05-14 14:24:49 +02:00
Mariusz Nowak
4268dba3be
Ensure no side effects 2019-05-14 14:20:32 +02:00
Mariusz Nowak
8c9e11d996
Ensure no side effects 2019-05-14 13:37:25 +02:00
Mariusz Nowak
8562bdc2b6
Fix assertion 2019-05-14 12:57:01 +02:00
Mariusz Nowak
5e85ce9b27
Fix restoration of serverless env 2019-05-14 12:56:25 +02:00
Mariusz Nowak
1ce8c21d85
Improve mock setup 2019-05-14 12:54:26 +02:00
Mariusz Nowak
73ea7fd9e0
Improve setTimeout stub
Making it sync breaks bluebird internals
(e.g. detection of unhandled rejections).

With this patch we make sure it's quick enough but still async
2019-05-14 11:45:54 +02:00
Sami Nurminen
a0e629fe8e Support setting both proxy and ca file for awsprovider AWS config agent 2019-03-23 11:41:32 +02:00
Philipp Muens
f48130b527 Fix test 2019-01-28 14:05:11 +01:00
Philipp Muens
19996c2d1a Merge branch 'master' into fix-broken-profiles 2019-01-28 13:55:22 +01:00
Danny Varner
d3fef359f4 Fix linting errors 2019-01-25 21:08:58 -08:00
Danny Varner
4ad73bb7ca Add test for profile fix 2019-01-25 20:55:33 -08:00
Philipp Muens
ecaa6d80f5 Merge branch 'master' into default-error-message 2019-01-24 13:17:59 +01:00
Philipp Muens
b22a2c9c48 Merge branch 'master' into aws-promisified-provider 2019-01-24 13:01:30 +01:00
drexler
911bedd0c0 add unit test 2019-01-23 20:32:11 -05:00
Philipp Muens
89d037c468
Merge pull request #5662 from jetbridge/master
Provide AWS_PROFILE from configuration for invoke local
2019-01-22 13:12:29 +01:00
Philipp Muens
da83822905 Fix and update tests 2019-01-22 13:01:24 +01:00
Mischa Spiegelmock
b563fb218e attempting to create a test for invoke local with profile 2019-01-16 15:58:30 +02:00
Takahiro Horike
07154d772f
Merge pull request #5694 from exoego/cross-region-same-stack-name
AWS: Request cache should add region as key to prevent cross-region cache collision
2019-01-16 00:32:48 +09:00
exoego
2f76b6e08d Fix linting error. 2019-01-13 22:35:06 +09:00
exoego
5790c3a69c Fix request cache to consider cross-region for ${cf.REGION}. 2019-01-13 22:15:45 +09:00
exoego
997ac354f7 Update test for regression. 2019-01-12 07:39:17 +09:00
exoego
337eb79b61 Add regression test for cf.REGION syntax. 2019-01-04 21:00:11 +09:00
exoego
b37f5cdb4b Remove validation for CloudFront since it is already implemented in createStack.js 2019-01-04 18:40:19 +09:00
exoego
85238c4331 Split validation: check underscore always and check hyphen only if http events are present. 2018-12-31 21:51:30 +09:00
exoego
e694cd1abf Refactor: getStage returns dev as default. 2018-12-31 07:43:32 +09:00
exoego
0f1a47a957 Add test to increase coverage. 2018-12-30 23:17:32 +09:00
exoego
b9d183fa8c Validate using RegExp. 2018-12-30 23:10:20 +09:00
exoego
a8194030e2 Add stage name validation to AWS provider. 2018-12-30 22:53:58 +09:00
jlamande@gmail.com
14c8af8246 feat(log): Log AWS SDK calls in debug mode 2018-12-18 02:41:36 +01:00