This repository was archived by the owner on Feb 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
216 lines (213 loc) · 6.45 KB
/
values.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# Override configuration from https://github.com/jenkins-x/jenkins-x-platform/blob/master/jenkins-x-platform/values.yaml
expose:
config:
domain: dev.nuxeo.com
exposer: Ingress
http: true
tlsacme: true
tlsSecretName: $NAMESPACE-tls
urltemplate: '"{{.Service}}.{{.Namespace}}.{{.Domain}}"'
gcactivities:
role:
enabled: true
rules:
- apiGroups:
- jenkins.io
resources:
- pipelineactivities
verbs:
- list
- delete
- apiGroups:
- jenkins.io
resources:
- environments
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- jenkins.io
resources:
- plugins
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
- services
verbs:
- get
- list
- apiGroups:
- apps
resources:
- deployments
verbs:
- get
- apiGroups:
- tekton.dev
resources:
- pipelineruns
verbs:
- get
- list
- watch
- delete
jenkins:
Master:
Image: $INTERNAL_DOCKER_REGISTRY/nuxeo/webui-jenkinsx
ImageTag: 0.0.5
Persistence:
volumes:
- name: jenkins-secrets
secret:
secretName: jenkins-secrets
mounts:
- name: jenkins-secrets
readOnly: true
mountPath: /run/secrets/jenkins
Servers:
Global:
EnvVars:
DRY_RUN: $DRY_RUN
PUBLIC_DOCKER_REGISTRY: docker.packages.nuxeo.com
PRIVATE_DOCKER_REGISTRY: docker-private.packages.nuxeo.com
Agent:
PodTemplates:
Nodejs-Nuxeo:
Name: nodejs-nuxeo
# ServiceAccount: fooo
Label: jenkins-nodejs-nuxeo
DevPodPorts: 9229, 3000, 8080
volumes:
- type: Secret
secretName: jenkins-docker-cfg
mountPath: /home/jenkins/.docker
EnvVars:
JENKINS_URL: http://jenkins:8080
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: nuxeo-web-ui-jx-bot
GIT_COMMITTER_NAME: nuxeo-web-ui-jx-bot
XDG_CONFIG_HOME: /home/jenkins
DOCKER_CONFIG: /home/jenkins/.docker/
ServiceAccount: jenkins
NodeSelector:
team: ui
Containers:
Jnlp:
Image: jenkinsci/jnlp-slave:3.26-1-alpine
RequestCpu: "100m"
RequestMemory: "128Mi"
Args: "${computer.jnlpmac} ${computer.name}"
Nodejs:
Image: gcr.io/jenkinsxio/builder-nodejs:0.1.815
Privileged: true
RequestCpu: "400m"
RequestMemory: "512Mi"
LimitCpu: "2"
LimitMemory: "2048Mi"
# You may want to change this to true while testing a new image
# AlwaysPullImage: true
Command: "/bin/sh -c"
Args: "cat"
Tty: true
Maven-Nodejs-Nuxeo:
Name: maven-nodejs-nuxeo
# ServiceAccount: fooo
Label: jenkins-maven-nodejs-nuxeo
DevPodPorts: 9229, 3000, 8080, 5005
volumes:
- type: Secret
secretName: jenkins-maven-settings
mountPath: /root/.m2/
- type: Secret
secretName: jenkins-docker-cfg
mountPath: /home/jenkins/.docker
- type: Secret
secretName: jenkins-release-gpg
mountPath: /home/jenkins/.gnupg
EnvVars:
_JAVA_OPTIONS: "-XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90"
JENKINS_URL: http://jenkins:8080
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: nuxeo-web-ui-jx-bot
GIT_COMMITTER_NAME: nuxeo-web-ui-jx-bot
XDG_CONFIG_HOME: /home/jenkins
DOCKER_CONFIG: /home/jenkins/.docker/
# lets disable the noisy download artifact logging messages
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
ServiceAccount: jenkins
NodeSelector:
team: ui
Containers:
Jnlp:
Image: jenkinsci/jnlp-slave:3.26-1-alpine
RequestCpu: "100m"
RequestMemory: "128Mi"
Args: "${computer.jnlpmac} ${computer.name}"
MavenNodejs:
Image: $DOCKER_REGISTRY/nuxeo/builder-maven-nodejs-chrome:latest
Privileged: true
# Bump request and limits for functional tests
RequestCpu: "4"
RequestMemory: "3Gi"
LimitCpu: "6"
LimitMemory: "4Gi"
# You may want to change this to true while testing a new image
# AlwaysPullImage: true
Command: "/bin/sh -c"
Args: "cat"
Tty: true
JX-base:
# fix jx create devpod -l jx-base
DevPodPorts: 9999
volumes:
- type: Secret
secretName: jenkins-release-gpg
mountPath: /home/jenkins/.gnupg
EnvVars:
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: [email protected]
GIT_AUTHOR_NAME: nuxeo-web-ui-jx-bot
GIT_COMMITTER_NAME: nuxeo-web-ui-jx-bot
NodeSelector:
team: ui
PipelineSecrets:
NPMToken: $NPM_TOKEN
DockerConfig: |-
$DOCKER_REGISTRY_CONFIG
MavenSettingsXML: |-
<settings>
<!-- sets the local maven repository outside of the ~/.m2 folder for easier mounting of secrets and repo -->
<localRepository>${user.home}/.mvnrepository</localRepository>
<!-- lets disable the download progress indicator that fills up logs -->
<interactiveMode>false</interactiveMode>
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>external:*</mirrorOf>
<url>https://packages.nuxeo.com/repository/maven-internal/</url>
</mirror>
</mirrors>
<servers>
<server>
<id>nexus</id>
<username>deploymentJX</username>
<password>$PACKAGES_PASSWORD</password>
</server>
</servers>
</settings>
docker-registry:
persistence:
size: 300Gi
nexus:
persistence:
size: 300Gi