1990 Commits

Author SHA1 Message Date
Eslam λ Hefnawy
f0892630f7 Merge pull request #3908 from dschep/invoke-local-config-region
Also set region env vars from config, not just CLI, for invoke local
2017-07-12 20:51:59 +07:00
Eslam λ Hefnawy
084f8f3027 Merge pull request #3910 from ryansb/ignore-custom-plugins
Ignore custom plugins in the project when uploading artifacts
2017-07-12 19:41:14 +07:00
Eslam λ Hefnawy
40d529ced5 Revert "Improves invalid security token message per issue #3862" 2017-07-12 17:49:37 +07:00
Mariusz Nowak
f4ee5481c6 Test error handling in zipFiles 2017-07-10 21:47:49 +02:00
Mariusz Nowak
7d5b93696e Expose getFileContent method 2017-07-10 20:19:56 +02:00
Mariusz Nowak
a24e243766 Resolve files for archive asynchronously 2017-07-10 20:17:14 +02:00
Mariusz Nowak
7f5d4426f6 Handle eventual write error 2017-07-10 20:08:17 +02:00
Mariusz Nowak
0a95913481 Seclude files resolution logic 2017-07-10 13:53:57 +02:00
Eslam λ Hefnawy
f0b1474f1e Merge pull request #3912 from serverless/darkowlzz-3625-deploy-function-pkg
Follow up for #3876 & #3856: Fixes for custom package artifacts
2017-07-10 16:00:09 +07:00
Eoin Shanaghy
9724645a10 Include dependencies when long=true in npmrc
- Issue #3918
- Ensure npm output parsed to determine production dependencies is
consistent regardless of npmrc settings
2017-07-10 09:26:43 +01:00
Philipp Muens
4ed4a8e9bb Update to match two security token related cases 2017-07-07 16:40:17 +02:00
Eslam A. Hefnawy
bcbbd907ab skip service packaging if artifact is provided 2017-07-07 20:59:00 +07:00
Ralph Dugue
a91c827633 Fixing error with matching in test 2017-07-07 08:37:53 -04:00
Eslam A. Hefnawy
42d48892c2 fix deploy function with service artifact 2017-07-07 19:22:42 +07:00
Eslam A. Hefnawy
ea9c7659e2 Merge branch '3625-deploy-function-pkg' of https://github.com/darkowlzz/serverless into darkowlzz-3625-deploy-function-pkg 2017-07-07 18:22:59 +07:00
Ralph Dugue
c15ec99d9c Fixed some issues per recommendations and added test 2017-07-07 07:13:14 -04:00
Ryan S. Brown
ef1cac76f0 Ignore custom plugins in the project when uploading artifacts 2017-07-06 22:59:32 -04:00
Daniel Schep
1bce9eb1c3 Just remove PATH override to allow windows & non-standard locations & pyenv to work 2017-07-06 22:45:55 -04:00
Ralph Dugue
cb6e81a114 fixed some issues based on recommendations 2017-07-06 22:45:48 -04:00
Daniel Schep
d5e12e9ed0 Also set region env vars from config, not just CLI, for invoke local 2017-07-06 11:06:45 -04:00
Philipp Muens
ff9c2c3b8c Merge branch 'master' into request-params-for-lambda-proxy 2017-07-06 12:43:42 +02:00
Philipp Muens
f854e33885 Update formatting of warning message 2017-07-06 12:39:57 +02:00
Ralph Dugue
c7f44b64f3 minor changes to adhere to style guideline 2017-07-05 15:50:48 -04:00
Ralph Dugue
0874f77d0b making a minor fix
Carelessly forgot to space out the message correctly
2017-07-05 15:23:00 -04:00
Ralph Dugue
4d424b9d25 Improves invalid security token message per issue #3862 2017-07-05 14:47:29 -04:00
Philipp Muens
cfd8cb3642 Fix MacOS detection 2017-07-05 09:27:27 +02:00
Ryan Lewis
5d94409188 cleaning build output for macs 2017-07-04 22:49:42 -07:00
Philipp Muens
e2df8f2b45 Update tests for new packageFunction() functionality 2017-07-04 09:30:20 +02:00
Philipp Muens
27541592e8 Fix and update extendedValidate tests 2017-07-04 09:23:47 +02:00
Philipp Muens
17814d7912 Update and fix tests 2017-07-04 09:08:50 +02:00
Eslam λ Hefnawy
ea79e2b1dd Merge pull request #3830 from jthomas/master
Add disable parameter to function package options
2017-07-03 23:09:43 +07:00
Philipp Muens
0d8174ba72 Merge master into PR 2017-07-03 17:04:49 +02:00
Eslam λ Hefnawy
9f7e740b09 Merge pull request #3838 from serverless/only-re-deploy-when-updated
Only re-deploy when code or service updated
2017-07-03 19:54:58 +07:00
Eslam λ Hefnawy
fadb11f9ac Merge pull request #3880 from serverless/fix-node-modules-regex
Fix node_modules regex in excludeDevDependencies to be OS independent
2017-07-03 17:36:38 +07:00
Philipp Muens
7c57935ca9 Fix linting issue 2017-07-03 11:23:32 +02:00
Philipp Muens
dd3662079f Update variable usage to ensure better readability 2017-07-03 11:10:29 +02:00
Philipp Muens
71b63519f4 Fix check for equality of remote and local files 2017-07-03 10:57:26 +02:00
Philipp Muens
6893bba324 Add support for "force" option 2017-07-03 09:36:49 +02:00
Sunny
cb059a3a79 Add extendedValidate test for package artifact 2017-07-01 01:48:42 +05:30
Sunny
d5de23f482 Fix extendedValidate issue and refactor some code 2017-07-01 01:02:52 +05:30
Sunny
042b6e2e74 Add test for deployFunction() with artifact 2017-06-30 23:29:19 +05:30
Sunny
8d8f0645b4 Add packageService test for function artifact path 2017-06-30 23:29:19 +05:30
Sunny
59a25a9dbd Add function artifact check in deployFunction
- Adds check for function package artifact in packageFunction() and
avoids packing if a package artifact is found.
- Adds check for function artifact in deployFunction() and use the
provided artifact to deploy if available.
2017-06-30 23:29:19 +05:30
Philipp Muens
082a1dc05f Fix node_modules regex to be OS independent 2017-06-30 14:07:13 +02:00
Philipp Muens
fb5442354a Rephrase deploy function info message when skipping deployment 2017-06-30 13:51:37 +02:00
Philipp Muens
d13881a012 Update location where remoteFunctionData is saved 2017-06-30 13:36:06 +02:00
Philipp Muens
d39e95fec5 Update check if deployment is necessary 2017-06-30 13:32:06 +02:00
Philipp Muens
3ad2c5031d Add tests 2017-06-30 13:17:39 +02:00
Philipp Muens
e329bf9ad8 Only re-deploy when code or service updated 2017-06-30 09:26:55 +02:00
Philipp Muens
34595e1f6d Add opt-out config for dev dependency exclusion 2017-06-30 09:25:59 +02:00