-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.yml
71 lines (64 loc) · 1.87 KB
/
publish.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Description: >
Bun runtime packaged as a Lambda layer.
Parameters:
BunVersion:
Type: String
Description: The version of Bun
Default: 'latest'
Resources:
BunLayerArm64:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: BunRuntimeArm64
Description: !Sub "Bun runtime v${BunVersion} (ARM64)"
ContentUri: ./bun-layer-arm64.zip
CompatibleArchitectures:
- arm64
CompatibleRuntimes:
- provided
LicenseInfo: https://github.com/sumcoding/bun-runtime/blob/main/LICENSE
RetentionPolicy: Retain
BunLayerX64:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: BunRuntimeX64
Description: !Sub "Bun runtime v${BunVersion} (x64)"
ContentUri: ./bun-layer-x64.zip
CompatibleArchitectures:
- x86_64
CompatibleRuntimes:
- provided
LicenseInfo: https://github.com/sumcoding/bun-runtime/blob/main/LICENSE
RetentionPolicy: Retain
Outputs:
BunVersion:
Description: The version of Bun
Value: !Ref BunVersion
Export:
Name: BunVersion
BunLayerArm64:
Description: Bun runtime (ARM64)
Value: !Ref BunLayerArm64
Export:
Name: BunLayerArm64
BunLayerX64:
Description: Bun runtime(x64)
Value: !Ref BunLayerX64
Export:
Name: BunLayerX64
Metadata:
AWS::ServerlessRepo::Application:
Name: bun-runtime
Description: >
Bun runtime packaged as a Lambda layer.
Bundles Bun runtime for ARM64 and x64 architectures.
Author: Summer Phillips
SpdxLicenseId: MIT
LicenseUrl: LICENSE
ReadmeUrl: PUBLISH.md
Labels: ['layer', 'bun', 'lambda', 'bun-runtime']
HomePageUrl: https://github.com/sumcoding/bun-runtime
SemanticVersion: !Ref BunVersion
SourceCodeUrl: https://github.com/sumcoding/bun-runtime