From 1d9ffe07704003880fcaf94e9a5b20dc6750b43d Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Thu, 3 Jun 2021 00:12:23 +0300 Subject: [PATCH 1/2] ref(craft): Modernize Craft config --- .craft.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.craft.yml b/.craft.yml index 5237c9debe..8094eb047b 100644 --- a/.craft.yml +++ b/.craft.yml @@ -1,39 +1,22 @@ ---- -minVersion: "0.14.0" -github: - owner: getsentry - repo: sentry-python - +minVersion: 0.23.1 targets: - name: pypi includeNames: /^sentry[_\-]sdk.*$/ - name: github - name: gh-pages - name: registry - type: sdk - config: - canonical: pypi:sentry-sdk + sdks: + pypi:sentry-sdk: - name: aws-lambda-layer includeNames: /^sentry-python-serverless-\d+(\.\d+)*\.zip$/ 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. - # 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 - python2.7 - python3.6 - python3.7 - python3.8 license: MIT - changelog: CHANGELOG.md changelogPolicy: simple - -statusProvider: - name: github -artifactProvider: - name: github From 3be69bd53bce9dc46c38906ce5998e23f1db2bb0 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Thu, 3 Jun 2021 00:14:01 +0300 Subject: [PATCH 2/2] Add missing comments back --- .craft.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.craft.yml b/.craft.yml index 8094eb047b..e351462f72 100644 --- a/.craft.yml +++ b/.craft.yml @@ -13,6 +13,11 @@ targets: compatibleRuntimes: - name: python versions: + # The number of versions must be, at most, the maximum number of + # runtimes AWS Lambda permits for a layer. + # 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 - python2.7 - python3.6 - python3.7