39 Commits

Author SHA1 Message Date
Sidharth RK
447704f404
fix(AWS Lambda): Ensure image region matches provider region (#11081)
Co-authored-by: steviekong <sidharth@pingthis.in>
2022-05-19 17:35:19 +02:00
Mariusz Nowak
e9c3502e2a refactor: Rename lib/utils/telemetry/generatePayload.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7289137073 refactor: Rename lib/Serverless.js 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Piotr Grzesik
33bd501f06 feat: Error instead of warning when missing "commands" or "options"
BREAKING CHANGE: When creating `Serverless` class instance programatically,
both "options" and "commands" have to be passed via "config" to the constructor.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
b30a2277a7 test: Upgrade @serverless/test to v9 2022-01-27 15:21:58 +01:00
Zane Mountcastle
5b61b415a0
feat(AWS Lambda): Add platform option for container images (#10237)
Co-authored-by: Matthieu Napoli <matthieu@mnapoli.fr>
2021-11-25 18:35:10 +01:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
Mariusz Nowak
655140b764 feat(CLI): Modern debug (previously verbose) logs related to deploy 2021-09-17 11:42:50 +02:00
Piotr Grzesik
db98eb3266 test: Ensure proper aws-sdk patch in provider tests 2021-08-23 12:01:55 +02:00
Piotr Grzesik
e65199c052 refactor(Telemetry): Ensure generation and related utils are sync 2021-07-06 11:24:21 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Nicholas Wehr
078ec59058
feat(AWS Lambda): Add ecr.scanOnPush configuration option (#9379) 2021-05-06 11:09:16 +02:00
AlinoeDoctari
80eb46c8d3
test: Refactor base aws provider credentials test (#9328) 2021-04-21 10:15:39 +02:00
Piotr Grzesik
d3ecb7cc3b feat(Telemetry): Record all commands and send only on deploy 2021-04-19 16:18:24 +02:00
Mariusz Nowak
10f956777c test: Rename servicePath to serviceDir 2021-04-16 13:32:13 +02:00
AlinoeDoctari
196776c65e
refactor: Refactor aws provider tests for prefixes (#9301) 2021-04-15 14:15:35 +02:00
AlinoeDoctari
70dbada1a7
test: Refactor tests for setting profile of aws provider (#9292) 2021-04-13 09:07:52 +02:00
Piotr Grzesik
0f998f3961 test: Adjust tests to use new runServerless syntax 2021-04-09 19:53:50 +02:00
AlinoeDoctari
376ff84cd0
test: Refactor test for getCredentials for aws provider (#9270) 2021-04-09 17:31:16 +02:00
Mariusz Nowak
2d1b56b59f test: Upgrade to new runServerless version 2021-04-09 16:10:21 +02:00
Nicholas Wehr
341a886874
feat(AWS Lambda): Add support for cacheFrom to images (#9251) 2021-04-08 10:56:24 +02:00
Nicholas Wehr
efd32d4725
feat(AWS Lambda): Add support for buildArgs to images (#9198) 2021-04-07 09:33:08 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
AlinoeDoctari
7b6ed9bb58
test: Refactor test for getStage for aws provider (#9214) 2021-04-01 15:13:26 +02:00
AlinoeDoctari
b31892a731
test: Refactor test for getRegion for aws provider (#9193) 2021-03-29 17:56:26 +02:00
Mariusz Nowak
41df6fbee2 fix(AWS Credentials): Fix credentials resolution (right way) 2021-03-16 14:58:54 +01:00
Mariusz Nowak
6f8b5b41eb fix(AWS Credentials): Fix credentials resolution 2021-03-16 13:58:57 +01:00
Mariusz Nowak
d300cec3e9 test: Improve var name 2021-03-16 13:58:57 +01:00
AlinoeDoctari
5fb85d36c8
refactor: Seclude AWS request util from internals (#8850) 2021-03-12 15:27:49 +01:00
Piotr Grzesik
55abaaf6d5 refactor: Revert bluebird from lib/plugins/aws
This reverts commit b11171c70c8f5597e2644f7ea8ec82a17a9eee29.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
b11171c70c
refactor: Remove bluebird from lib/plugins/aws (#9054) 2021-03-03 09:29:51 +01:00
Piotr Grzesik
4c7479283c fix(AWS Lambda): Properly resolve SHA for repo with slashes 2021-02-11 11:44:54 +01:00
Piotr Grzesik
785f97b1a9 feat(AWS Lambda): Add ability to customize file for Dockerfile 2021-02-02 10:20:53 +01:00
Piotr Grzesik
9a5553742a
feat(AWS Lambda): Add support for image config (#8778) 2021-01-21 11:51:09 +01:00
Piotr Grzesik
e4f368ced9 fix(AWS Lambda): Ensure to attempt ECR login on expired token 2021-01-18 17:44:26 +01:00
Piotr Grzesik
789c2e35ab
feat(AWS Lambda): Add support for building Docker images (#8725) 2021-01-18 11:32:33 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Mariusz Nowak
fdcf60f6b8 refactor: Normalize module path 2020-12-14 15:16:31 +01:00