2357 Commits

Author SHA1 Message Date
Austen
402abb97ff Merge pull request #768 from minibikini/v0.5
fixes `tests/actions/ProjectInstall.js`
2016-03-10 21:31:50 -08:00
Egor Kislitsyn
4dec5ac59a fixes tests/actions/ProjectInstall.js 2016-03-11 12:30:29 +07:00
Austen
7063755dba Merge pull request #767 from minibikini/v0.5
Fix RuntimeNode
2016-03-10 21:08:13 -08:00
Egor Kislitsyn
1077a4f573 fix ProjectInit 2016-03-11 12:06:44 +07:00
Egor Kislitsyn
8bd1bc8c14 Fix RuntimeNode 2016-03-11 12:06:22 +07:00
Eslam λ Hefnawy
7333f55204 Merge pull request #761 from minibikini/v0.5
Adds `run()`, `scaffold()` and inline environment variables
2016-03-10 21:43:33 +07:00
Egor Kislitsyn
cd7c138d8b Fix typo 2016-03-10 21:25:35 +07:00
Egor Kislitsyn
e7272908e2 moves scaffolding logic to Runtime.scaffold(), updates FunctionCreate; 2016-03-10 21:19:32 +07:00
Egor Kislitsyn
a08ae80f1a adds load environment variables before function handler 2016-03-10 21:17:39 +07:00
Egor Kislitsyn
98d6965452 makes globber ignore functions in temporary directory 2016-03-10 21:12:10 +07:00
Egor Kislitsyn
138df1b260 fix test functions 2016-03-10 21:09:07 +07:00
Egor Kislitsyn
9fae29dd16 adds build() method to Runtime class; Removes FunctionRunNode and FunctionRunPython27 2016-03-10 21:08:34 +07:00
ac360
0a49f482f7 SerializerFileSystem: Throw error if runtime is missing at function level 2016-03-09 21:15:30 -08:00
Austen
987872ff1b Merge pull request #757 from minibikini/v0.5
Adds `build` method to the Runtime class
2016-03-09 08:02:30 -08:00
Egor Kislitsyn
d0905b5682 Adds build method to the Runtime class 2016-03-09 20:31:03 +07:00
Eslam A. Hefnawy
cae5349548 tiny fixes for deploy and remove actions 2016-03-09 18:31:05 +07:00
Austen
f7b8c4f024 Merge pull request #754 from serverless/v0.5-removecomponent
V0.5 removecomponent
2016-03-08 15:59:31 -08:00
Austen Collins
fd7aedc0ba Serializer: fix template loading, FunctionDeploy: add nice error if ahndler is incorrect, Tests: fix all 2016-03-08 15:16:42 -08:00
Austen Collins
cf332d69a6 minor fix to tests 2016-03-08 12:39:08 -08:00
Austen Collins
adba9594ce ResourcesDeploy: auto-add CF outputs to variables 2016-03-08 12:16:36 -08:00
Eslam A. Hefnawy
fab872a53e remove outdated util function 2016-03-09 03:14:41 +07:00
Eslam A. Hefnawy
43d1317f61 fixes across actions to remove components completely 2016-03-09 03:13:32 +07:00
ac360
f417225247 Merge branch 'v0.5-removecomponent' of https://github.com/serverless/serverless into v0.5-removecomponent 2016-03-08 09:30:31 -08:00
ac360
f7e3c8f03c Project: remove excessive properties 2016-03-08 09:30:15 -08:00
Eslam A. Hefnawy
6f50c68e7f fixed classes tests 2016-03-09 00:24:49 +07:00
Eslam λ Hefnawy
e55e19ff56 Merge pull request #749 from minibikini/v0.5-removecomponent
removes components from actions
2016-03-08 22:11:13 +07:00
Egor Kislitsyn
eb846de776 Merge branch 'v0.5-removecomponent' of github.com:serverless/serverless into v0.5-removecomponent
# By Eslam A. Hefnawy
# Via Eslam A. Hefnawy
* 'v0.5-removecomponent' of github.com:serverless/serverless:
  remove components from serializer class
  removed components from classes
2016-03-08 21:39:28 +07:00
Egor Kislitsyn
dea5e18452 removes components from actions 2016-03-08 21:39:03 +07:00
Eslam A. Hefnawy
1e0ad33d3a remove components from serializer class 2016-03-08 21:27:50 +07:00
Eslam A. Hefnawy
005d8f9b48 removed components from classes 2016-03-08 21:26:04 +07:00
Austen
8e5f3560cf Merge pull request #740 from erikerikson/v0.5-credential-loading-cleanup
V0.5 credential loading cleanup
2016-03-08 00:58:11 -08:00
Erik Erikson
e11ec38b2c Only set the accessKeyId/secretAccessKey/sessionToken when there is data to properly set them with.
If a profile prefix is supplied, use it non-contingently in all profile loading attempts, not as a separate profile.
2016-03-07 18:03:17 -08:00
Erik Erikson
0ceaf170e1 Merge remote-tracking branch 'upstream/v0.5' into v0.5-credential-loading-cleanup 2016-03-07 17:16:56 -08:00
Austen Collins
1926ee616e EndpointDeploy: continue adding authorizer support 2016-03-07 15:36:28 -08:00
Austen Collins
afe371f330 EndpointDeploy, Endpoint: being adding support for custom authorizers 2016-03-07 14:48:19 -08:00
Eslam λ Hefnawy
2baf03571f Merge pull request #745 from minibikini/v0.5
adds a test for the FunctionRollback action
2016-03-07 17:18:16 +07:00
Egor Kislitsyn
cedf22b3c3 adds a test for the FunctionRollback action 2016-03-07 16:56:47 +07:00
Eslam A. Hefnawy
023fbf1c7c pluginCreate: npm linking requires admin access. set it as an option instead 2016-03-05 19:19:36 +07:00
Eslam A. Hefnawy
fb2d6c55a4 projectCreate: replace domain option with bucket. Closes #733 2016-03-05 14:53:39 +07:00
Eslam λ Hefnawy
64fae496d1 Merge pull request #737 from srg-clearlaunch/FunctionRollbackTypo
FunctionRollback typo
2016-03-05 14:30:54 +07:00
Erik Erikson
3049b3a972 Change code generation of '*_PROFILE_[STAGE]' in Serverless artifacts to produce '*_[STAGE]_PROFILE' to align with prior changes.
Allow for a user supplied profile name prefix using the environment variable 'AWS_PROFILE_PREFIX' for use in loading credentials.

Ensure that profile names are lower case.
2016-03-04 22:12:07 -08:00
Erik Erikson
307a1c008b Add missing underscores between the prefix and stage so that the result will be something like:
PREFIX_STAGE
rather than
    PREFIXSTAGE

Thank you @hauboldj
2016-03-04 20:53:51 -08:00
Erik Erikson
f9ece6e58c Merge remote-tracking branch 'upstream/v0.5' into v0.5-credential-loading-cleanup
# Conflicts:
#	lib/ProviderAws.js
2016-03-04 18:10:57 -08:00
Erik Erikson
b88dc0a91e Make the logic of credential extraction from the configuration, environment (raw), or environment (via profile) very explicit and clear. Use built in clases as appropriate. (actually, we're not doing that for loading the ~/.aws/credentials file [via http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SharedIniFileCredentials.html] but maybe we should - going for minimum change)
Maintain optionality (but support for) session tokens.

Cover all possible environment prefixes consistently.
2016-03-04 17:45:59 -08:00
shawn robert grona
ffde94f7bb functionrollback typo 2016-03-04 14:40:41 -08:00
Eslam A. Hefnawy
76d4cf1a54 CLI Testing: some fixes 2016-03-05 01:46:31 +07:00
Austen
037a54e336 Merge pull request #732 from minibikini/v0.5
adds `FuntionRollback` action
2016-03-04 08:59:38 -08:00
Egor Kislitsyn
df02505ff3 Merge branch 'v0.5' of github.com:serverless/serverless into v0.5
# By Eslam A. Hefnawy
# Via Austen (1) and Eslam A. Hefnawy (1)
* 'v0.5' of github.com:serverless/serverless:
  fixed function handler. Closes #729
2016-03-04 23:54:21 +07:00
Egor Kislitsyn
2211ee8dfe adds FuntionRollback action 2016-03-04 23:53:59 +07:00
Egor Kislitsyn
e72d08eb05 fix FunctionRemove 2016-03-04 18:30:44 +07:00