1324 Commits

Author SHA1 Message Date
Mariusz Nowak
5a48c84c2e
Ensure needed test methods 2019-05-15 17:36:29 +02:00
Daniel Schep
127e36c5d0 support for SFE outputs in config 2019-05-15 11:34:48 -04:00
Philipp Muens
5b5425d939 Update AWS Node.js runtime to version 10 2019-05-15 14:27:55 +02:00
Daniel Schep
68b9c39f34 Merge remote-tracking branch 'origin/master' into plat-916 2019-05-14 09:49:29 -04:00
Mariusz Nowak
c35cfb19fb
Improve toggling of process.env vars 2019-05-14 13:44:49 +02:00
Mariusz Nowak
7437950223
Improve process.env vars handling 2019-05-14 13:42:58 +02:00
Mariusz Nowak
648368ab60
Ensure no side effects 2019-05-14 13:27:35 +02:00
Mariusz Nowak
d63eb58b4d
Ensure to not pollute process.env 2019-05-14 13:24:10 +02:00
Mariusz Nowak
d193dc8b63
Ensure to delete env vars
Due to string coercion assigining undefined sets them
with "undefined" string
2019-05-14 12:40:56 +02:00
Mariusz Nowak
cfa523d91f
Rely on stub(...).callsFake (Upgrade to sinon v2) 2019-05-13 20:43:22 +02:00
Philipp Muens
606e82d85b Fix validation after API Gateway deployment 2019-05-13 15:11:25 +02:00
Mariusz Nowak
c58935009c
Merge pull request #6119 from serverless/test-colors
Support color output in tests
2019-05-13 10:58:49 +02:00
Daniel Schep
660917e3b0 test coverage for async plugin initialization 2019-05-10 14:55:26 -04:00
Mariusz Nowak
edc3138ed6
Support color output in tests 2019-05-10 17:18:45 +02:00
Daniel Schep
537140ccbd add a hook for plugins to perform asyncronous initialization.
needed for SFE to enable deployment profiles
2019-05-09 09:17:54 -04:00
Daniel Schep
049d14706e update check 2019-05-08 09:21:50 -04:00
Daniel Schep
da1587bdbd serverlessrc based config instead of env var 2019-05-03 14:10:21 -04:00
Daniel Schep
ab88c1aa36 check for version of node that the SFEplugin requires too 2019-05-03 11:10:49 -04:00
Daniel Schep
b7d0c53d7c check that node version is compatible with SFE plugin 2019-05-03 11:05:41 -04:00
Daniel Schep
2a3d0397fa add option to disable SFE 2019-05-03 09:20:56 -04:00
Daniel Schep
6914063101 avoid duplicate plugin issue w/SFE 2019-05-03 09:16:15 -04:00
Philipp Muens
a38063df64 Highlight skipping of deployments 2019-05-03 13:58:16 +02:00
Daniel Schep
c06a67851e built in integration of serverless enterprise 2019-05-01 15:48:12 -04: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