Philipp Muens
f32ac41492
Update if statements for easier reasoning
2017-04-26 09:17:51 +02:00
Eslam A. Hefnawy
4623e0bbed
final packaging fixes
2017-04-25 23:03:46 +07:00
Frank Schmid
5b2efb0753
Control command flow for deploy at framework level.
2017-04-20 13:12:54 +02:00
Philipp Muens
1ffc914c1e
Add tests for AwsDeploy
2017-04-11 12:34:35 +02:00
Eslam A. Hefnawy
bc0eaf23e6
fixed unit tests
2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
7da3a1ae35
resovled conflicts on master
2017-04-06 18:28:59 +07:00
Frank Schmid
802ce6053d
First working separated build/deploy
2017-04-06 18:28:59 +07:00
Frank Schmid
b72c990497
Serverless deploy working
2017-04-06 18:28:59 +07:00
Frank Schmid
0af0ef95b1
Adjusted package lifecycle for non-breaking state.
2017-04-06 18:28:59 +07:00
Frank Schmid
d9637fc534
Support deprecation with redirects
2017-04-06 18:28:59 +07:00
Frank Schmid
c5e75c780e
Define deploy inner lifecycles.
2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f
seperated packaging and deployment
2017-04-06 18:28:59 +07:00
Maciej Winnicki
673a9ef959
Merge branch 'issue_2011' of https://github.com/andymac4182/serverless into andymac4182-issue_2011
...
Conflicts:
lib/plugins/aws/deploy/index.js
lib/plugins/aws/deploy/lib/cleanupS3Bucket.js
lib/plugins/aws/deploy/tests/index.js
2016-10-28 11:26:01 +02:00
Nik Graf
078738ca2d
add rollback feature
2016-10-21 00:13:21 +02:00
Eslam A. Hefnawy
425d0a1729
merge iam resources after create and before compiling functions and events
2016-10-20 19:19:05 +07:00
Nik Graf
a7d42e470c
moved listing stacks into a separate plugin
2016-10-19 18:28:24 +02:00
Nik Graf
f6df813b6a
Merge branch 'master' into listing-stacks
2016-10-19 17:02:39 +02: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
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
921ee16369
add listing deployed stacks
2016-10-18 15:37:43 +02:00
Andrew McClenaghan
55ccc03bfa
Clean up S3 bucket after a successful deploy instead of before to allow stacks to rollback successfully after multiple fails
2016-10-13 17:14:24 +10: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
Nick den Engelsman
c2d2152679
Moved monitorStack to shared lib/plugins/aws/lib
2016-09-02 13:35:29 +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
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
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
Florian Motlik
83a99b598a
Merge pull request #1808 from johncmckim/issue-1496
...
WIP: Add DRYrun support
2016-08-16 10:34:39 +02:00
John McKim
5bd51b0056
fix deployment message
2016-08-16 17:09:08 +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
John McKim
b28ecbeb31
merge from master
2016-08-13 08:06:09 +10: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
ffceabc7c5
Rename lifecycle events of deploy plugin
2016-08-11 16:23:17 +02:00
John McKim
e4f36d42f1
Add a dryRun flag to deploy
2016-08-10 16:59:51 +10:00
Benny
0d2c78cc36
DRY validate
2016-07-20 21:43:20 +03:00
Philipp Muens
6b32fdc291
Update awsDeploy plugin to use new .zip package artifact
2016-07-07 20:10:05 +02:00
Philipp Muens
ecae591c38
Add provider definition to Amazon Web Services specific plugins
2016-07-04 09:51:38 +01:00
Philipp Muens
f452bb6412
Apply cosmetic changes to tests
2016-06-21 12:23:56 +02:00
Eslam A. Hefnawy
2c20687793
update plugins for provider-per-service arch
2016-06-19 21:38:01 +02:00
Eslam A. Hefnawy
ef2fffe130
refatored aws plugins structure
2016-06-16 21:24:09 +02:00