Skip to content

Commit

Permalink
remove other cluster addon references for container build
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshi75nakamoto committed Aug 13, 2015
1 parent ecd93f9 commit bf02aaa
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5,053 deletions.
1 change: 0 additions & 1 deletion cluster/addons/kube-ui/image/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions cluster/addons/kube-ui/image/Dockerfile

This file was deleted.

23 changes: 0 additions & 23 deletions cluster/addons/kube-ui/image/Makefile

This file was deleted.

54 changes: 0 additions & 54 deletions cluster/addons/kube-ui/image/kube-ui.go

This file was deleted.

20 changes: 3 additions & 17 deletions hack/build-ui.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
cd "${KUBE_ROOT}"

if ! which go-bindata > /dev/null 2>&1 ; then
echo "Cannot find go-bindata. Install with \"go get github.com/jteeuwen/go-bindata/...\""
exit 1
echo "Cannot find go-bindata. Install with \"go get github.com/jteeuwen/go-bindata/...\""
exit 1
fi

readonly TMP_DATAFILE="/tmp/datafile.go"
readonly DASHBOARD_SRC="www/app/..."
readonly DASHBOARD_PKG="dashboard"
readonly SWAGGER_SRC="third_party/swagger-ui/..."
readonly SWAGGER_PKG="swagger"

Expand All @@ -51,18 +49,6 @@ function kube::hack::build_ui() {
gofmt -s -w "${TMP_DATAFILE}"

mv "${TMP_DATAFILE}" "${output_file}"

}

case "${1:-}" in
dashboard)
kube::hack::build_ui "${DASHBOARD_PKG}" "${DASHBOARD_SRC}"
;;
swagger)
kube::hack::build_ui "${SWAGGER_PKG}" "${SWAGGER_SRC}"
;;
*)
kube::hack::build_ui "${DASHBOARD_PKG}" "${DASHBOARD_SRC}"
kube::hack::build_ui "${SWAGGER_PKG}" "${SWAGGER_SRC}"
;;
esac
kube::hack::build_ui "${SWAGGER_PKG}" "${SWAGGER_SRC}"
4,939 changes: 0 additions & 4,939 deletions pkg/ui/data/dashboard/datafile.go

This file was deleted.

0 comments on commit bf02aaa

Please sign in to comment.