Skip to content

Commit 6c43114

Browse files
Remove federation from origin
1 parent c446b8e commit 6c43114

File tree

4 files changed

+6
-41
lines changed

4 files changed

+6
-41
lines changed

hack/lib/constants.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ readonly OS_BINARY_RELEASE_CLIENT_EXTRA=(
106106
function os::build::get_product_vars() {
107107
export OS_BUILD_LDFLAGS_IMAGE_PREFIX="${OS_IMAGE_PREFIX:-"openshift/origin"}"
108108
export OS_BUILD_LDFLAGS_DEFAULT_IMAGE_STREAMS="${OS_BUILD_LDFLAGS_DEFAULT_IMAGE_STREAMS:-"centos7"}"
109-
export OS_BUILD_LDFLAGS_FEDERATION_SERVER_IMAGE_NAME="${OS_BUILD_LDFLAGS_FEDERATION_SERVER_IMAGE_NAME:-"${OS_BUILD_LDFLAGS_IMAGE_PREFIX}-federation"}"
110-
export OS_BUILD_LDFLAGS_FEDERATION_ETCD_IMAGE="${OS_BUILD_LDFLAGS_FEDERATION_ETCD_IMAGE:-"quay.io/coreos/etcd:v3.1.7"}"
111109
}
112110

113111
# os::build::ldflags calculates the -ldflags argument for building OpenShift
@@ -354,11 +352,10 @@ function os::build::images() {
354352
( os::build::image "${tag_prefix}-template-service-broker" images/template-service-broker ) &
355353

356354
# images that depend on "${tag_prefix}-base"
357-
( os::build::image "${tag_prefix}" images/origin ) &
358-
( os::build::image "${tag_prefix}-egress-router" images/egress/router ) &
359-
( os::build::image "${tag_prefix}-egress-http-proxy" images/egress/http-proxy ) &
360-
( os::build::image "${tag_prefix}-egress-dns-proxy" images/egress/dns-proxy ) &
361-
( os::build::image "${tag_prefix}-federation" images/federation ) &
355+
( os::build::image "${tag_prefix}" images/origin ) &
356+
( os::build::image "${tag_prefix}-egress-router" images/egress/router ) &
357+
( os::build::image "${tag_prefix}-egress-http-proxy" images/egress/http-proxy ) &
358+
( os::build::image "${tag_prefix}-egress-dns-proxy" images/egress/dns-proxy ) &
362359

363360
for i in `jobs -p`; do wait $i; done
364361

images/federation/Dockerfile

Lines changed: 0 additions & 16 deletions
This file was deleted.

images/federation/OWNERS

Lines changed: 0 additions & 4 deletions
This file was deleted.

origin.spec

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@ Obsoletes: openshift-sdn-ovs < %{package_refector_version}
184184
%description sdn-ovs
185185
%{summary}
186186

187-
%package federation-services
188-
Summary: %{produce_name} Federation Services
189-
190-
%description federation-services
191-
192187
%package template-service-broker
193188
Summary: Template Service Broker
194189
%description template-service-broker
@@ -258,7 +253,7 @@ PLATFORM="$(go env GOHOSTOS)/$(go env GOHOSTARCH)"
258253
install -d %{buildroot}%{_bindir}
259254

260255
# Install linux components
261-
for bin in oc oadm openshift hypershift template-service-broker
256+
for bin in oc oadm openshift hypershift hyperkube template-service-broker
262257
do
263258
echo "+++ INSTALLING ${bin}"
264259
install -p -m 755 _output/local/bin/${PLATFORM}/${bin} %{buildroot}%{_bindir}/${bin}
@@ -281,9 +276,6 @@ install -p -m 755 _output/local/bin/darwin/amd64/oadm %{buildroot}/%{_datadir}/%
281276
install -p -m 755 _output/local/bin/windows/amd64/oadm.exe %{buildroot}/%{_datadir}/%{name}/windows/oadm.exe
282277
%endif
283278

284-
# Install federation services
285-
install -p -m 755 _output/local/bin/${PLATFORM}/hyperkube %{buildroot}%{_bindir}/
286-
287279
# Install pod
288280
install -p -m 755 _output/local/bin/${PLATFORM}/pod %{buildroot}%{_bindir}/
289281

@@ -300,8 +292,7 @@ for cmd in \
300292
openshift-extract-image-content \
301293
openshift-f5-router \
302294
openshift-recycle \
303-
openshift-router \
304-
origin
295+
openshift-router
305296
do
306297
ln -s openshift %{buildroot}%{_bindir}/$cmd
307298
done
@@ -476,7 +467,4 @@ if [ "$1" -eq 0 ] ; then
476467
/usr/sbin/%{name}-docker-excluder unexclude
477468
fi
478469

479-
%files federation-services
480-
%{_bindir}/hyperkube
481-
482470
%changelog

0 commit comments

Comments
 (0)