Skip to content

Commit

Permalink
Merge pull request kubernetes#12667 from preillyme/issues_12666
Browse files Browse the repository at this point in the history
Remove the "www" and "third-party ui" directories from kubernetes repo
  • Loading branch information
brendandburns committed Aug 13, 2015
2 parents b50330d + bf02aaa commit db39e5c
Show file tree
Hide file tree
Showing 927 changed files with 4 additions and 193,456 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.

19 changes: 0 additions & 19 deletions third_party/ui/bower_components/angular-animate/.bower.json

This file was deleted.

68 changes: 0 additions & 68 deletions third_party/ui/bower_components/angular-animate/README.md

This file was deleted.

Loading

0 comments on commit db39e5c

Please sign in to comment.