Skip to content

Commit

Permalink
Migrate tf-operator to new test-infra (kubeflow#892)
Browse files Browse the repository at this point in the history
Migrate tf-operator to new test-infra
  • Loading branch information
Yao Xiao authored Feb 7, 2021
1 parent ba65147 commit 8f6f4de
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 38 deletions.
2 changes: 1 addition & 1 deletion aws/Access/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ infra-viewer and infra-editor can be only be access via CLI.

0. Create AWS IAM ROLE/USER from your console via [official doc](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console):
0.1. In #4 step, select **Programmatic access**
0.2. In #6 step, choose **Attach existing policies to user directly**, and use administrator policy for simplicity.
0.2. In #6 step, choose **Attach existing policies to user directly**, and use administrator policy for simplicity.
0.3. In #11 step, save user's access keys for below usage.

1. Configure AWS Credentials with keys you stored and region
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,6 @@ data:
- name: BRANCH_NAME
value: v1.2-branch
presubmits:
kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
- master
decorate: false
labels:
preset-aws-cred: "true"
always_run: true
spec:
containers:
- image: 527798164940.dkr.ecr.us-west-2.amazonaws.com/aws-kubeflow-ci/test-worker:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]
kind: ConfigMap
metadata:
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ data:
- kubeflow
join_org_url: "https://github.com/kubeflow/kubeflow/blob/master/CONTRIBUTING.md"
only_org_members: true
plugins:
kubeflow/tf-operator:
- trigger
kind: ConfigMap
metadata:
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
data:
config.yaml: |
config.yaml: |-
prowjob_namespace: prow
pod_namespace: test-pods
in_repo_config:
Expand Down Expand Up @@ -147,6 +147,20 @@ data:
- image: public.ecr.aws/j1r0q0g6/kubeflow-testing:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]
kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
- master
decorate: false
labels:
preset-aws-cred: "true"
always_run: true
spec:
containers:
- image: public.ecr.aws/j1r0q0g6/kubeflow-testing:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]
kind: ConfigMap
metadata:
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ data:
- trigger
kubeflow/pytorch-operator:
- trigger
kubeflow/tf-operator:
- trigger
kubeflow/xgboost-operator:
- trigger
kind: ConfigMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,3 @@ periodics:
- name: BRANCH_NAME
value: v1.2-branch

presubmits:
kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
- master
decorate: false
labels:
preset-aws-cred: "true"
always_run: true
spec:
containers:
- image: 527798164940.dkr.ecr.us-west-2.amazonaws.com/aws-kubeflow-ci/test-worker:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ triggers:
- kubeflow
join_org_url: "https://github.com/kubeflow/kubeflow/blob/master/CONTRIBUTING.md"
only_org_members: true
plugins:
kubeflow/tf-operator:
- trigger
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,17 @@ presubmits:
- image: public.ecr.aws/j1r0q0g6/kubeflow-testing:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]

kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
- master
decorate: false
labels:
preset-aws-cred: "true"
always_run: true
spec:
containers:
- image: public.ecr.aws/j1r0q0g6/kubeflow-testing:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ plugins:
- trigger
kubeflow/pytorch-operator:
- trigger
kubeflow/tf-operator:
- trigger
kubeflow/xgboost-operator:
- trigger

0 comments on commit 8f6f4de

Please sign in to comment.