Skip to content

Commit

Permalink
Updating Katib CI to use training operator (#1710)
Browse files Browse the repository at this point in the history
* Updating Katib CI to use training operator

* Changed master to 1.4 branch in echo statement
  • Loading branch information
midhun1998 authored Oct 22, 2021
1 parent 5a719e9 commit a528757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/e2e/v1beta1/argo_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def create_task_template(self, task_name, exec_image, command):
},
{
"name": "EXTRA_REPOS",
"value": "kubeflow/testing@HEAD;kubeflow/manifests@v1.2-branch"
"value": "kubeflow/testing@HEAD;kubeflow/manifests@v1.4-branch"
},
# Set GOPATH to test_dir because Katib repo is located under /src/github.com/kubeflow/katib
{
Expand Down
12 changes: 2 additions & 10 deletions test/e2e/v1beta1/scripts/setup-katib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,8 @@ cat ${CONFIG_PATCH}
echo "Creating Kubeflow namespace"
kubectl create namespace kubeflow

echo "Deploying tf-operator from kubeflow/manifests master"
cd "${MANIFESTS_DIR}/tf-training/tf-job-crds/base"
kustomize build . | kubectl apply -f -
cd "${MANIFESTS_DIR}/tf-training/tf-job-operator/base"
kustomize build . | kubectl apply -f -

echo "Deploying pytorch-operator from kubeflow/manifests master"
cd "${MANIFESTS_DIR}/pytorch-job/pytorch-job-crds/base"
kustomize build . | kubectl apply -f -
cd "${MANIFESTS_DIR}/pytorch-job/pytorch-operator/base/"
echo "Deploying training-operator from kubeflow/manifests v1.4 branch"
cd "${MANIFESTS_DIR}/apps/training-operator/upstream/overlays/kubeflow"
kustomize build . | kubectl apply -f -

echo "Deploying Katib"
Expand Down

0 comments on commit a528757

Please sign in to comment.