File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}):
9898 - *install-node
9999 - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh
100100 - yarn global add serverless@^3.38.0 --prefix /usr/local
101+ - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local
101102 - cd integration_tests && yarn install && cd ..
102103 script:
103104 - RUNTIME_PARAM={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change 1+ certifi == 2024.12.14
2+ charset-normalizer == 3.4.1
3+ idna == 3.10
4+ requests == 2.32.3
5+ urllib3 == 2.3.0
Original file line number Diff line number Diff line change @@ -21,6 +21,17 @@ provider:
2121 # IAM permissions require that all functions are deployed with this role
2222 role : " arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
2323
24+ plugins :
25+ - serverless-python-requirements
26+
27+ custom :
28+ pythonRequirements :
29+ dockerizePip : true
30+ dockerRunCmdExtraArgs : ["--platform", "linux/${env:ARCH}"]
31+ layer :
32+ compatibleRuntimes :
33+ - ${env:SERVERLESS_RUNTIME}
34+
2435layers :
2536 python :
2637 package :
You can’t perform that action at this time.
0 commit comments