forked from openfaas/openfaas-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitlab.yml
63 lines (60 loc) · 1.42 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
provider:
name: openfaas
gateway: http://127.0.0.1:8080
functions:
system-gitlab-event:
lang: go
handler: ./gitlab-event
image: functions/gitlab-event:0.2.1
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
gitlab-push:
lang: go
handler: ./gitlab-push
image: functions/gitlab-push:0.2.4
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
gitlab-status:
lang: go
handler: ./gitlab-status
image: functions/gitlab-status:0.1.3
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