diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 0c8005f0cd..4bbf8d40a8 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -26,6 +26,8 @@ jobs: strategy: matrix: + # If you add a python version here, please make sure that the collector/Makefile publish and publish-layer targets + # get updated as well python: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: diff --git a/.github/workflows/release-layer-java.yml b/.github/workflows/release-layer-java.yml index 857824f470..f6665642b1 100644 --- a/.github/workflows/release-layer-java.yml +++ b/.github/workflows/release-layer-java.yml @@ -102,7 +102,9 @@ jobs: layer-name: opentelemetry-javaagent component-version: ${{needs.build-layer.outputs.JAVAAGENT_VERSION}} # architecture: - runtimes: java8.al2 java11 java17 + # If you add a java runtime here, please make sure that the collector/Makefile publish and publish-layer targets + # get updated as well + runtimes: java8.al2 java11 java17 java21 release-group: prod aws_region: ${{ matrix.aws_region }} secrets: inherit diff --git a/.github/workflows/release-layer-nodejs.yml b/.github/workflows/release-layer-nodejs.yml index 83677ae334..fd4639c061 100644 --- a/.github/workflows/release-layer-nodejs.yml +++ b/.github/workflows/release-layer-nodejs.yml @@ -87,6 +87,8 @@ jobs: layer-name: opentelemetry-nodejs component-version: ${{needs.build-layer.outputs.NODEJS_VERSION}} # architecture: + # If you add a nodejs runtime here, please make sure that the collector/Makefile publish and publish-layer targets + # get updated as well runtimes: nodejs18.x nodejs20.x nodejs22.x release-group: prod aws_region: ${{ matrix.aws_region }} diff --git a/collector/Makefile b/collector/Makefile index 0e5ebd0438..39dcb2993e 100644 --- a/collector/Makefile +++ b/collector/Makefile @@ -47,12 +47,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 nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 python3.8 python3.9 python3.10 python3.11 python3.12 --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 nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.8 python3.9 python3.10 python3.11 python3.12 --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 nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 python3.8 python3.9 python3.10 python3.11 python3.12 --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 nodejs16.x nodejs18.x nodejs20.x nodejs22.x java11 java17 java21 python3.8 python3.9 python3.10 python3.11 python3.12 --query 'LayerVersionArn' --output text @echo OpenTelemetry Collector layer published. .PHONY: set-otelcol-version diff --git a/java/README.md b/java/README.md index 16d3fdc7c7..ebcdcd9b72 100644 --- a/java/README.md +++ b/java/README.md @@ -75,7 +75,7 @@ To build the wrapper layer, run ./gradlew :layer-wrapper:build ``` -The layer zip file will be present at `./layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip`. +The layer zip file will be present at `./layer-wrapper/build/distributions/opentelemetry-javawrapper-layer.zip`. ## Sample applications