Skip to content
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

build(craft): Publish lambda layer under its own name for v7 (#12098) #12099

Merged
merged 1 commit into from
May 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,24 +144,23 @@ targets:
id: '@sentry/node-experimental'
includeNames: /^sentry-node-experimental-\d.*\.tgz$/

# NOTE: Lambda layer releasing was turned off for v7, because AWS lambda versioning is linear, meaning the version number is always increased by 1 for each release.
# Since this would make it impossible for us to communicate to people which layer version corresponds to which SDK version,
# we will simply not publish lambda layers for v7 any longer. The latest released lambda layer for v7 was 235.
# NOTE: We publish the v7 layer under its own name so people on v7 can still get patches
# whenever we release a new v7 version—otherwise we would overwrite the current major lambda layer.

# AWS Lambda Layer target
# - name: aws-lambda-layer
# includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha)\.\d+)?\.zip$/
# layerName: SentryNodeServerlessSDK
# compatibleRuntimes:
# - name: node
# versions:
# - nodejs10.x
# - nodejs12.x
# - nodejs14.x
# - nodejs16.x
# - nodejs18.x
# - nodejs20.x
# license: MIT
- name: aws-lambda-layer
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha)\.\d+)?\.zip$/
layerName: SentryNodeServerlessSDKv7
compatibleRuntimes:
- name: node
versions:
- nodejs10.x
- nodejs12.x
- nodejs14.x
- nodejs16.x
- nodejs18.x
- nodejs20.x
license: MIT

# CDN Bundle Target
- name: gcs
Expand Down
Loading