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

Commit 8d71ff3

Browse files
johnugeorgek8s-ci-robot
authored andcommitted
Delete v1alpha1 tests (#109)
1 parent 6705f84 commit 8d71ff3

File tree

6 files changed

+1
-354
lines changed

6 files changed

+1
-354
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM debian:jessie
22

3-
COPY pytorch-operator /pytorch-operator
43
COPY pytorch-operator.v2 /pytorch-operator.v2
54
COPY pytorch-operator.v1beta1 /pytorch-operator.v1beta1
65

scripts/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ mkdir -p ${GOPATH}/src/github.com/${REPO_OWNER}
3333
ln -s ${PWD} ${GO_DIR}
3434
cd ${GO_DIR}
3535

36-
echo "Build pytorch operator v1alpha1 binary"
37-
go build github.com/kubeflow/pytorch-operator/cmd/pytorch-operator
3836
echo "Build pytorch operator v1alpha2 binary"
3937
go build github.com/kubeflow/pytorch-operator/cmd/pytorch-operator.v2
4038
echo "Build pytorch operator v1beta1 binary"

scripts/v1alpha1/run-defaults.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

scripts/v1alpha2/setup-v1alpha2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ gcloud --project ${PROJECT} container clusters get-credentials ${CLUSTER_NAME} \
3939

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

test/e2e/v1alpha1/main.go

Lines changed: 0 additions & 275 deletions
This file was deleted.

test/workflows/components/workflows.libsonnet

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,6 @@
225225
template: "setup-kubeflow",
226226
},
227227
],
228-
[
229-
{
230-
name: "run-v1alpha1-defaults",
231-
template: "run-v1alpha1-defaults",
232-
},
233-
],
234228
[
235229
{
236230
name: "setup-v1alpha2",
@@ -317,9 +311,6 @@
317311
$.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("setup-kubeflow", testWorkerImage, [
318312
"scripts/setup-kubeflow.sh",
319313
]), // setup kubeflow
320-
$.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("run-v1alpha1-defaults", testWorkerImage, [
321-
"scripts/v1alpha1/run-defaults.sh",
322-
]), // run v1alpha1 default tests
323314
$.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("setup-v1alpha2", testWorkerImage, [
324315
"scripts/v1alpha2/setup-v1alpha2.sh",
325316
]), // setup operator v1alpha2 version

0 commit comments

Comments
 (0)