the default GitOps source repository for booting up Jenkins X
Révision | f8fcc0707c7e6736484950ad2dd9d96456cdd82b (tree) |
---|---|
l'heure | 2019-08-30 00:51:08 |
Auteur | James Strachan <james.strachan@gmai...> |
Commiter | James Strachan |
fix: support jenkins server as a webhook handler
see https://github.com/jenkins-x/jx/issues/5261 for more
@@ -1 +1,5 @@ | ||
1 | -enabled: false | |
\ No newline at end of file | ||
1 | +{{- if eq .Requirements.webhook "jenkins" }} | |
2 | +enabled: true | |
3 | +{{- else }} | |
4 | +enabled: false | |
5 | +{{- end }} |
@@ -13,7 +13,11 @@ chartmuseum: | ||
13 | 13 | BASIC_AUTH_PASS: "{{ .Parameters.adminUser.password }}" |
14 | 14 | |
15 | 15 | nexus: |
16 | - defaultAdminPassword: "{{ .Parameters.adminUser.password }}" | |
16 | + defaultAdminPassword: "{{ .Parameters.adminUser.password }}" | |
17 | + | |
18 | +jenkins: | |
19 | + Master: | |
20 | + AdminPassword: "{{ .Parameters.adminUser.password }}" | |
17 | 21 | |
18 | 22 | PipelineSecrets: |
19 | 23 | GitCreds: https://{{ .Parameters.pipelineUser.username }}:{{ .Parameters.pipelineUser.token }}@{{ trimPrefix "https://" .Requirements.cluster.gitServer | default "https://github.com" | }} |
@@ -2,4 +2,4 @@ | ||
2 | 2 | enabled: true |
3 | 3 | {{- else }} |
4 | 4 | enabled: false |
5 | -{{- end }} | |
\ No newline at end of file | ||
5 | +{{- end }} |
@@ -26,7 +26,7 @@ gitops: | ||
26 | 26 | gitName: {{ .Requirements.cluster.gitName | default "github" }} |
27 | 27 | server: {{ .Requirements.cluster.gitServer | default "https://github.com" }} |
28 | 28 | owner: {{ .Requirements.cluster.environmentGitOwner }} |
29 | - webhook: {{ .Requirements.webhook | default "prow" | title | quote }} | |
29 | + webhook: {{ .Requirements.webhook | default "prow" | quote }} | |
30 | 30 | {{- if eq .Requirements.cluster.gitKind "bitbucketserver" }} |
31 | 31 | gitUrlPathPrefix: "/scm" |
32 | 32 | {{- else }} |
@@ -1,3 +1,4 @@ | ||
1 | + | |
1 | 2 | { |
2 | 3 | "$id": "https:/jenkins-x.io/tests/descriptionAndTitle.schema.json", |
3 | 4 | "$schema": "http://json-schema.org/draft-07/schema#", |
@@ -0,0 +1 @@ | ||
1 | +# dummy | |
\ No newline at end of file |
@@ -1 +1,8 @@ | ||
1 | -dummy: true | |
\ No newline at end of file | ||
1 | +tekton: | |
2 | +{{- if eq .Requirements.webhook "prow" }} | |
3 | + enabled: true | |
4 | +{{- else if eq .Requirements.webhook "lighthouse" }} | |
5 | + enabled: true | |
6 | +{{- else }} | |
7 | + enabled: false | |
8 | +{{- end }} |
@@ -1,7 +1,11 @@ | ||
1 | 1 | # Override configuration from https://github.com/jenkins-x/jenkins-x-platform/blob/master/jenkins-x-platform/values.yaml |
2 | 2 | |
3 | 3 | jenkins-x-platform: |
4 | +{{- if eq .Requirements.webhook "jenkins" }} | |
5 | + dockerRegistry: "" | |
6 | +{{- else }} | |
4 | 7 | dockerRegistry: gcr.io |
8 | +{{- end }} | |
5 | 9 | |
6 | 10 | PipelineSecrets: |
7 | 11 |
@@ -18,5 +22,9 @@ jenkins-x-platform: | ||
18 | 22 | } |
19 | 23 | |
20 | 24 | docker-registry: |
25 | +{{- if eq .Requirements.webhook "jenkins" }} | |
26 | + enabled: true | |
27 | +{{- else }} | |
21 | 28 | enabled: false |
29 | +{{- end }} | |
22 | 30 |