-
Notifications
You must be signed in to change notification settings - Fork 516
/
jenkins-x.yml
73 lines (71 loc) · 2.57 KB
/
jenkins-x.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
buildPack: none
pipelineConfig:
pipelines:
release:
pipeline:
agent:
image: docker.io/rawlingsj80/builder-go:wip71
stages:
- name: release
steps:
- name: cert-manager-crds
dir: /workspace/source
command: kubectl
args: ['apply', '--wait', '--validate=true', '-f', 'https://raw.githubusercontent.com/jetstack/cert-manager/release-0.6/deploy/manifests/00-crds.yaml']
env:
- name: DEPLOY_NAMESPACE
value: cert-manager
- name: jx-crds
command: jx
args: ['upgrade','crd']
- name: kube-system
dir: /workspace/source/systems/jxing
command: jx
args: ['step','helm','apply', '--remote', '--name', 'jxing']
env:
- name: DEPLOY_NAMESPACE
value: kube-system
- name: cert-manager
dir: /workspace/source/systems/cm
command: jx
args: ['step','helm','apply', '--remote', '--name', 'jx']
env:
- name: DEPLOY_NAMESPACE
value: cert-manager
- name: helm-cluster-values
dir: /workspace/source/env
command: jx
args: ['step','create','install', 'values', '-b']
env:
- name: DEPLOY_NAMESPACE
value: jx
# TODO only run the following in bootstrap mode!
- name: helm-populate-params
dir: /workspace/source/env
command: jx
args: ['step', 'create', 'values', '--name', 'parameters']
env:
- name: DEPLOY_NAMESPACE
value: jx
- name: helm-build
dir: /workspace/source/env
command: jx
args: ['step','helm','apply', '--remote', '--name', 'jenkins-x']
env:
- name: DEPLOY_NAMESPACE
value: jx
- name: verify-install
dir: /workspace/source/env
command: jx
args: ['step','verify','install']
pullRequest:
pipeline:
agent:
image: docker.io/rawlingsj80/builder-go:wip70
stages:
- name: release
steps:
- name: helm-build
dir: /workspace/source/env
command: make
args: ['build']