forked from GoogleChrome/lighthouse-ci
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.estafette.yaml
74 lines (66 loc) · 2.2 KB
/
.estafette.yaml
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
labels:
app: lhci-server
team: aurora
language: nodejs
env:
CONFIG_FILE: estafette.secret(GAP4TP5N72Pwguwc.fDnhd6KTaEFT5_ph1vgTq9iblQwQaH-8I2BWmqc8eYFZM4a2CL6k2x0GtZehHlpRQs3hdbK9Bkm2DDkk6sI3x7H9slqR46UrZhFlUY7q8rfnr-DhuL3Bvn7Hjs8MwXY3w-paDst1eTveg-3Dmz8hMbV4sBMEuQZUF_t60U-INJoXQYtFzfhJlrCIW3q2b_ZbUbwXjf51bP8iKWFfKABJrpftlcqAVC-TOxHloaGJgdYPJxD-laaOgqZvZZEpmstsnU8qDbrn_pDOIQT_OlG4US7H2lrKtYWU0jgarWRUQWAqBEaCSlsFwGAHK3GDyUZ2vPmPg3W8RaPVmwVtX1zAUD94QFjdVDlhfZR_P27xwhXj61rZfZnAfsIX98ywqKzm18rhxv3BTsMgTrhY7qZDil_wbjpmnnEKqvx0tOEdr4OmsLt8wBl8my0Bmu2Cl-vQ.fif6eJ6yDEhd2ZwD7dEWien1nQUtTkeoGEx1x5MFXMd6M6PpP7-KyScg2ZOBfW5P-ndVa32y7B6fNjQk4A==)
stages:
bake:
image: extensions/docker:stable
action: build
inline: |
FROM node:16-buster-slim
WORKDIR /usr/src/lhci
COPY /docs/recipes/docker-server/package.json .
RUN echo $CONFIG_FILE | base64 -d > lighthouserc.json
RUN npm install
EXPOSE 9001
CMD [ "npm", "start" ]
repositories:
- eu.gcr.io/travix-com
push:
image: extensions/docker:stable
action: push
repositories:
- eu.gcr.io/travix-com
releases:
tooling-common:
clone: true
stages:
deploy:
image: extensions/gke:stable
visibility: private
disableServiceAccountKeyRotation: true
namespace: apps
useGoogleCloudCredentials: true
probeService: false
container:
repository: eu.gcr.io/travix-com
port: 9001
cpu:
request: 500m
limit: 500m
memory:
request: 1Gi
limit: 1Gi
liveness:
path: /version
readiness:
path: /version
sidecars:
- type: cloudsqlproxy
env:
CORS_ALLOWED_ORIGINS: "*"
CORS_MAX_AGE: "86400"
cpu:
request: "10m"
limit: "50m"
memory:
request: "10Mi"
limit: "50Mi"
dbinstanceconnectionname: tooling-common-rsc-gvwzh:europe-west1:lighthouse
sqlproxyport: 5432
hosts:
- lhci-server.travix.com
internalhosts:
- lhci-server.internal.travix.io