-
Notifications
You must be signed in to change notification settings - Fork 26
Merge SDK and Lambda Releases #461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Merge SDK and Lambda Releases #461
Conversation
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed, right?
There was a problem hiding this comment.
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
.github/workflows/release-build.yml
Outdated
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 '"') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok here, can we align with node? Lets just do all https://github.com/aws-observability/aws-otel-python-instrumentation/blob/main/aws-opentelemetry-distro/pyproject.toml#L28-L85
There was a problem hiding this comment.
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.
Co-authored-by: Thomas Pierce <[email protected]>
There was a problem hiding this 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.
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.