101 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
4623e0bbed final packaging fixes 2017-04-25 23:03:46 +07:00
Frank Schmid
376d5cf6fe Fixed unit tests. Coverage back to 100%. 2017-04-20 18:39:55 +02:00
Frank Schmid
84d48a5a48 Move explicit function packaging entrypoint to topmost level.
3rd party plugins now can access it and trigger a single function package which was restricted to AWS before.
2017-04-20 17:49:55 +02:00
Frank Schmid
6086111704 Set artifact properties with the ZIP result paths. 2017-04-20 16:43:20 +02:00
Frank Schmid
20cd54b229 Removed provider dependencies. 2017-04-20 15:33:50 +02:00
Frank Schmid
6be0ba2f8f Move package code up and add createDeploymentArtifacts to topmost package command. 2017-04-20 15:11:35 +02:00
Philipp Muens
8eb7ddccce Remove .only statement in package test 2017-04-11 12:53:27 +02:00
Philipp Muens
ae0363332e Add tests for Package plugin 2017-04-11 12:52:40 +02:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +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
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
b9f3152817 updated tests for package function individually 2017-04-03 19:42:11 +07:00
Eslam A. Hefnawy
a9d001e03c updated/added unit tests and docs 2017-03-31 21:09:51 +07:00
Eslam A. Hefnawy
3251ebb4a7 added support for function.package.individually 2017-03-31 18:39:05 +07:00
Philipp Muens
8d348da0ce Merge master into PR 2017-03-23 12:29:07 +01:00
Doug Moscrop
e9bf9f3045 Use globby instead of glob-all because it can handle large lists of includes 2017-03-09 19:53:00 -05:00
Philipp Muens
6c82f71be8 Quickfix too many files open 2017-02-28 16:07:39 +01:00
Philipp Muens
b0df37673b One-Liner to reduce memory footprint during zipping process 2017-02-09 14:56:55 +01:00
Philipp Muens
a694b7d96a Remove unnecessary require of sinon-bluebird 2017-02-08 12:59:18 -05:00
Doug Moscrop
1012c351b7 add sinon-bluebird to make promises in tests a bit cleaner 2017-02-08 12:59:18 -05:00
Philipp Muens
bc368fdabd Fix broken validate test 2017-01-03 13:27:00 +01:00
Philipp Muens
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Florian Motlik
4e39b32ada Merge pull request #2681 from serverless/rework-include-exclude
Bring back include configuration for an easier packaging control
2016-11-16 16:18:44 +01:00
Philipp Muens
46a75fc6d3 Fix failing tests due to recent removal of .serverless directory 2016-11-15 14:10:46 +01:00
Philipp Muens
79e406f9f3 Update packageService tests 2016-11-15 14:05:43 +01:00
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01:00
Philipp Muens
66c29963c0 Remove unnecessary exclude of .serverless directory
This exclude is already done in the packageService.js file.
2016-11-15 13:48:39 +01:00
Austen
700eb2ea86 Merge pull request #2561 from doapp-ryanp/master
Make `deploy function` lifecycle events more fine grain
2016-11-14 08:00:08 -08:00
Philipp Muens
6910aff632 Move inclusion after exclusion of .serverless dir
This makes it possible that everything (even the .serverless dir) can be included again.
2016-11-14 10:26:44 +01:00
Philipp Muens
ccb6313250 Update zipService tests
So that files and directories are considered during exclude / include.
Furthermore the test directory structure is updated so that it’s easier to extend
and understand.
2016-11-14 10:26:44 +01:00
Philipp Muens
74a3f004d7 Bring back include configuration for an easier packaging control 2016-11-14 10:26:44 +01:00
Doug Moscrop
037dea9f14 fix Glob for .git and .serverless directories 2016-11-03 18:39:41 -04:00
doapp-ryanp
7fd01a4e21 bump to fix CI 2016-11-01 11:55:18 -05:00
doapp-ryanp
9ce0dea165 Merge remote-tracking branch 'upstream/master' 2016-11-01 11:54:47 -05:00
doapp-ryanp
d035fb2f0f clear statement when skipping default pkging 2016-10-28 16:20:06 -05:00
Jon Sharratt
c0a4a58d38 move func exclude to be last in pattern array 2016-10-28 11:51:50 +01:00
Jon Sharratt
f03cc72efb amended !exclude-me to !include-me, more explicit 2016-10-28 11:51:50 +01:00
Jon Sharratt
1cd3a8d507 add follow of symlinks to exclude / globbing 2016-10-28 11:51:49 +01:00
Jon Sharratt
6b73fe2147 support ! globs via glob-all to allow re-inclusion 2016-10-28 11:51:49 +01:00
Nik Graf
9611150416 replace ... with ellipsis character in lib 2016-10-19 06:31:55 +02:00
Philipp Muens
a7a04eb6f6 Closes #2292 - Remove outdated README.md files 2016-10-11 20:21:27 -07:00
Philipp Muens
9ebf296762 Merge pull request #2194 from craftship/globs-exclude
Use Globs to Exclude Files
2016-10-03 15:09:46 -07:00
Jon Sharratt
c32856abf7 reword yaml to yml in package README 2016-10-01 11:11:36 +01:00
Jon Sharratt
d05258516e use sync instead for globbing 2016-10-01 11:11:36 +01:00
Jon Sharratt
e17e4e44cf update readme for package plugin about globs 2016-10-01 11:11:36 +01:00
Jon Sharratt
204632b10e throw glob errors 2016-10-01 11:11:36 +01:00
Jon Sharratt
2d748e3d76 include dot files and fix .serverless glob 2016-10-01 11:11:36 +01:00
Jon Sharratt
28c643ffe5 fix linting issues for zipService changes 2016-10-01 11:11:36 +01:00
Jon Sharratt
1735998160 use exclude as globs for zip file 2016-10-01 11:11:36 +01:00