File tree 3 files changed +17
-0
lines changed
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 }}):
98
98
- *install-node
99
99
- EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh
100
100
- yarn global add serverless@^3.38.0 --prefix /usr/local
101
+ - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local
101
102
- cd integration_tests && yarn install && cd ..
102
103
script:
103
104
- 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:
21
21
# IAM permissions require that all functions are deployed with this role
22
22
role : " arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
23
23
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
+
24
35
layers :
25
36
python :
26
37
package :
You can’t perform that action at this time.
0 commit comments