66 Commits

Author SHA1 Message Date
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Kivol
c09355b4e0 Passing lint 2019-02-05 09:59:39 +09:00
Kivol
8b7393db94 Added layer option for deploy function update-config 2019-02-05 02:31:54 +09:00
Benny Zemmour
1d47ca878a adding test & docs 2018-09-16 17:20:50 +03:00
Benny Zemmour
b1a0e9211f
Update handler name on deploy single function
Allow to update the handler when using `deploy -f / --function`
2018-09-16 16:20:10 +03:00
horike37
4eb3012f99 update test 2018-07-29 16:32:19 +09:00
horike37
ffb02e1715 updated behavior so that non-string value transforms string 2018-07-27 05:00:24 +09:00
Kobi Meirson
e351ed6f5e PR review notes:
1. Use lodash functions
2. Allow CF refs & functions as environment values
2018-04-09 19:00:55 +03:00
Kobi Meirson
e75a2594f6 AWS Environment variables should contain only strings 2018-04-07 16:18:00 +03:00
Mike Pugh
b921d2656e Rename provider getAccountId() to getAccountInfo() since it now returns the caller identity object including partition based on ARN 2018-01-19 13:56:00 -05:00
Mike Pugh
16debac62e Replace AWS Partition strings with CF Pseudo Param or from STS 2018-01-19 13:52:29 -05:00
Frank Schmid
81c896bc12
Removed reintroduction of stage+region in request. Added options.
Delete bucket was still using them

Hopefully all :)

Further test fixes.

.... worked too long yesterday

Fixed Variable tests

Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Frank Schmid
97896eb34f Do not update configuration parts that contain references. 2017-10-26 11:57:10 +02:00
Rafal Wilinski
36a37d08e0 Fix helloTwo function deployment 2017-10-14 13:39:37 +02:00
Rafal Wilinski
db97a5fd2f Fix edge case with implicit root path 2017-09-29 22:18:58 +02:00
Rafal Wilinski
a48ed390ea Add normalizeArnRole tests 2017-09-29 22:09:33 +02:00
Rafal Wilinski
bafd7ede5a Fix failing tests 2017-09-29 21:02:37 +02:00
Rafal Wilinski
5423d8bf28 Fix Fn::GetAtt case 2017-09-28 19:19:54 +02:00
Rafal Wilinski
2e6d9733ec Add IAM Role normalization 2017-09-28 19:01:34 +02:00
Rafal Wilinski
087c78b91e Fix BbPromise.resolve 2017-09-19 15:36:52 +02:00
Philipp Muens
c6c589fdbb Update to use Bluebird promise 2017-09-19 11:00:27 +02:00
Rafal Wilinski
7ce86483ab Fix concurrent update and deploy operations 2017-09-14 17:39:42 +02:00
Rafal Wilinski
e125ca141c Fix deploy function not inheriting config 2017-09-14 17:21:38 +02:00
Rafal Wilinski
5f19ff757c Fix updateFunctionConfiguration logic 2017-09-07 18:57:13 +02:00
Rafal Wilinski
86b8ef729c Change deploy:function hook behavior 2017-09-07 17:26:42 +02:00
Rafal Wilinski
9df7c836a8 Fix test by omiting undefined values 2017-08-29 16:48:19 +02:00
Rafal Wilinski
82c4e3af48 Add deploy function --update-config implementation 2017-08-29 15:48:15 +02:00
Eslam A. Hefnawy
42d48892c2 fix deploy function with service artifact 2017-07-07 19:22:42 +07:00
Philipp Muens
0d8174ba72 Merge master into PR 2017-07-03 17:04:49 +02:00
Philipp Muens
6893bba324 Add support for "force" option 2017-07-03 09:36:49 +02:00
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
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
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
e329bf9ad8 Only re-deploy when code or service updated 2017-06-30 09:26: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
Eslam A. Hefnawy
7da3a1ae35 resovled conflicts on master 2017-04-06 18:28:59 +07:00
Frank Schmid
df6cff1d55 Use lifecycle dependencies for deploy function 2017-04-06 18:28:59 +07:00
Frank Schmid
1a3b18797d Fixed error on npm link in serverless. servicePath is null in this case. 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Nik Graf
386d9d6718 replace ellipsis with three dots to improve non-unicode console support 2016-11-15 14:00:27 +01:00
doapp-ryanp
594019debb Merge remote-tracking branch 'upstream/master' 2016-11-03 11:14:13 -05:00
Maciej Winnicki
292410c51d
show package file size during deploy 2016-11-02 11:41:10 +01:00
doapp-ryanp
9ce0dea165 Merge remote-tracking branch 'upstream/master' 2016-11-01 11:54:47 -05:00
Maciej Winnicki
fbb5b8f4e5
show package size in human readable way 2016-10-31 13:59:50 +01:00
doapp-ryanp
012e0f4aa8 be consistent in naming 2016-10-28 11:15:17 -05:00
doapp-ryanp
6634145c94 fix tests 2016-10-27 22:05:15 -05:00
doapp-ryanp
e29c539faa formatting 2016-10-27 21:46:39 -05:00
doapp-ryanp
1fd250998f add lifecycle events to deploy function 2016-10-27 21:41:24 -05:00