79 Commits

Author SHA1 Message Date
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
Jon Sharratt
6861a6bdd1 remove passing of include through to package service 2016-10-01 11:11:36 +01:00
Doug Moscrop
4490af73c0 fix Tests not passing on Windows 2016-09-26 09:14:54 -04:00
Florian Motlik
f9f212b404 WIP 2016-09-05 16:18:58 +02:00
John McKim
83a9d5e0fd fixes from pr comments 2016-09-03 12:32:13 +10:00
John McKim
ea864be300 merge with master 2016-09-02 07:17:57 +10:00
Florian Motlik
6692d2d0f1 Merge pull request #1961 from mallzee/archivejs-replacing-jszip
fix(zip): Switch to archivejs to reduce high memory footprint
2016-09-01 13:19:34 +02:00
John McKim
c7787793f4 check servicePath exists before cleaning up #1980 2016-09-01 07:32:35 +10:00
John McKim
44823ebc71 merge with master 2016-09-01 07:30:17 +10:00
John McKim
d348e9d4ab update tests to check arguments 2016-08-31 17:58:14 +10:00
Eslam A. Hefnawy
c849c7d11d removed more references to serverless.env.yaml 2016-08-31 16:37:58 +09:00
Jamie Sutherland
7834ca0217 fix(zip): Switch to archivejs to reduce high memory footprint 2016-08-30 11:51:30 +01: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
5a5240ccc5 fix tests after merge with master 2016-08-25 07:39:39 +10:00
John McKim
a413a4a471 merge 2016-08-25 07:23:47 +10:00
John McKim
4b3267eb13 fix more overspecified tests 2016-08-25 06:59:19 +10:00
Florian Motlik
39c330569e Merge pull request #1906 from serverless/update-artifact-deployment-process
Update artifact deployment process
2016-08-24 16:27:04 +02:00
Florian Motlik
4dce8b65db Merge pull request #1857 from miltador/patch-1
Fixed platform detection for generating zip
2016-08-24 16:05:12 +02:00
Philipp Muens
b72cd2f882 Remove timestamp from zipFileName
The timestamp is not necessary anymore as the zip file is uploaded into a timestamped
directory on S3.
2016-08-24 11:37:19 +02:00
John McKim
d1f6d90d14 fix overspecified test resolution 2016-08-24 07:50:27 +10:00
John McKim
a972319447 fix linting issue 2016-08-24 07:29:15 +10:00
John McKim
fcd5f2f3d9 Fix issues with deploying individual functions 2016-08-24 07:26:14 +10:00