106 Commits

Author SHA1 Message Date
Nik Graf
3d027cc220 Merge pull request #2487 from serverless/fix-tests
Fix tests
2016-10-20 20:09:10 +02:00
Nik Graf
1be0b2d98f fix tests for uploadArtifacts 2016-10-20 15:07:43 +02:00
Nik Graf
0a77e1fa63 fix updateStack tests 2016-10-20 14:53:40 +02:00
Nik Graf
7184923667 fix createStack test 2016-10-20 14:44:06 +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
d8baa98187 fix cleanupS3Bucket tests 2016-10-20 14:07:26 +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
24e66400e8 fixed the mergeIamTemplates test name 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
Philipp Muens
c273abec68 Move AwsProvider plugin into aws directory 2016-10-19 08:32:06 +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
a2d771de3d rename s3ObjectsFromStacks to getS3ObjectsFromStacks 2016-10-18 17:53:00 +02:00
Nik Graf
48bf43053c fix test suite 2016-10-18 16:08:34 +02:00
Nik Graf
f22723a7e3 improve wording 2016-10-18 15:51:13 +02:00
Nik Graf
3b3fddd39a add findAndGroupStacks util 2016-10-18 15:40:24 +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
9c4f04f862 always return an array for cleanupS3Bucket and fix test suite 2016-10-18 13:38:17 +02:00
Nik Graf
987b4f4969 add tests to all 2016-10-18 13:31:52 +02:00
Nik Graf
3f3a265554 add util function to create s3Objects out of stacks 2016-10-18 13:30:41 +02:00
Nik Graf
78043dc9d3 add util function to find and group stacks 2016-10-18 13:30:05 +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
David Tanner
71c649b6aa Fix linting issue 2016-09-28 09:33:00 -06:00
David Tanner
f544b778cb Cleaning up the tests to avoid timeouts, might be because of writing file? 2016-09-28 09:27:43 -06:00
David Tanner
4f9f173a3c Fix linting issues, and restore deployFunction 2016-09-28 09:09:21 -06: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
Philipp Muens
eb4d17d1b5 Fix linting issues 2016-09-27 12:04:15 +02:00
Philipp Muens
3e93d244d3 Add subdirectory for tmpDirs
Add a subdirectory so that all directories which are generated for the tests are stored there.
Furthermore old tests are updated so that they use the tmpDir name generated by the test
utils functionality. This makes working with Docker way better as the tmpDirs are not created
It the root directory.
2016-09-27 11:48:14 +02: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
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
Florian Motlik
dcaa33d908 Merge pull request #2030 from Anichale/update-sinon-stubbed-tests
Issue #1899 : Update sinon stubbed tests to always check for correct args
2016-09-12 21:33:23 +02: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
Alexander Anich
8d6748b9eb Updates sinon stubbed tests in plugins/aws
Creates test cases to check for correct arugments from sinon stubs
2016-09-02 17:40:42 -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
9d2a990364 update test description for monitorStack 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
ea864be300 merge with master 2016-09-02 07:17:57 +10:00
John McKim
44823ebc71 merge with master 2016-09-01 07:30:17 +10:00
Eslam A. Hefnawy
6bf34263df switched back the deployment bucket name logical id 2016-09-01 01:08:34 +09:00
Eslam A. Hefnawy
ae4f094bc7 fix linting issues 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
d475b386a4 logical IDs updates 2016-08-31 23:27:17 +09:00
Eslam A. Hefnawy
959d0a17d3 updated tests with new logical ids 2016-08-31 23:27:17 +09:00