Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Delete v1alpha1 tests (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnugeorge authored and k8s-ci-robot committed Nov 20, 2018
1 parent 6705f84 commit 8d71ff3
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 354 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM debian:jessie

COPY pytorch-operator /pytorch-operator
COPY pytorch-operator.v2 /pytorch-operator.v2
COPY pytorch-operator.v1beta1 /pytorch-operator.v1beta1

Expand Down
2 changes: 0 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ mkdir -p ${GOPATH}/src/github.com/${REPO_OWNER}
ln -s ${PWD} ${GO_DIR}
cd ${GO_DIR}

echo "Build pytorch operator v1alpha1 binary"
go build github.com/kubeflow/pytorch-operator/cmd/pytorch-operator
echo "Build pytorch operator v1alpha2 binary"
go build github.com/kubeflow/pytorch-operator/cmd/pytorch-operator.v2
echo "Build pytorch operator v1beta1 binary"
Expand Down
66 changes: 0 additions & 66 deletions scripts/v1alpha1/run-defaults.sh

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/v1alpha2/setup-v1alpha2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ gcloud --project ${PROJECT} container clusters get-credentials ${CLUSTER_NAME} \

cd ${APP_NAME}
echo "Install PyTorch v1alpha2 operator"
#/usr/local/bin/ks generate pytorch-operator pytorch-operator --pytorchJobImage=${REGISTRY}/${REPO_NAME}:${VERSION}
/usr/local/bin/ks generate pytorch-operator pytorch-operator --pytorchJobImage=${REGISTRY}/${REPO_NAME}:${VERSION}
/usr/local/bin/ks param set pytorch-operator pytorchJobVersion v1alpha2
/usr/local/bin/ks apply ${KF_ENV} -c pytorch-operator

Expand Down
275 changes: 0 additions & 275 deletions test/e2e/v1alpha1/main.go

This file was deleted.

9 changes: 0 additions & 9 deletions test/workflows/components/workflows.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,6 @@
template: "setup-kubeflow",
},
],
[
{
name: "run-v1alpha1-defaults",
template: "run-v1alpha1-defaults",
},
],
[
{
name: "setup-v1alpha2",
Expand Down Expand Up @@ -317,9 +311,6 @@
$.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("setup-kubeflow", testWorkerImage, [
"scripts/setup-kubeflow.sh",
]), // setup kubeflow
$.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("run-v1alpha1-defaults", testWorkerImage, [
"scripts/v1alpha1/run-defaults.sh",
]), // run v1alpha1 default tests
$.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("setup-v1alpha2", testWorkerImage, [
"scripts/v1alpha2/setup-v1alpha2.sh",
]), // setup operator v1alpha2 version
Expand Down

0 comments on commit 8d71ff3

Please sign in to comment.