Skip to content

Commit

Permalink
Merge pull request #868 from richardsliu/delete_v1alpha1
Browse files Browse the repository at this point in the history
Delete v1alpha1 API and controller
  • Loading branch information
richardsliu authored Nov 9, 2018
2 parents b1ff7b0 + c74fbe0 commit 3a0efc1
Show file tree
Hide file tree
Showing 44 changed files with 50 additions and 5,104 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ install:
- gometalinter --install

script:
- go build -o tf-operator github.com/kubeflow/tf-operator/cmd/tf-operator
- go build -o tf-operator.v2 github.com/kubeflow/tf-operator/cmd/tf-operator.v2
- go build -o tf-operator.v1beta1 github.com/kubeflow/tf-operator/cmd/tf-operator.v1beta1
- gometalinter --config=linter_config.json --vendor ./...
Expand All @@ -31,7 +30,7 @@ script:
# For now though we just run all tests in pkg.
# And we can not use ** because goveralls uses filepath.Match
# to match ignore files and it does not support it.
- goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/testutil/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go,pkg/apis/common/v1beta1/*.go,pkg/apis/tensorflow/v1beta1/*.go"
- goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/testutil/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go,pkg/apis/common/*/zz_generated.*.go,pkg/apis/common/*/*_generated.go"

notifications:
webhooks: https://www.travisbuddy.com/
Expand Down
6 changes: 0 additions & 6 deletions build/images/tf_operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,18 @@ ENV GOLANG_VERSION 1.8.3
RUN yum -y install go && yum clean all

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

COPY tf_smoke.py /opt/kubeflow/samples/
RUN chmod a+x /opt/kubeflow/samples/*
COPY tf-operator /opt/mlkube
COPY tf-operator.v2 /opt/kubeflow
COPY tf-operator.v1beta1 /opt/kubeflow
COPY e2e /opt/mlkube/test
COPY backend /opt/tensorflow_k8s/dashboard/
COPY build /opt/tensorflow_k8s/dashboard/frontend/build

RUN chmod a+x /opt/kubeflow/tf-operator.v2
RUN chmod a+x /opt/kubeflow/tf-operator.v1beta1
RUN chmod a+x /opt/mlkube/tf-operator
RUN chmod a+x /opt/mlkube/test/e2e
RUN chmod a+x /opt/tensorflow_k8s/dashboard/backend

ENTRYPOINT ["/opt/kubeflow/tf-operator.v1beta1"]
47 changes: 0 additions & 47 deletions cmd/tf-operator/app/options/options.go

This file was deleted.

176 changes: 0 additions & 176 deletions cmd/tf-operator/app/server.go

This file was deleted.

52 changes: 0 additions & 52 deletions cmd/tf-operator/main.go

This file was deleted.

Loading

0 comments on commit 3a0efc1

Please sign in to comment.