forked from openfaas/openfaas-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitlab.yml
78 lines (75 loc) · 1.73 KB
/
gitlab.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
72
73
74
75
76
77
78
provider:
name: openfaas
gateway: http://127.0.0.1:8080
functions:
system-gitlab-event:
lang: go
handler: ./gitlab-event
image: ghcr.io/${REPO:-openfaas}/ofc-gitlab-event:${TAG:-dev}
labels:
openfaas-cloud: "1"
role: openfaas-system
com.openfaas.scale.zero: false
environment:
content_type: text/plain
validate_customers: true
validate_token: false
write_debug: true
read_debug: true
installation_tag: "openfaas-cloud"
gitlab_instance: "https://gitlab.o6s.io/"
environment_file:
- gateway_config.yml
secrets:
- gitlab-webhook-secret
- payload-secret
- gitlab-api-token
- customers
limits:
memory: 128Mi
requests:
memory: 32Mi
cpu: 50m
gitlab-push:
lang: go
handler: ./gitlab-push
image: ghcr.io/${REPO:-openfaas}/ofc-gitlab-push:${TAG:-dev}
labels:
openfaas-cloud: "1"
role: openfaas-system
com.openfaas.scale.zero: false
environment:
write_debug: true
read_debug: true
build_branch: "master"
environment_file:
- gateway_config.yml
secrets:
- payload-secret
- customers
limits:
memory: 128Mi
requests:
memory: 32Mi
cpu: 50m
gitlab-status:
lang: go
handler: ./gitlab-status
image: ghcr.io/${REPO:-openfaas}/ofc-gitlab-status:${TAG:-dev}
labels:
openfaas-cloud: "1"
role: openfaas-system
com.openfaas.scale.zero: false
environment:
write_debug: true
read_debug: true
environment_file:
- gateway_config.yml
secrets:
- gitlab-api-token
- payload-secret
limits:
memory: 128Mi
requests:
memory: 32Mi
cpu: 50m