Frank Schmid
e8bdd0ca33
Added unit tests and a small fix with property paths
2017-04-27 02:28:13 +02:00
Frank Schmid
33a93e7a28
Move findReferences to utils. It will be used in extendedValidate too.
2017-04-26 21:57:40 +02:00
Frank Schmid
46646a9bff
Replace self references with "${self:}" on save state
2017-04-26 21:44:35 +02:00
Frank Schmid
a67674528e
Do not persist artifact if individually is set true.
2017-04-24 10:44:53 +02:00
Frank Schmid
aa29c9632e
Persist artifact in saved state
...
The `service.package.artifact` property was missing in the saveState function, so it was not available in the deploy phase.
This PR saves and restores the property correctly, and for AWS additionally sets it during packaging. For AWS the initialization of the property also was missing, possibly due to a merge conflict.
Combination of the following commits:
Re-revert changes for saveServiceState and extendedValidate
Revert most recent changes
Update package artifact to include path and .zip name
Update artifact file path for packaging and name for service state
Update tests for saveServiceState
Do not persist artifacts as it is not needed
Persist package.artifact correctly
2017-04-21 19:50:00 +02:00
Frank Schmid
6be0ba2f8f
Move package code up and add createDeploymentArtifacts to topmost package command.
2017-04-20 15:11:35 +02:00
Frank Schmid
2c1b18eb1f
Separate S3 bucket name validation. Import in generateCoreTemplate.js.
2017-04-17 12:22:42 +02:00
Philipp Muens
df5384c210
Fix incorrect / misleading naming in tests
2017-04-11 14:29:32 +02:00
Philipp Muens
2017b36c69
Fix broken tests
2017-04-11 14:18:50 +02:00
Philipp Muens
f80b2f02be
Fix tests for "saveCompiledTemplate" function
2017-04-11 14:04:13 +02:00
Philipp Muens
b63f48b558
Add tests for "saveServiceState" function
2017-04-11 14:03:22 +02:00
Philipp Muens
84761727fb
Remove unnecessary whitespace
2017-04-11 13:53:32 +02:00
Philipp Muens
f49327a7dd
Add tests for "saveCompiledTemplate" function
2017-04-11 13:53:18 +02:00
Eslam A. Hefnawy
666e6dc2c2
fixed typo
2017-04-10 02:33:53 +07: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
Eslam A. Hefnawy
cd71ccfa1e
fixing tests for package plugin
2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
a233a3f36a
fixing tests
2017-04-06 18:28:59 +07:00
Frank Schmid
bcd6cee286
Use core template for initial stack create
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
0f67313e61
Save state
2017-04-06 18:28:59 +07:00
Frank Schmid
b0ef26b4a0
Fixed package events
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
67f116b7ef
Added AWS common plugin. Moved cleanupTempDir. Call via spawn.
2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f
seperated packaging and deployment
2017-04-06 18:28:59 +07:00