Skip to content

Conversation

ezhang6811
Copy link
Contributor

Issue #, if available:

Description of changes:
We plan to consolidate our ADOT SDK and Lambda layer releases for future versions. This PR merges the Lambda release workflow into the main release workflow, and publishes the layer artifacts and ARN notes to the same Github release as the SDK.

The release build workflow also now includes the SDK release notes with our upstream Otel dependency versions to eliminate the manual effort needed when updating release notes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ezhang6811 ezhang6811 requested a review from a team as a code owner August 25, 2025 06:39
Comment on lines -143 to +371
id: get_sha256
- name: Rename layer file
run: |
shasum -a 256 dist/${{ env.ARTIFACT_NAME }} | sed "s|dist/||" > ${{ env.ARTIFACT_NAME }}.sha256
cp aws-opentelemetry-python-layer.zip layer.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use layer.zip as the name to identify the artifact, but its still referred to with the path it was uploaded with. See the old lambda workflow

Comment on lines 380 to 381
SDK_VERSION=$(grep "opentelemetry-sdk ==" aws-opentelemetry-distro/pyproject.toml | sed 's/.*== \([^,]*\).*/\1/' | tr -d '"')
INSTRUMENTATION_VERSION=$(grep "opentelemetry-instrumentation ==" aws-opentelemetry-distro/pyproject.toml | sed 's/.*== \([^,]*\).*/\1/' | tr -d '"')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to put all dependencies in release notes.

thpierce
thpierce previously approved these changes Sep 12, 2025
Copy link
Contributor

@thpierce thpierce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not merge until new release process is ready for release.

@ezhang6811 ezhang6811 added the skip changelog doesn't need a CHANGELOG entry label Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog doesn't need a CHANGELOG entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants