This repository was archived by the owner on Aug 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,27 @@ runs:
22
22
with :
23
23
path : ${{ inputs.build_cache_paths }}
24
24
key : ${{ inputs.build_cache_key }}
25
- - name : Download and configure Sentry Lambda extension
25
+ - name : Download latest relay
26
26
shell : bash
27
27
run : |
28
- echo "Downloading Sentry Lambda extension ..."
28
+ echo "Downloading relay ..."
29
29
mkdir -p dist-serverless/extensions
30
- curl -0 --silent --output dist-serverless/extensions/sentry-lambda-extension `curl -s https://release-registry.services.sentry.io/apps/sentry-lambda-extension/latest | jq -r .files.\"sentry-lambda-extension\".url`
30
+ curl -0 --silent \
31
+ --output dist-serverless/extensions/relay \
32
+ `curl -s https://release-registry.services.sentry.io/apps/relay/latest | jq -r .files.\"relay-Linux-x86_64\".url`
33
+ chmod +x dist-serverless/extensions/relay
34
+ echo "Done downloading relay."
35
+ - name : Configure Lambda extension to start relay
36
+ shell : bash
37
+ run : |
38
+ echo "Creating start script..."
39
+ cat > dist-serverless/extensions/sentry-lambda-extension << EOT
40
+ # !/usr/bin/env bash
41
+ set -euo pipefail
42
+ ./relay run
43
+ EOT
31
44
chmod +x dist-serverless/extensions/sentry-lambda-extension
32
- echo "Done downloading Sentry Lambda extension.. ."
45
+ echo "Done creating start script ."
33
46
- name : Create Lambda Layer zip
34
47
shell : bash
35
48
run : |
You can’t perform that action at this time.
0 commit comments