103 Commits

Author SHA1 Message Date
Nik Graf
7184923667 fix createStack test 2016-10-20 14:44:06 +02:00
Nik Graf
5dcde541b5 changed the term stacks to deployments 2016-10-19 18:40:31 +02:00
Nik Graf
a7d42e470c moved listing stacks into a separate plugin 2016-10-19 18:28:24 +02:00
Nik Graf
aadb551178 fix listing stacks after merging master into the branch 2016-10-19 17:29:49 +02:00
Nik Graf
f6df813b6a Merge branch 'master' into listing-stacks 2016-10-19 17:02:39 +02:00
Nik Graf
63dbc77b03 Merge branch 'master' into fix-cleaning-up-stacks 2016-10-19 16:39:55 +02:00
Eslam A. Hefnawy
f0804d244f resolved conflicts with master 2016-10-19 16:50:41 +07:00
Eslam A. Hefnawy
6beb3a802c update unit tests for overwrite bug fix 2016-10-19 16:50:41 +07:00
Eslam A. Hefnawy
402cc2c376 fixed overwrite resources bug 2016-10-19 16:50:41 +07:00
Nik Graf
360bfb814a Merge branch 'master' into ellipsis 2016-10-19 10:35:34 +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
Nik Graf
a2d771de3d rename s3ObjectsFromStacks to getS3ObjectsFromStacks 2016-10-18 17:53:00 +02:00
Nik Graf
f22723a7e3 improve wording 2016-10-18 15:51:13 +02:00
Nik Graf
e8fd6ff943 show hint in case no stacks are found and add tests 2016-10-18 15:37:59 +02:00
Nik Graf
921ee16369 add listing deployed stacks 2016-10-18 15:37:43 +02:00
Nik Graf
9c4f04f862 always return an array for cleanupS3Bucket and fix test suite 2016-10-18 13:38:17 +02:00
Nik Graf
ecf3a45cd1 fix cleaning up s3 buckets 2016-10-18 13:31:27 +02:00
WooDzu
2a9ae98325 default stack tags should be extended instead of replaced 2016-10-13 08:41:32 +02:00
WooDzu
c47ce0827a fix linting errors 2016-10-13 07:44:13 +02:00
WooDzu
73074ed8f6 Implement custom Stack Tags and Policy #1956 2016-10-13 07:39:57 +02:00
David Tanner
4d34dfde44 Merge with master.
There was a merge issue with createStack
2016-10-03 09:11:15 -06:00
Philipp Muens
94792284c8 Merge pull request #2198 from zorrofox/master
fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-30 23:03:01 +02:00
David Tanner
b97c7176d5 Fix issue using this.bucketName, but the bucket on the service package instead.
Also added the content-type to the json file so you can read the file in the browser.
2016-09-30 08:30:35 -06:00
zorrofox
9d04ca0a68 modify error message according to the review 2016-09-30 09:22:20 +01:00
David Tanner
68ef4ceab7 Move CF stack configuration to one place.
The stack is now set up in one place.
The S3 bucket isn't created on create if a bucket is already specified.
Working on configurability for the developer.
There is still the possibility of failing to deploy the stack
if the iamRoleArn is set, and a deploymentBucket is specified
2016-09-28 08:27:09 -06:00
Florian Motlik
9b5a58c30f Merge pull request #2125 from rowanu/rollback-on-cfn-failure
Switch CloudFormation OnFailure behaviour to rollback instead of dele…
2016-09-23 21:29:42 +02:00
zorrofox
478209bfa6 fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name 2016-09-24 00:32:03 +08:00
zorrofox
eaf175da06 fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name 2016-09-24 00:22:19 +08:00
zorrofox
b8e5bb4eca fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name 2016-09-23 23:59:13 +08:00
zorrofox
dbeaa54832 fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name 2016-09-23 23:04:34 +08:00
zorrofox
73617d0a66 fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name 2016-09-23 22:47:23 +08:00
David Tanner
1a8b94cc4f Upping code coverage.
Found some unused code when looking for throttling errors, added functionality to get code from SDK errors.
Added tests to cover functionality.
Fixed prefix to be serverless/{serviceName}/{stage}
2016-09-22 15:55:52 -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
Daniel Koo
296810c8b3 - ensure the Create/Update CloudFormation templates are always written to disk, even if the noDeploy option was not specified
- using ES6 arrow functions
- added tests
- added to the documentation
2016-09-16 09:58:05 +10:00
rowan
54728ef2b1 Switch CloudFormation OnFailure behaviour to rollback instead of delete. Fixes #2087. 2016-09-14 10:58:39 +10:00
Florian Motlik
1364f05f61 Merge pull request #1917 from johncmckim/issue-1777
Update packaging to support individual packages per function
2016-09-05 14:56:07 +02:00
John McKim
02c0e6c369 increase coverage of artifact uploads 2016-09-05 22:37:13 +10:00
John McKim
83a9d5e0fd fixes from pr comments 2016-09-03 12:32:13 +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
22e812c32a Make eslint happy 2016-09-02 13:19:07 +02:00
Nick den Engelsman
7e77f8aa0c remove unnecessary eslint-disable no-console 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
John McKim
d348e9d4ab update tests to check arguments 2016-08-31 17:58:14 +10:00
John McKim
ff8a6cc71f remove todo and ensure createstack returns promise 2016-08-30 08:40:14 +10:00
John McKim
b1143c4b9f Fix function package names and warning when updating stack with --noDeploy 2016-08-30 07:58:48 +10:00