File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
integration-tests/aws-sdk/wrapper
sample-apps/aws-sdk/deploy/wrapper Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Python38 Layer Integration Test
2
- # This workflow is for verifying python3.9 layer in Lambda python3.8 environment
1
+ name : Python-3.11 Layer Integration Test
2
+ # This workflow is for verifying python3.11 layer in Lambda python3.8 environment
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
7
- release/*
8
8
paths-ignore :
9
9
- ' .github/**'
10
- - ' !.github/workflows/main-build-python39 .yml'
10
+ - ' !.github/workflows/main-build-python311 .yml'
11
11
- ' **.md'
12
12
workflow_dispatch :
13
13
14
14
concurrency :
15
- group : main-build-python39 -${{ github.ref_name }}
15
+ group : main-build-python311 -${{ github.ref_name }}
16
16
cancel-in-progress : true
17
17
18
18
@@ -22,7 +22,7 @@ permissions:
22
22
jobs :
23
23
integration-test :
24
24
runs-on : ubuntu-20.04
25
- name : Python39 -${{ matrix.architecture }}-IntegrationTest
25
+ name : Python311 -${{ matrix.architecture }}-IntegrationTest
26
26
strategy :
27
27
fail-fast : false
28
28
matrix :
86
86
TF_VAR_sdk_layer_name : opentelemetry-python-aws-sdk-wrapper-${{ matrix.architecture }}
87
87
TF_VAR_function_name : ${{ env.TERRAFORM_LAMBDA_FUNCTION_NAME }}
88
88
TF_VAR_architecture : ${{ env.LAMBDA_FUNCTION_ARCH }}
89
- TF_VAR_runtime : ' python3.9 '
89
+ TF_VAR_runtime : ' python3.11 '
90
90
- name : Extract endpoint
91
91
id : extract-endpoint
92
92
run : terraform output -raw api-gateway-url
Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ Resources:
14
14
Description : Opentelemetry Python layer
15
15
ContentUri : ./otel
16
16
CompatibleRuntimes :
17
- - python3.10
17
+ - python3.8
18
18
- python3.9
19
+ - python3.10
20
+ - python3.11
19
21
Metadata :
20
22
BuildMethod : makefile
21
23
api :
@@ -28,7 +30,7 @@ Resources:
28
30
Type : AWS::Serverless::Function
29
31
Properties :
30
32
Handler : lambda_function.lambda_handler
31
- Runtime : python3.9
33
+ Runtime : python3.10
32
34
CodeUri : ./function
33
35
Description : Build ADOT Python Lambda layer and sample app from scratch
34
36
MemorySize : 512
Original file line number Diff line number Diff line change 5
5
resource "aws_lambda_layer_version" "sdk_layer" {
6
6
layer_name = var. sdk_layer_name
7
7
filename = " ${ path . module } /../../../../opentelemetry-lambda/python/src/build/layer.zip"
8
- compatible_runtimes = [" python3.10" , " python3.9 " ]
8
+ compatible_runtimes = [" python3.10" , " python3.11 " ]
9
9
license_info = " Apache-2.0"
10
10
source_code_hash = filebase64sha256 (" ${ path . module } /../../../../opentelemetry-lambda/python/src/build/layer.zip" )
11
11
}
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ variable "architecture" {
13
13
variable "runtime" {
14
14
type = string
15
15
description = " Python runtime version used for sample Lambda Function"
16
- default = " python3.9 "
16
+ default = " python3.10 "
17
17
}
You can’t perform that action at this time.
0 commit comments