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

Commit

Permalink
Migrate to new test-infra (#316)
Browse files Browse the repository at this point in the history
* Migrate to new test-infra

* Modify ECR image to external AWS account's ECR

* Use test tag image to validate

* Use latest test-woker image

* Update pkg dependencies
  • Loading branch information
Yao Xiao authored Jan 26, 2021
1 parent 282cbee commit 6293efc
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ kubectl logs -f ${PODNAME}
```
kubectl get -o yaml pytorchjobs pytorch-dist-mnist-gloo
```
See the status section to monitor the job status. Here is sample output when the job is successfully completed.
See status section to monitor the job status. Here is sample output when the job is successfully completed.

```
apiVersion: v1
Expand Down
Binary file modified defaulter-gen
Binary file not shown.
2 changes: 1 addition & 1 deletion manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ commonLabels:
kustomize.component: pytorch-operator
images:
- name: gcr.io/kubeflow-images-public/pytorch-operator
newName: 527798164940.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator
newName: 809251082950.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator
newTag: "0.1"
2 changes: 1 addition & 1 deletion pkg/apis/pytorch/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/pytorch/v1/zz_generated.defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/fake/clientset_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/fake/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/scheme/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/clientset/versioned/typed/pytorch/v1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/informers/externalversions/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/informers/externalversions/generic.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/informers/externalversions/pytorch/interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/listers/pytorch/v1/expansion_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/client/listers/pytorch/v1/pytorchjob.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/setup-pytorch-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set -o pipefail

CLUSTER_NAME="${CLUSTER_NAME}"
REGION="${AWS_REGION:-us-west-2}"
REGISTRY="${ECR_REGISTRY:-527798164940.dkr.ecr.us-west-2.amazonaws.com}"
REGISTRY="${ECR_REGISTRY:-809251082950.dkr.ecr.us-west-2.amazonaws.com}"
VERSION="${PULL_BASE_SHA}"
GO_DIR=${GOPATH}/src/github.com/${REPO_OWNER}/${REPO_NAME}

Expand Down
4 changes: 2 additions & 2 deletions test/workflows/components/workflows.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
local srcRootDir = testDir + "/src";
// The directory containing the kubeflow/pytorch-operator repo
local srcDir = srcRootDir + "/kubeflow/pytorch-operator";
local testWorkerImage = "527798164940.dkr.ecr.us-west-2.amazonaws.com/aws-kubeflow-ci/test-worker:latest";
local testWorkerImage = "public.ecr.aws/j1r0q0g6/kubeflow-testing:latest";
local golangImage = "golang:1.9.4-stretch";
// TODO(jose5918) Build our own helm image
local helmImage = "volumecontroller/golang:1.9.2";
Expand Down Expand Up @@ -330,7 +330,7 @@
"/kaniko/executor",
"--dockerfile=" + srcDir + "/Dockerfile",
"--context=dir://" + srcDir,
"--destination=" + "527798164940.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator:$(PULL_BASE_SHA)",
"--destination=" + "809251082950.dkr.ecr.us-west-2.amazonaws.com/pytorch-operator:$(PULL_BASE_SHA)",
# need to add volume mounts and extra env.
],
volume_mounts=[
Expand Down

0 comments on commit 6293efc

Please sign in to comment.