Skip to content

Commit

Permalink
remove tfjob dashboard (#1119)
Browse files Browse the repository at this point in the history
* remove tfjob dashboard

* fix ci by removing ui deployment
  • Loading branch information
ChanYiLin authored and k8s-ci-robot committed Dec 24, 2019
1 parent b04beff commit c588dae
Show file tree
Hide file tree
Showing 41 changed files with 3 additions and 9,784 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
bin/
/tf-operator

node_modules/
dashboard/frontend/build

.vscode/

# Compiled python files.
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ install:
script:
- hack/verify-codegen.sh
- go build -o tf-operator.v1 github.com/kubeflow/tf-operator/cmd/tf-operator.v1
- go build -o backend github.com/kubeflow/tf-operator/dashboard/backend
- golangci-lint run ./...
# We customize the build step because by default
# Travis runs go test -v ./... which will include the vendor
Expand Down
10 changes: 2 additions & 8 deletions build/images/tf_operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,17 @@ ADD . /go/src/github.com/kubeflow/tf-operator
WORKDIR /go/src/github.com/kubeflow/tf-operator

RUN go build -o tf-operator.v1 ./cmd/tf-operator.v1
RUN go build -o backend ./dashboard/backend

FROM registry.access.redhat.com/ubi8/ubi:latest

# TODO(jlewi): We should probably change the directory to /opt/kubeflow.
RUN mkdir -p /opt/tensorflow_k8s/dashboard/ \
&& mkdir -p /opt/kubeflow/samples
RUN mkdir -p /opt/kubeflow/samples

COPY tf_smoke.py /opt/kubeflow/samples/
RUN chmod a+x /opt/kubeflow/samples/*

COPY --from=build-image /go/src/github.com/kubeflow/tf-operator/tf-operator.v1 /opt/kubeflow
COPY --from=build-image /go/src/github.com/kubeflow/tf-operator/backend /opt/tensorflow_k8s/dashboard/

COPY build /opt/tensorflow_k8s/dashboard/frontend/build

RUN chmod a+x /opt/kubeflow/tf-operator.v1 \
&& chmod a+x /opt/tensorflow_k8s/dashboard/backend
RUN chmod a+x /opt/kubeflow/tf-operator.v1

ENTRYPOINT ["/opt/kubeflow/tf-operator.v1"]
4 changes: 0 additions & 4 deletions dashboard/OWNERS

This file was deleted.

39 changes: 0 additions & 39 deletions dashboard/README.md

This file was deleted.

44 changes: 0 additions & 44 deletions dashboard/backend/client/manager.go

This file was deleted.

Loading

0 comments on commit c588dae

Please sign in to comment.