-
Notifications
You must be signed in to change notification settings - Fork 26
/
vapor.yml
37 lines (33 loc) · 1.4 KB
/
vapor.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
id: [Your-Vapor-Project-Id-Goes-Here]
name: phantom-analyzer
separate-vendor: true
environments:
production:
memory: 1024
cli-memory: 2048
cli-timeout: 180
warm: 500
build:
- 'composer install --no-dev --classmap-authoritative'
layers:
# LambCI custom node layer (https://github.com/lambci/node-custom-lambda)
- arn:aws:lambda:us-east-1:553035198032:layer:nodejs12:33
# Vapor PHP Layer (node layer overwrites the runtime, so this has to come afterwards)
- vapor:php-7.4
# Compressed Chromium layer (https://github.com/shelfio/chrome-aws-lambda-layer)
- arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:8
staging:
memory: 1024
cli-memory: 1024
cli-timeout: 180
build:
- 'composer install --classmap-authoritative'
# deploy:
# - 'php artisan phantom:cache_spy_pixels'
layers:
# LambCI custom node layer (https://github.com/lambci/node-custom-lambda)
- arn:aws:lambda:us-east-1:553035198032:layer:nodejs12:33
# Vapor PHP Layer (node layer overwrites the runtime, so this has to come afterwards)
- vapor:php-7.4
# Compressed Chromium layer (https://github.com/shelfio/chrome-aws-lambda-layer)
- arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:8