-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbump-stemcell.yml
118 lines (108 loc) · 2.94 KB
/
bump-stemcell.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
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: stemcell
type: bosh-io-stemcell
source:
name: bosh-google-kvm-ubuntu-xenial-go_agent
- name: git-kubo-ci
type: git
source:
uri: [email protected]:cloudfoundry-incubator/kubo-ci
branch: master
private_key: ((git-ssh-key.private_key))
- name: git-kubo-deployment
type: git
source:
uri: [email protected]:cloudfoundry-incubator/kubo-deployment.git
branch: develop
private_key: ((git-ssh-key.private_key))
ignore_paths:
- 'LICENSE'
- 'NOTICE'
- 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-(.*).tgz
- 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: source.json
jobs:
- name: bump-stemcell
plan:
- in_parallel:
- get: git-kubo-ci
- get: git-kubo-deployment
- get: gcs-source-json
- get: stemcell
resource: stemcell
trigger: true
- task: bump-stemcell
file: git-kubo-ci/tasks/bump-stemcell.yml
- 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 cfcr-etcd bpm"
- put: compilation-deployment
params:
stemcells:
- stemcell/stemcell.tgz
manifest: compilation-manifest/manifest.yml
source_file: gcs-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: "docker cfcr-etcd bpm"
- in_parallel:
- put: gcs-precompiled-cfcr-etcd-untested
params:
file: compiled-releases/cfcr-etcd-*.tgz
- put: gcs-precompiled-docker-untested
params:
file: compiled-releases/docker-*.tgz
- 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: "docker cfcr-etcd bpm"
- put: git-kubo-deployment
params:
merge: true
repository: git-kubo-deployment-output