Skip to content

Commit fbcf449

Browse files
Remove remaining cluster capacity links
1 parent 502777a commit fbcf449

File tree

5 files changed

+2
-48
lines changed

5 files changed

+2
-48
lines changed

hack/lib/constants.sh

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ readonly OS_GOVET_BLACKLIST=(
5959
"pkg/.*/generated/internalclientset/fake/clientset_generated.go:[0-9]+: literal copies lock value from fakePtr: github.com/openshift/origin/vendor/k8s.io/client-go/testing.Fake"
6060
"pkg/.*/generated/clientset/fake/clientset_generated.go:[0-9]+: literal copies lock value from fakePtr: github.com/openshift/origin/vendor/k8s.io/client-go/testing.Fake"
6161
"pkg/build/vendor/github.com/docker/docker/client/hijack.go:[0-9]+: assignment copies lock value to c: crypto/tls.Config contains sync.Once contains sync.Mutex"
62-
"cmd/cluster-capacity/.*"
6362
"pkg/build/builder/vendor/.*"
6463
"pkg/cmd/server/start/.*"
6564
)
@@ -170,7 +169,6 @@ function os::util::list_go_src_files() {
170169
-o -wholename './openshift.local.*' \
171170
-o -wholename './test/extended/testdata/bindata.go' \
172171
-o -wholename '*/vendor/*' \
173-
-o -wholename './cmd/cluster-capacity/*' \
174172
-o -wholename './assets/bower_components/*' \
175173
\) -prune \
176174
\) -name '*.go' | sort -u
@@ -196,7 +194,6 @@ readonly -f os::util::list_go_src_dirs
196194
# os::util::list_go_deps outputs the list of dependencies for the project.
197195
function os::util::list_go_deps() {
198196
go list -f '{{.ImportPath}}{{.Imports}}' ./pkg/... ./cmd/... | tr '[]' ' ' |
199-
grep -vE '^github.com/openshift/origin/cmd/(cluster-capacity)' |
200197
sed -e 's|github.com/openshift/origin/vendor/||g' |
201198
sed -e 's|github.com/openshift/origin/pkg/build/vendor/||g'
202199
}
@@ -324,7 +321,6 @@ readonly OS_ALL_IMAGES=(
324321
origin-egress-http-proxy
325322
origin-egress-dns-proxy
326323
origin-recycler
327-
origin-cluster-capacity
328324
origin-template-service-broker
329325
hello-openshift
330326
openvswitch
@@ -351,12 +347,8 @@ function os::build::images() {
351347
tag_prefix="${OS_IMAGE_PREFIX:-"openshift/origin"}"
352348

353349
# images that depend on "${tag_prefix}-source"
354-
( os::build::image "${tag_prefix}-pod" images/pod ) &
355-
( os::build::image "${tag_prefix}-cluster-capacity" images/cluster-capacity ) &
356-
( os::build::image "${tag_prefix}-template-service-broker" images/template-service-broker ) &
357-
358-
359-
for i in `jobs -p`; do wait $i; done
350+
( os::build::image "${tag_prefix}-pod" images/pod ) &
351+
( os::build::image "${tag_prefix}-template-service-broker" images/template-service-broker ) &
360352

361353
# images that depend on "${tag_prefix}-base"
362354
( os::build::image "${tag_prefix}" images/origin ) &

images/cluster-capacity/.cccp.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

images/cluster-capacity/Dockerfile

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

images/cluster-capacity/OWNERS

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

origin.spec

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,6 @@ Summary: Template Service Broker
196196
%description template-service-broker
197197
%{summary}
198198

199-
%package cluster-capacity
200-
Summary: %{product_name} Cluster Capacity Analysis Tool
201-
202-
%description cluster-capacity
203-
%{summary}
204-
205199
%package excluder
206200
Summary: Exclude openshift packages from updates
207201
BuildArch: noarch
@@ -235,7 +229,6 @@ of docker. Exclude those versions of docker.
235229
# Create Binaries for all supported arches
236230
%{os_git_vars} OS_BUILD_RELEASE_ARCHIVES=n make build-cross
237231
%{os_git_vars} hack/build-go.sh vendor/github.com/onsi/ginkgo/ginkgo
238-
%{os_git_vars} unset GOPATH; cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/hack/build-cross.sh
239232
%else
240233
# Create Binaries only for building arch
241234
%ifarch x86_64
@@ -255,7 +248,6 @@ of docker. Exclude those versions of docker.
255248
%endif
256249
OS_ONLY_BUILD_PLATFORMS="${BUILD_PLATFORM}" %{os_git_vars} OS_BUILD_RELEASE_ARCHIVES=n make build-cross
257250
OS_ONLY_BUILD_PLATFORMS="${BUILD_PLATFORM}" %{os_git_vars} hack/build-go.sh vendor/github.com/onsi/ginkgo/ginkgo
258-
OS_ONLY_BUILD_PLATFORMS="${BUILD_PLATFORM}" %{os_git_vars} unset GOPATH; cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/hack/build-cross.sh
259251
%endif
260252

261253
# Generate man pages
@@ -294,10 +286,6 @@ install -p -m 755 _output/local/bin/windows/amd64/oadm.exe %{buildroot}/%{_datad
294286
# Install federation services
295287
install -p -m 755 _output/local/bin/${PLATFORM}/hyperkube %{buildroot}%{_bindir}/
296288

297-
# Install cluster capacity
298-
install -p -m 755 cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/_output/local/bin/${PLATFORM}/hypercc %{buildroot}%{_bindir}/
299-
ln -s hypercc %{buildroot}%{_bindir}/cluster-capacity
300-
301289
# Install pod
302290
install -p -m 755 _output/local/bin/${PLATFORM}/pod %{buildroot}%{_bindir}/
303291

@@ -564,14 +552,9 @@ fi
564552
%files docker-excluder
565553
/usr/sbin/%{name}-docker-excluder
566554

567-
%files cluster-capacity
568-
%{_bindir}/hypercc
569-
%{_bindir}/cluster-capacity
570-
571555
%files template-service-broker
572556
%{_bindir}/template-service-broker
573557

574-
575558
%pretrans docker-excluder
576559
# we always want to clear this out using the last
577560
# versions script. Otherwise excludes might get left in

0 commit comments

Comments
 (0)