@@ -37,7 +37,6 @@ readonly OS_IMAGE_COMPILE_TARGETS_LINUX=(
37
37
)
38
38
readonly OS_SCRATCH_IMAGE_COMPILE_TARGETS_LINUX=(
39
39
images/pod
40
- examples/hello-openshift
41
40
)
42
41
readonly OS_IMAGE_COMPILE_BINARIES=(" ${OS_SCRATCH_IMAGE_COMPILE_TARGETS_LINUX[@]##*/ } " " ${OS_IMAGE_COMPILE_TARGETS_LINUX[@]##*/ } " )
43
42
@@ -309,9 +308,10 @@ readonly -f os::build::clean_windows_versioninfo
309
308
310
309
# OS_ALL_IMAGES is the list of images built by os::build::images.
311
310
readonly OS_ALL_IMAGES=(
312
- origin
313
- origin-base
314
311
origin-pod
312
+ origin-base
313
+ origin-control-plane
314
+ origin-node
315
315
origin-deployer
316
316
origin-docker-builder
317
317
origin-keepalived-ipfailover
@@ -323,9 +323,6 @@ readonly OS_ALL_IMAGES=(
323
323
origin-egress-dns-proxy
324
324
origin-recycler
325
325
origin-template-service-broker
326
- hello-openshift
327
- openvswitch
328
- node
329
326
)
330
327
331
328
# os::build::images builds all images in this repo.
@@ -341,9 +338,6 @@ function os::build::images() {
341
338
fi
342
339
}
343
340
344
- # Link or copy image binaries to the appropriate locations.
345
- ln_or_cp " ${OS_OUTPUT_BINPATH} /linux/amd64/hello-openshift" examples/hello-openshift/bin
346
-
347
341
# determine the correct tag prefix
348
342
tag_prefix=" ${OS_IMAGE_PREFIX:- " openshift/origin" } "
349
343
@@ -352,31 +346,25 @@ function os::build::images() {
352
346
( os::build::image " ${tag_prefix} -template-service-broker" images/template-service-broker ) &
353
347
354
348
# images that depend on "${tag_prefix}-base"
355
- ( os::build::image " ${tag_prefix} " images/origin ) &
349
+ ( os::build::image " ${tag_prefix} -control-plane " images/origin ) &
356
350
( os::build::image " ${tag_prefix} -egress-router" images/egress/router ) &
357
351
( os::build::image " ${tag_prefix} -egress-http-proxy" images/egress/http-proxy ) &
358
352
( os::build::image " ${tag_prefix} -egress-dns-proxy" images/egress/dns-proxy ) &
359
353
360
354
for i in ` jobs -p` ; do wait $i ; done
361
355
362
- # images that depend on "${tag_prefix}
356
+ # images that depend on "${tag_prefix}-control-plane
363
357
( os::build::image " ${tag_prefix} -haproxy-router" images/router/haproxy ) &
364
358
( os::build::image " ${tag_prefix} -keepalived-ipfailover" images/ipfailover/keepalived ) &
365
359
( os::build::image " ${tag_prefix} -deployer" images/deployer ) &
366
360
( os::build::image " ${tag_prefix} -recycler" images/recycler ) &
367
361
( os::build::image " ${tag_prefix} -docker-builder" images/builder/docker/docker-builder ) &
368
362
( os::build::image " ${tag_prefix} -sti-builder" images/builder/docker/sti-builder ) &
369
363
( os::build::image " ${tag_prefix} -f5-router" images/router/f5 ) &
370
- ( os::build::image " openshift/ node" images/node ) &
364
+ ( os::build::image " ${tag_prefix} - node" images/node ) &
371
365
372
366
for i in ` jobs -p` ; do wait $i ; done
373
367
374
- # images that depend on "openshift/node"
375
- ( os::build::image " openshift/openvswitch" images/openvswitch ) &
376
-
377
- # extra images (not part of infrastructure)
378
- ( os::build::image " openshift/hello-openshift" examples/hello-openshift ) &
379
-
380
- for i in ` jobs -p` ; do wait $i ; done
368
+ docker tag " ${tag_prefix} -control-plane" " ${tag_prefix} "
381
369
}
382
370
readonly -f os::build::images
0 commit comments