This repository was archived by the owner on Feb 14, 2023. It is now read-only.
File tree 1 file changed +52
-0
lines changed
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1
1
resources :
2
+ # Deplab is a tool to annotate Docker images with additional metadata, such
3
+ # as SHA of the source code used to build an image, the list of used packages
4
+ # in the image, etc.
5
+ - name : deplab-task
6
+ type : docker-image
7
+ icon : docker
8
+ source :
9
+ repository : dev.registry.pivotal.io/navcon/deplab-task
10
+ tag : dev
11
+
12
+ password : ((pivotal_cf_networking_pivnet_password))
13
+
14
+ - name : gcr-deplab-task
15
+ type : docker-image
16
+ icon : docker
17
+ source :
18
+ repository : gcr.io/cf-routing/cf-k8s-networking/gcr-deplab-task
19
+ username : _json_key
20
+ password : ((shared_gcp_account_creds))
21
+
22
+ - name : annotate-image
23
+ type : docker-image
24
+ icon : docker
25
+ source :
26
+ repository : gcr.io/cf-routing/cf-k8s-networking/annotate
27
+ username : _json_key
28
+ password : ((shared_gcp_account_creds))
29
+
2
30
- name : k8s-deploy-image
3
31
type : docker-image
4
32
icon : docker
@@ -84,6 +112,30 @@ resources:
84
112
password : ((dockerhub_public.password))
85
113
86
114
jobs :
115
+ - name : build-annotate-image
116
+ plan :
117
+ - in_parallel :
118
+ - get : deplab-task
119
+ trigger : true
120
+ params :
121
+ save : true
122
+ - get : cf-k8s-networking
123
+ - get : cf-k8s-networking-ci
124
+ - get : cf-k8s-networking-docker-images
125
+ trigger : true
126
+ # TODO(ck,mm): this is a hack. We can't figure out how to pull from deplabs
127
+ # actual registry, so we copy the image into our own registry first, then
128
+ # use the copy as the source for our new annotate image
129
+ - put : gcr-deplab-task
130
+ params :
131
+ tag_as_latest : true
132
+ load : deplab-task
133
+ - put : annotate-image
134
+ params :
135
+ build : cf-k8s-networking-docker-images/ci/dockerfiles/annotate
136
+ tag_as_latest : true
137
+
138
+
87
139
- name : build-k8s-deploy-image
88
140
plan :
89
141
- in_parallel :
You can’t perform that action at this time.
0 commit comments