-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathriff-raff.yaml
More file actions
190 lines (166 loc) · 4.39 KB
/
riff-raff.yaml
File metadata and controls
190 lines (166 loc) · 4.39 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
stacks:
- media-service
regions:
- eu-west-1
allowedStages:
- TEST
- PROD
templates:
autoscaling:
type: autoscaling
parameters:
dependencies:
- app-ami-update
usage-autoscaling:
type: autoscaling
app: usage
contentDirectory: usage
parameters:
dependencies:
- app-ami-update
usage-deploy:
template: usage-autoscaling
actions:
- deploy
dependencies:
- usage
deployments:
auth:
template: autoscaling
collections:
template: autoscaling
cropper:
template: autoscaling
image-loader:
template: autoscaling
image-loader-projection:
template: autoscaling
kahuna:
template: autoscaling
leases:
template: autoscaling
media-api:
template: autoscaling
metadata-editor:
template: autoscaling
thrall:
template: autoscaling
# Usage is confusingly a single artifact running twice with different configuration
usage:
template: usage-autoscaling
actions:
- uploadArtifacts
usage-api:
template: usage-deploy
usage-stream:
template: usage-deploy
app: usage-stream
imgops:
template: autoscaling
actions:
- deploy
app-ami-update:
type: ami-cloudformation-parameter
parameters:
cloudFormationStackByTags: false
cloudFormationStackName: media-service
prependStackToCloudFormationStackName: false
amiParametersToTags:
AmiId:
BuiltBy: amigo
AmigoStage: PROD
Recipe: editorial-tools-jammy-java11
ImagingAmiId:
BuiltBy: amigo
AmigoStage: PROD
Recipe: grid-imaging-jammy-java11
ImgOpsAmiId:
BuiltBy: amigo
AmigoStage: PROD
Recipe: grid-imgops-jammy
elasticsearch-ami-update:
type: ami-cloudformation-parameter
parameters:
cloudFormationStackByTags: false
cloudFormationStackName: media-service-elasticsearch
prependStackToCloudFormationStackName: false
amiEncrypted: true
amiParametersToTags:
ElasticSearchAMI:
BuiltBy: amigo
AmigoStage: PROD
Recipe: grid-elasticsearch-8
image-counter-lambda:
type: aws-lambda
parameters:
prefixStack: false
fileName: image-counter-lambda.zip
functionNames:
- "image-counter-lambda-function-"
lambda-upload-eu-west-1-image-embedder-lambda-image-embedder-lambda:
type: aws-lambda
regions:
- eu-west-1
app: image-embedder-lambda
contentDirectory: image-embedder-lambda
parameters:
bucketSsmLookup: true
lookupByTags: true
fileName: image-embedder.zip
actions:
- uploadLambda
lambda-upload-eu-west-1-image-embedder-lambda-image-embedder-backfill-lambda:
type: aws-lambda
stacks:
- media-service
regions:
- eu-west-1
app: image-embedder-backfill-lambda
contentDirectory: image-embedder-backfill-lambda
parameters:
bucketSsmLookup: true
lookupByTags: true
fileName: image-embedder.zip
actions:
- uploadLambda
cfn-eu-west-1-image-embedder-lambda-image-embedder-lambda:
type: cloud-formation
regions:
- eu-west-1
app: image-embedder-lambda
contentDirectory: cdk.out
parameters:
templateStagePaths:
PROD: ImageEmbedderLambda-euwest-1-PROD.template.json
TEST: ImageEmbedderLambda-euwest-1-TEST.template.json
dependencies:
- lambda-upload-eu-west-1-image-embedder-lambda-image-embedder-lambda
- lambda-upload-eu-west-1-image-embedder-lambda-image-embedder-backfill-lambda
lambda-update-eu-west-1-image-embedder-lambda-image-embedder-lambda:
type: aws-lambda
regions:
- eu-west-1
app: image-embedder-lambda
contentDirectory: image-embedder-lambda
parameters:
bucketSsmLookup: true
lookupByTags: true
fileName: image-embedder.zip
actions:
- updateLambda
dependencies:
- cfn-eu-west-1-image-embedder-lambda-image-embedder-lambda
lambda-update-eu-west-1-image-embedder-lambda-image-embedder-backfill-lambda:
type: aws-lambda
regions:
- eu-west-1
app: image-embedder-backfill-lambda
contentDirectory: image-embedder-backfill-lambda
parameters:
bucketSsmLookup: true
lookupByTags: true
fileName: image-embedder.zip
actions:
- updateLambda
dependencies:
- cfn-eu-west-1-image-embedder-lambda-image-embedder-lambda