-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbump-bosh-releases.yml
214 lines (199 loc) · 5.81 KB
/
bump-bosh-releases.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
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
---
resource_types:
- name: gcs
type: docker-image
source:
repository: frodenas/gcs-resource
- name: bosh-deployment
type: docker-image
source:
repository: cloudfoundry/bosh-deployment-resource
resources:
- name: git-kubo-ci
type: git
source:
uri: https://github.com/cloudfoundry-incubator/kubo-ci
branch: ((kubo-ci-branch))
- name: git-kubo-deployment
type: git
source:
uri: [email protected]:cloudfoundry-incubator/kubo-deployment.git
branch: ((kubo-deployment.branch))
private_key: ((git-ssh-key.private_key))
- name: cfcr-etcd-release
type: bosh-io-release
source:
repository: cloudfoundry-incubator/cfcr-etcd-release
- name: bpm-release
type: bosh-io-release
source:
repository: cloudfoundry/bpm-release
- name: docker-boshrelease
type: bosh-io-release
source:
repository: cloudfoundry-incubator/docker-boshrelease
- name: gcs-precompiled-cfcr-etcd-untested
type: gcs
source:
json_key: ((gcs-json-key))
bucket: kubo-precompiled-releases
regexp: cfcr-etcd-(.*).tgz
- name: gcs-precompiled-docker-untested
type: gcs
source:
json_key: ((gcs-json-key))
bucket: kubo-precompiled-releases
regexp: docker-.*-ubuntu-.*-(.*-.*-.*)
- name: gcs-precompiled-bpm-untested
type: gcs
source:
json_key: ((gcs-json-key))
bucket: kubo-precompiled-releases
regexp: bpm-(.*).tgz
- name: compilation-deployment
type: bosh-deployment
source:
deployment: compilation-default
skip_check: true
- name: gcs-source-json
type: gcs
source:
json_key: ((gcs-json-key))
bucket: kubo-pipeline-store
versioned_file: gaffer-env/source.json
- name: gcs-compilation-source-json
type: gcs
source:
json_key: ((gcs-json-key))
bucket: kubo-pipeline-store
versioned_file: gcp-compilation-env/source.json
jobs:
- name: bump-bpm-release
plan:
- in_parallel:
- get: git-kubo-ci
- get: git-kubo-deployment
- get: gcs-source-json
- get: bpm-release
trigger: true
- task: bump-boshrelease
file: git-kubo-ci/tasks/bump-boshrelease.yml
input_mapping:
boshrelease: bpm-release
params:
RELEASE_NAME: bpm
- task: generate-compilation-manifest
file: git-kubo-ci/tasks/generate-compilation-manifest.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "bpm"
- put: compilation-deployment
params:
manifest: compilation-manifest/manifest.yml
source_file: gcs-compilation-source-json/source.json
- task: export
file: git-kubo-ci/tasks/export-release.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "bpm"
- put: gcs-precompiled-bpm-untested
params:
file: compiled-releases/bpm-*.tgz
- task: bump-precompiled-releases-in-manifest
file: git-kubo-ci/tasks/bump-precompiled-releases-in-manifest.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "bpm"
- put: git-kubo-deployment
params:
repository: git-kubo-deployment-output
- name: bump-etcd-release
plan:
- in_parallel:
- get: git-kubo-ci
- get: git-kubo-deployment
- get: gcs-source-json
- get: cfcr-etcd-release
trigger: true
- task: bump-etcd-release
file: git-kubo-ci/tasks/bump-boshrelease.yml
input_mapping:
boshrelease: cfcr-etcd-release
params:
RELEASE_NAME: cfcr-etcd
- task: generate-compilation-manifest
file: git-kubo-ci/tasks/generate-compilation-manifest.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "cfcr-etcd"
- put: compilation-deployment
params:
manifest: compilation-manifest/manifest.yml
source_file: gcs-compilation-source-json/source.json
- task: export
file: git-kubo-ci/tasks/export-release.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "cfcr-etcd"
- put: gcs-precompiled-cfcr-etcd-untested
params:
file: compiled-releases/cfcr-etcd-*.tgz
- task: bump-precompiled-releases-in-manifest
file: git-kubo-ci/tasks/bump-precompiled-releases-in-manifest.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "cfcr-etcd"
- put: git-kubo-deployment
params:
repository: git-kubo-deployment-output
- name: bump-docker-boshrelease
plan:
- in_parallel:
- get: git-kubo-ci
- get: git-kubo-deployment
- get: gcs-source-json
- get: gcs-compilation-source-json
- get: docker-boshrelease
trigger: true
- task: bump-kubo-docker
file: git-kubo-ci/tasks/bump-boshrelease.yml
input_mapping:
boshrelease: docker-boshrelease
params:
RELEASE_NAME: docker
- task: generate-compilation-manifest
file: git-kubo-ci/tasks/generate-compilation-manifest.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "docker"
- put: compilation-deployment
params:
manifest: compilation-manifest/manifest.yml
source_file: gcs-compilation-source-json/source.json
- task: export
file: git-kubo-ci/tasks/export-release.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
gcs-source-json: gcs-compilation-source-json
params:
RELEASE_LIST: "docker"
JOBS_LIST: containers docker flannel sanity-tests swarm-agent swarm-manager
- put: gcs-precompiled-docker-untested
params:
file: compiled-releases/docker-*.tgz
- task: bump-precompiled-releases-in-manifest
file: git-kubo-ci/tasks/bump-precompiled-releases-in-manifest.yml
input_mapping:
git-kubo-deployment: git-kubo-deployment-output
params:
RELEASE_LIST: "docker"
- put: git-kubo-deployment
params:
repository: git-kubo-deployment-output