Skip to content

Commit

Permalink
feat: add python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-rumian committed Aug 3, 2023
1 parent f78679d commit 71caca2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
python: ['3.8', '3.9', '3.10']
python: ['3.8', '3.9', '3.10', '3.11']

steps:
- name: Checkout this repo
Expand Down
4 changes: 2 additions & 2 deletions collector/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ package: build

.PHONY: publish
publish:
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 --query 'LayerVersionArn' --output text
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 3.11 --query 'LayerVersionArn' --output text

.PHONY: publish-layer
publish-layer: package
@echo Publishing collector extension layer...
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 --query 'LayerVersionArn' --output text
aws lambda publish-layer-version --layer-name $(LAYER_NAME) --zip-file fileb://$(BUILD_SPACE)/opentelemetry-collector-layer-$(GOARCH).zip --compatible-runtimes nodejs14.x nodejs16.x nodejs18.x java11 python3.8 python3.9 python3.10 3.11 --query 'LayerVersionArn' --output text
@echo OpenTelemetry Collector layer published.

.PHONY: gotidy
Expand Down
1 change: 1 addition & 0 deletions python/sample-apps/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ Resources:
- python3.8
- python3.9
- python3.10
- python3.11
Metadata:
BuildMethod: makefile
2 changes: 1 addition & 1 deletion python/src/otel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG runtime=python3.10
ARG runtime=python3.11

FROM public.ecr.aws/sam/build-${runtime}

Expand Down
1 change: 1 addition & 0 deletions python/src/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Resources:
- python3.8
- python3.9
- python3.10
- python3.11
Metadata:
BuildMethod: makefile
api:
Expand Down

0 comments on commit 71caca2

Please sign in to comment.