Skip to content

Commit 62200e0

Browse files
author
Alex Boten
authored
update collector workflow to publish a prod layer (#678)
Also adding a fairly minimal release document. --------- Signed-off-by: Alex Boten <[email protected]>
1 parent a0536ce commit 62200e0

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

.github/workflows/release-layer-collector.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,27 @@ jobs:
4949
- amd64
5050
- arm64
5151
aws_region:
52-
# - ap-northeast-1
53-
# - ap-northeast-2
54-
# - ap-south-1
55-
# - ap-southeast-1
56-
# - ap-southeast-2
57-
# - ca-central-1
58-
# - eu-central-1
59-
# - eu-north-1
60-
# - eu-west-1
61-
# - eu-west-2
62-
# - eu-west-3
63-
# - sa-east-1
64-
# - us-east-1
65-
# - us-east-2
52+
- ap-northeast-1
53+
- ap-northeast-2
54+
- ap-south-1
55+
- ap-southeast-1
56+
- ap-southeast-2
57+
- ca-central-1
58+
- eu-central-1
59+
- eu-north-1
60+
- eu-west-1
61+
- eu-west-2
62+
- eu-west-3
63+
- sa-east-1
64+
- us-east-1
65+
- us-east-2
6666
- us-west-1
6767
- us-west-2
6868
with:
6969
artifact-name: opentelemetry-collector-layer-${{ matrix.architecture }}.zip
7070
layer-name: opentelemetry-collector
7171
component-version: ${{needs.build-layer.outputs.COLLECTOR_VERSION}}
7272
architecture: ${{ matrix.architecture }}
73-
release-group: dev
73+
release-group: prod
7474
aws_region: ${{ matrix.aws_region }}
7575
secrets: inherit

RELEASE.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# OpenTelemetry Lambda Layer Release Procedure
2+
3+
The release process is almost entirely managed by [GitHub actions](https://github.com/open-telemetry/opentelemetry-lambda/tree/main/.github/workflows). To publish a new layer:
4+
5+
1. Create a new tag for the layer to publish. For example, to create a new collector layer, the following command is used:
6+
`git tag layer-collector/0.0.8`
7+
2. Push the tag to [opentelemetry-lambda](https://github.com/open-telemetry/opentelemetry-lambda) repository to trigger the publish action.

0 commit comments

Comments
 (0)