-
Notifications
You must be signed in to change notification settings - Fork 39
/
in-gitpod-config.yaml
117 lines (117 loc) · 2.52 KB
/
in-gitpod-config.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
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
werft:
baseURL: https://werft.dev
workspaceNodePathPrefix: "/mnt/disks/ssd0/builds"
gcOlderThan: "10m"
cleanupJobSpec:
terminationGracePeriodSeconds: 10
service:
webPort: 8080
grpcPort: 7777
prometheusPort: 9500
pprofPort: 6060
jobSpecRepos:
- github.com/csweichel/test-repo:werft
webReadOnly: false
apiPolicy:
enabled: true
paths:
- testdata/policy/api.rego
kubeconfig: "/home/gitpod/.kube/k3s.yaml"
executor:
preperationTimeout: 10m
totalTimeout: 60m
storage:
logsPath: "/tmp/logs"
jobsConnectionString: dbname=werft user=gitpod connect_timeout=5 sslmode=disable
jobsMaxConnections: 10
plugins:
- name: "github-repo"
type:
- repository
config:
privateKeyPath: testdata/example-app.pem
appID: 48144
installationID: 5647067
command:
- sh
- -c
- cd plugins/github-repo; go build; cd -; plugins/github-repo/github-repo $*
- -s
- name: "github-auth"
type:
- auth
config:
enableEmails: true
enableTeams: false
command:
- sh
- -c
- cd plugins/github-auth; go run main.go $*
- -s
- name: "github-integration"
type:
- integration
config:
baseURL: https://werft.dev
webhookSecret: foobar
privateKeyPath: testdata/example-app.pem
appID: 48144
installationID: 5647067
jobProtection: "default-branch"
pullRequestComments:
enabled: true
updateComment: true
requiresOrg: []
requiresWriteAccess: true
command:
- sh
- -c
- cd plugins/github-integration; go build; cd -; plugins/github-integration/github-integration $*
- -s
- name: "example"
type:
- integration
config:
emoji: 🚀
command:
- sh
- -c
- cd plugins/integration-example && go run main.go $*
- -s
- name: "webhook"
type:
- integration
config:
notifications:
- url: http://localhost:8081
contentType: application/json
filter:
- phase==done
template: '{"text": "{{ .Name }} done"}'
command:
- sh
- -c
- cd plugins/webhook && go run main.go $*
- -s
- name: "cron"
type:
- integration
config:
tasks:
- spec: "@every 10m"
repo: github.com/csweichel/test-repo:werft
command:
- sh
- -c
- cd plugins/cron && go run main.go $*
- -s
- name: "otel-exporter"
type:
- integration
config:
exporter: stdout
command:
- sh
- -c
- cd plugins/otel-exporter && go run main.go $*
- -s