67 Commits

Author SHA1 Message Date
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
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
John McKim
b7af61647c fix linting issues 2016-08-30 07:42:12 +10:00
John McKim
a413a4a471 merge 2016-08-25 07:23:47 +10:00
Philipp Muens
d72617d833 Add check if object matches regex 2016-08-24 11:37:19 +02:00
Philipp Muens
ede355cc5d Add resolving for bucket name retrieval when noDeploy option is set 2016-08-24 11:37:19 +02:00
Philipp Muens
48191fc3ed Move saving of bucket name into own method
So that it's more encapsulated and easier to test in isolation.
2016-08-24 11:37:19 +02:00
Philipp Muens
f038e78b06 Remove dead deployFunctions code 2016-08-24 11:37:19 +02:00
Philipp Muens
bb916b1c26 Add cleanup S3 bucket functionality 2016-08-24 11:37:19 +02:00
Philipp Muens
030722c313 Add separate methods to upload artifacts into a dedicated S3 directory 2016-08-24 11:37:19 +02:00
John McKim
6fdb39f9d3 Merge with master 2016-08-24 06:11:10 +10:00
John McKim
59cd51917f upload individual artifacts to S3 2016-08-22 09:34:56 +10:00
John McKim
5a2c9d2224 update packaging to support individual packages per function 2016-08-22 07:40:16 +10:00
Philipp Muens
e13abdc6c0 Remove unnecessary orchestrator method for CloudFormation upload method 2016-08-19 07:42:57 +02:00
Philipp Muens
ac6e04068f Fix hitting CloudFormation TemplateBody limit
The CloudFormation template will now be uploaded to S3 and referenced from there
in the updateStack method.
2016-08-18 12:09:44 +02:00
Philipp Muens
36ae568147 Fix and refactor noDeploy support and add tests 2016-08-17 11:08:44 +02:00
Florian Motlik
83a99b598a Merge pull request #1808 from johncmckim/issue-1496
WIP: Add DRYrun support
2016-08-16 10:34:39 +02:00
Philipp Muens
6b3d59e5bd Add fix for empty, but defined Resources / Outputs definitions 2016-08-16 06:24:50 +02:00
John McKim
2335f25400 fix build after merge 2016-08-16 08:04:55 +10:00
John McKim
82e5e97945 Merge branch 'master' of github.com:serverless/serverless into issue-1496 2016-08-16 08:04:26 +10:00
Philipp Muens
9fadb31d0b Introduce provider.compiledCloudFormationTemplate section
This section is used to store the core CloudFormation template and merge compiled resources into it.
2016-08-15 15:19:04 +02:00
Philipp Muens
6513a1c6fe Refactor merging of custom provider resources 2016-08-14 20:52:06 +02:00
Philipp Muens
d4bf0342d7 Add full custom resource merging support 2016-08-14 17:44:29 +02:00
Philipp Muens
0e3ca57ff3 DRY out loading of core CloudFormation template 2016-08-13 08:22:58 +02:00
Philipp Muens
28011f45c9 Rename description of core CloudFormation template 2016-08-13 08:20:01 +02:00
John McKim
c99948cc8b update to --noDeploy 2016-08-13 07:59:37 +10:00
Philipp Muens
0944e6dde6 Refactor resource merging
So that the custom provider resources are not stored in a temp variable.
Furthermore the whole CloudFormation content is available in this.serverless.service.resources.
2016-08-12 17:42:18 +02:00
Philipp Muens
2468ed295a Fix linting error 2016-08-12 16:01:19 +02:00
Philipp Muens
93086a192f Update custom provider resource merging 2016-08-12 15:52:21 +02:00
John McKim
53a544c364 fix issue with writing the cf templates to disk 2016-08-11 05:56:10 +10:00
John McKim
d334d1721f Ensure cf template is always written to disk 2016-08-11 05:20:13 +10:00
John McKim
e4f36d42f1 Add a dryRun flag to deploy 2016-08-10 16:59:51 +10:00
Sander van de Graaf
6816ced0f6 removed individual lodash functions 2016-08-05 13:30:35 +02:00
Eslam λ Hefnawy
ef1ac845c4 Merge pull request #1755 from serverless/print-a-dot-while-loading
Print a . while loading
2016-08-05 03:15:43 +09:00
Philipp Muens
86af77dbe2 Update comments with proper english 2016-08-04 16:24:51 +02:00
Philipp Muens
d17b0c3df0 Print a . while loading 2016-08-04 16:21:59 +02:00
Eslam A. Hefnawy
b3da5d4491 added custom iam role statements 2016-08-04 20:19:31 +09:00
Sander van de Graaf
5ea59d4ed6 Removed unneeded outputs and the corresponding tests. Added postCreate function for easy hook later. 2016-07-27 16:22:37 +02:00