-
Notifications
You must be signed in to change notification settings - Fork 652
Expand file tree
/
Copy path.craft.yml
More file actions
49 lines (49 loc) · 1.72 KB
/
Copy path.craft.yml
File metadata and controls
49 lines (49 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
minVersion: 2.28.0
preReleaseCommand: bash scripts/bump-version.sh
targets:
- name: pypi
includeNames: /^sentry[_\-]sdk.*$/
- name: gh-pages
- name: registry
sdks:
pypi:sentry-sdk:
- name: github
- name: aws-lambda-layer
# This regex that matches the version is taken from craft:
# https://github.com/getsentry/craft/blob/8d77c38ddbe4be59f98f61b6e42952ca087d3acd/src/utils/version.ts#L11
includeNames: /^sentry-python-serverless-\bv?(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(?:-?([\da-z-]+(?:\.[\da-z-]+)*))?(?:\+([\da-z-]+(?:\.[\da-z-]+)*))?\b.zip$/
# If we ever want per-major layer names like JavaScript's
# SentryNodeServerlessSDKv10:84, craft supports {{{major}}} templating.
layerName: SentryPythonServerlessSDK
compatibleRuntimes:
- name: python
versions:
# The number of versions must be, at most, the maximum number of
# runtimes AWS Lambda permits for a layer (currently 15).
# On the other hand, AWS Lambda does not support every Python runtime.
# The supported runtimes are available in the following link:
# https://docs.aws.amazon.com/lambda/latest/dg/lambda-python.html
- python3.7
- python3.8
- python3.9
- python3.10
- python3.11
- python3.12
- python3.13
- python3.14
compatibleArchitectures:
# Both x86_64 and arm64 are supported by default; explicitly listing for better visibility
- x86_64
- arm64
license: MIT
- name: sentry-pypi
internalPypiRepo: getsentry/pypi
artifactProvider:
name: github
config:
artifacts:
CI:
- 'artifact-*'
changelog:
filePath: CHANGELOG.md
policy: auto