752 Commits

Author SHA1 Message Date
Philipp Muens
a38063df64 Highlight skipping of deployments 2019-05-03 13:58:16 +02:00
TylerSustare
df984cc7da Add unit tests for invalid commands. 2019-04-23 15:55:56 -07:00
TylerSustare
28ea91bfd2 Add more specific sub command error handling. 2019-04-21 23:10:59 -07:00
Philipp Muens
11ff959129
Merge pull request #5926 from serverless/serverless-instance-id
Add Serverless instanceId concept
2019-03-25 12:23:16 +01:00
Philipp Muens
5cba21730c Merge branch 'master' into sls-5225 2019-03-22 10:47:11 +01:00
Philipp Muens
63c371c057 Turn Serverless Variable into plain value 2019-03-22 10:08:19 +01:00
Philipp Muens
391488bb39 Add ${sls:} Serverless Variable 2019-03-22 10:08:19 +01:00
Philipp Muens
4eab0ca5a6 Merge branch 'master' into eg-api-key-error 2019-03-21 14:24:32 +01:00
Philipp Muens
b5d0416bff Merge branch 'master' into eg-api-key-error 2019-03-21 14:22:07 +01:00
Philipp Muens
4a641471f8 Add unit tests for getLocalAccessKey function 2019-03-21 14:10:02 +01:00
Dave Nicolson
9d26b00ddb
Align error logging length 2019-03-18 11:52:59 +01:00
Daniel Schep
79eff80cab
Merge pull request #5840 from danielcondemarin/packaging-exclude-only-config-file-being-used
Packaging exclude only config file being used
2019-02-22 08:30:07 -05:00
Daniel Schep
90b18b43a7
Merge pull request #5842 from exoego/ssm-json
AWS: ${ssm} resolve vairbale as JSON if it is stored as JSON in Secrets Manager
2019-02-19 08:18:53 -05:00
exoego
616c744bd3 It should return json if referencing JSON in AWS SecretsManager. 2019-02-17 16:49:11 +09:00
danielconde
8a7d9113fc dont use destructuring as is not supported in earlier versions of node 2019-02-16 20:29:07 +00:00
danielconde
0d16fbc182 export getServerlessConfigFilePath in getServerlessConfigFile.js module 2019-02-16 17:58:49 +00:00
danielconde
5f14da535b make displayCommandUsage container command tests more explicit 2019-02-11 20:44:11 +00:00
Daniel Conde
cac310dcb9 update comment to reflect command type check 2019-02-09 15:26:09 +00:00
Daniel Conde
1a4ce917a7 add support for command type='container' 2019-02-09 14:59:13 +00:00
Jerry Wang
041f717e07 fix makeDeepVariable replacement 2019-02-07 17:49:35 -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
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
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
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
exoego
b67d9ca03c Support default value if ${s3} and ${cf} failed. 2019-01-27 17:00:22 +09:00
exoego
d40e2b31eb Add tests for fallback. 2019-01-27 13:17:01 +09:00
Daniel Schep
92f4f67337 tests for resolving profile before aws vars 2019-01-25 11:37:08 -05:00
Daniel Schep
e1f9b83dc9 resolve vars in file profile config before ssm vars 2019-01-25 08:24:15 -05:00
exoego
59c440e073 Make it clear that logs don't always get suppressed. 2019-01-23 14:33:53 +09:00
exoego
0e6c62ef9b Merge remote-tracking branch 'upstream/master' into print-no-log
# Conflicts:
#	lib/classes/CLI.test.js
2019-01-23 14:19:25 +09:00
Takahiro Horike
44f3d16ebf
Merge pull request #5733 from exoego/remove-duplicate-handler-warnings
Remove duplicate-handler warnings based on community feedback.
2019-01-22 22:49:37 +09:00
Eslam λ Hefnawy
1d1d869a2e
Merge pull request #5727 from exoego/cli-arg-test
Test that CLI does not convert numeric option to number
2019-01-22 16:32:19 +03:00
exoego
5fe43898d1 Remove unnecessary dependency. 2019-01-22 09:31:21 +09:00
exoego
3d31c43bcf Remove duplicate-handler warnings based on community feedback. 2019-01-22 09:22:49 +09:00
exoego
43e1fd105f Fix linting error. 2019-01-20 16:24:30 +09:00
exoego
c930079d5b Do not print logs if print command is used. 2019-01-20 16:10:02 +09:00
exoego
622be4b2cd Add test to verify number conversion never happen 2019-01-20 13:48:31 +09:00
exoego
cec6d5501b Suppress confusing warning since root cause is warned elsewhere. 2019-01-19 07:20:49 +09:00
Daniel Schep
d817ce08d4
Merge pull request #5687 from serverless/remove-platform-code
Remove platform code
2019-01-17 11:01:45 -05:00
exoego
f434009c45 Move stage name validation to Service#validate.
Since validation should be performed after service.functions are resolved.
2019-01-16 16:39:09 +09:00
Austen Collins
121a2ffbf2
fix linting issue 2019-01-15 13:22:39 -08:00
Austen Collins
d4fc6d1980
add entity to enable plugins to personalize their cli logs 2019-01-14 21:28:25 -08:00
Daniel Schep
96906c1c70
Merge pull request #5686 from exoego/validation-after-var-resolution
AWS: Fix stage name validation timing and allow hyphen
2019-01-13 20:25:53 -05:00
exoego
fe6cb01302 Fix error message. 2019-01-12 17:33:38 +09:00