Skip to content

Commit

Permalink
update collector workflow to publish a prod layer (#678)
Browse files Browse the repository at this point in the history
Also adding a fairly minimal release document.

---------

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten authored May 4, 2023
1 parent a0536ce commit 62200e0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release-layer-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,27 @@ jobs:
- amd64
- arm64
aws_region:
# - ap-northeast-1
# - ap-northeast-2
# - ap-south-1
# - ap-southeast-1
# - ap-southeast-2
# - ca-central-1
# - eu-central-1
# - eu-north-1
# - eu-west-1
# - eu-west-2
# - eu-west-3
# - sa-east-1
# - us-east-1
# - us-east-2
- ap-northeast-1
- ap-northeast-2
- ap-south-1
- ap-southeast-1
- ap-southeast-2
- ca-central-1
- eu-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- sa-east-1
- us-east-1
- us-east-2
- us-west-1
- us-west-2
with:
artifact-name: opentelemetry-collector-layer-${{ matrix.architecture }}.zip
layer-name: opentelemetry-collector
component-version: ${{needs.build-layer.outputs.COLLECTOR_VERSION}}
architecture: ${{ matrix.architecture }}
release-group: dev
release-group: prod
aws_region: ${{ matrix.aws_region }}
secrets: inherit
7 changes: 7 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# OpenTelemetry Lambda Layer Release Procedure

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:

1. Create a new tag for the layer to publish. For example, to create a new collector layer, the following command is used:
`git tag layer-collector/0.0.8`
2. Push the tag to [opentelemetry-lambda](https://github.com/open-telemetry/opentelemetry-lambda) repository to trigger the publish action.

0 comments on commit 62200e0

Please sign in to comment.