Skip to content

Commit

Permalink
use kustomize&istio for auto deployment (kubeflow#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghuiwang authored and k8s-ci-robot committed Jun 18, 2019
1 parent 1009294 commit 7bf080c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions py/kubeflow/testing/create_kf_instance.py
Expand Up @@ -94,11 +94,16 @@ def deploy_with_kfctl_go(kfctl_path, args, app_dir, env):
# loading the config in the repo we have checked out kfctl doesn't support
# specifying a file URI. Once it does we should change --version to
# use it.
#
# TODO(zhenghuiwang): use the master of kubeflow/manifests once
# https://github.com/kubeflow/kubeflow/issues/3475 is fixed.
logging.warning("Loading configs from master.")
util.run([kfctl_path, "init", app_dir, "-V", "--platform=gcp",
"--version=master",
"--package-manager=kustomize@1e6b55258c678c6b151ea17a039acf6170706a23",
"--skip-init-gcp-project",
"--disable_usage_report",
"--use_istio",
"--project=" + args.project], env=env)

# We need to specify a valid email because
Expand Down
3 changes: 1 addition & 2 deletions test-infra/auto-deploy/deploy-master.yaml
Expand Up @@ -22,8 +22,7 @@ spec:
value: /secret/gcp-credentials/key.json
command:
- /usr/local/bin/auto_deploy.sh
# TODO(jlewi): Stop using Jeremy's repo once #344 is checked in.
- --repos=kubeflow/kubeflow;jlewi/testing@autodeploy_kfctl
- --repos=kubeflow/kubeflow;kubeflow/testing
- --project=kubeflow-ci-deployment
- --job_labels=/etc/pod-info/labels
- --data_dir=/mnt/test-data-volume/auto_deploy
Expand Down

0 comments on commit 7bf080c

Please sign in to comment.