5561 Commits

Author SHA1 Message Date
Daniel Conde
1a4ce917a7 add support for command type='container' 2019-02-09 14:59:13 +00:00
Serge Dukic
1ed55034b8 Fix function name to be "http"
So that it matches what is in the "serverless.yml" file.

Issue(s): None
2019-02-09 21:22:21 +13:00
Serge Dukic
bfb38fca9f Fix typo in service name
Needs a space before the "hash" symbol otherwise YAML doesn't recognise
it as a comment.

Issue(s): None
2019-02-09 21:20:31 +13:00
Serge Dukic
c1d8e6ec24 Add Google Cloud Python template
Add a template for creating Python Serverless functions in Google Cloud.

Issue(s): None
2019-02-09 21:15:04 +13:00
Daniel Schep
5761d5ce27 forgot semi 2019-02-08 18:08:15 -05:00
Daniel Schep
1a3c6d36bc fix windows go rework.
I failed to properly test it after a slight refactor befor emerge
2019-02-08 18:00:17 -05:00
Daniel Schep
88a4ce07f0 simplify implementation since getGolanblaba func wasnt used more than once and add docs 2019-02-08 16:15:02 -05:00
Daniel Schep
8064022a7a fatter fingers 2019-02-08 13:00:26 -05:00
Daniel Schep
1d07558b05 fat fingers 2019-02-08 12:56:55 -05:00
Daniel Schep
872212c2bd some test covg 2019-02-08 12:53:58 -05:00
Daniel Schep
7c73fdff37 windows golang chmod for deploy func -f too 2019-02-08 12:42:05 -05:00
Daniel Schep
eb4944108e fix minor bug & only do it on windows anyway 2019-02-08 12:37:36 -05:00
Daniel Schep
f136ac8678 inital stab at #5614 2019-02-08 12:35:23 -05:00
Daniel Schep
d21557a430
Merge pull request #5808 from serverless/sls-5745
Replace \ with / in paths on windows before passing to nanomatch
2019-02-08 10:06:34 -05:00
Daniel Schep
b32b200b14
Merge pull request #5718 from Biteable/make-local-ruby-pry-work
Make local ruby pry work
2019-02-08 10:00:48 -05:00
Jerry Wang
041f717e07 fix makeDeepVariable replacement 2019-02-07 17:49:35 -05:00
Jon Burgess
801278039c Ensure we don't break ruby local invocation on linux 2019-02-08 09:11:47 +11:00
Daniel Schep
42f2c2cb0d replace \ with / in paths on windows before passing to nanomatch
fices #5745 becaue nanomatch only supports / as a path separator
2019-02-07 13:03:45 -05:00
Philipp Muens
6a4dc2b68e
Merge pull request #5787 from Kivol/dfuc-layer-option
Added layer option for deploy function update-config
2019-02-07 11:26:07 +01:00
Philipp Muens
bc9cb08bad
Merge pull request #5791 from danielcondemarin/aws-deploy-checkForChanges-TODO
Replace blocking fs.readFileSync with non blocking fs.readFile in checkForChanges.js
2019-02-07 11:22:16 +01:00
Philipp Muens
aeb780dc9d
Merge pull request #5798 from erikerikson/config-not-dependent
Don't load config for `config`
2019-02-07 11:21:52 +01:00
Adrian Hesketh
2e85b52bce
Removed AWS S3 versioning and fixed build error for Node 4.4. 2019-02-06 17:07:30 +00:00
Daniel Schep
d53081ac6a
Merge pull request #5799 from erikerikson/fix-append-deep-custom-syntax
Append in Custom Syntax
2019-02-06 11:37:20 -05:00
Erik Erikson
f95a99096e Append in Custom Syntax
Respect custom variable syntaxes when appending to deep variables.
2019-02-05 17:11:53 -08:00
Erik Erikson
93f3535781 Don't load config for config
Change the config command to not require loading of the `serverless.*` configuration file.

Fixes #4597
2019-02-05 15:23:55 -08:00
Adrian Hesketh
3ed18cfb89
Update bucket conf to default AES256 encryption and enable versioning. 2019-02-05 22:52:22 +00:00
Daniel Schep
9b716b4be0 lint 2019-02-05 13:16:32 -05:00
Daniel Schep
931caf866d set timout&others on context in python invoke local
closes #5792
2019-02-05 13:02:39 -05:00
Eslam A. Hefnawy
c551abfe82 fixed cli tests when running in debug mode 2019-02-05 15:43:41 +03:00
Eslam A. Hefnawy
5896f0c43b fix race condition when loading config file 2019-02-05 15:05:31 +03:00
Kivol
c09355b4e0 Passing lint 2019-02-05 09:59:39 +09:00
danielconde
1929af8ae8 Read files before hashing asynchronously on checkIfDeploymentIsNecessary 2019-02-04 22:30:14 +00:00
Kivol
8b7393db94 Added layer option for deploy function update-config 2019-02-05 02:31:54 +09:00
pchynoweth
4c935d11e0 Fixed up linting issues 2019-02-04 10:09:55 +00:00
pchynoweth
9a25ade818 Added unit tests 2019-02-04 10:00:14 +00:00
pchynoweth
73d95c283e Fixed linting issue 2019-02-03 21:46:25 +00:00
pchynoweth
81a21744e6 Now checking if origins is empty 2019-02-03 21:09:20 +00:00
pchynoweth
968159b043 Now copying cacheControl into validated corsPreflight 2019-02-03 17:12:44 +00:00
exoego
5ed78b8024 Do not remove spaces in single-quote literal. 2019-02-02 22:46:58 +09:00
exoego
b67455db6e Add tests for #5398 2019-02-02 22:45:39 +09:00
Eslam λ Hefnawy
8c53de83bf
Merge pull request #5758 from exoego/default-values
AWS: Add fallback support in ${cf} and ${s3}
2019-01-31 15:29:29 +03:00
Eslam λ Hefnawy
96e8ea6b0c
Merge pull request #5636 from shanehandley/master
Throw an error if plugin is executed outside of a serverless directory
2019-01-31 14:31:45 +03:00
Daniel Schep
0fb47a1e74 also preresolve keys within credentials 2019-01-29 16:33:08 -05:00
Daniel Schep
b3df0517f1 Require provider.credentials vars to be resolved before s3/ssm/cf vars
Similar to long standing region/stage and new profile preresolve.

test uses the service definition instead of `getCredentials` because
`getCredentials` is much more complex than `getStage`/`getProfile`/`getRegion`
and we only need to test that the config is updated, not all the
credential setting logic
2019-01-29 13:56:59 -05:00
Daniel Schep
43d8b624ef
Merge pull request #5740 from richarddd/multi-origin-cors
Provide multi origin cors values
2019-01-29 08:29:32 -05:00
Philipp Muens
1352d9bf97
Merge pull request #5656 from serverless/sls-5646
handle layers paths with trailing slash and leading ./ or just .
2019-01-29 14:02:19 +01:00
Daniel Schep
f54081216c don't check call tty on macs 2019-01-28 11:41:58 -05:00
Daniel Schep
38d942eb11 fat finger 2019-01-28 10:33:31 -05:00
Daniel Schep
03d8cebee8
Merge pull request #5744 from serverless/fix-sls-4311
Resolve profile before performing aws-sdk dependent actions
2019-01-28 10:10:07 -05:00
Daniel Schep
3093c8361d resovle path prefix to make layers support paths with . & / 2019-01-28 09:51:18 -05:00