@@ -124,14 +124,15 @@ def __init__(self, name=None, namespace=None,
124
124
125
125
# source directory where all repos should be checked out
126
126
self .src_root_dir = self .test_dir + "/src"
127
- # The directory containing the kubeflow/kubeflow repo
128
- self .src_dir = self .src_root_dir + "/kubeflow/kubeflow"
127
+ # The directory containing the kubeflow/kfctl repo
128
+ self .src_dir = self .src_root_dir + "/kubeflow/kfctl"
129
+ self .kubeflow_dir = self .src_root_dir + "/kubeflow/kubeflow"
129
130
130
- # Directory in kubeflow/kubeflow containing the pytest files for kfctl
131
- self .kfctl_pytest_dir = os .path .join (self .src_dir , "testing/kfctl " )
131
+ # Directory in kubeflow/kfctl containing the pytest files.
132
+ self .kfctl_pytest_dir = os .path .join (self .src_dir , "testing/e2e " )
132
133
133
134
# Top level directories for python code
134
- self .kubeflow_py = self .src_dir
135
+ self .kubeflow_py = self .kubeflow_dir
135
136
136
137
# The directory within the kubeflow_testing submodule containing
137
138
# py scripts to use.
@@ -196,7 +197,7 @@ def __init__(self, name=None, namespace=None,
196
197
self .steps_namespace = "kubeflow"
197
198
self .test_endpoint = test_endpoint
198
199
199
- self .kfctl_path = os .path .join (self .src_dir , "bootstrap/ bin/kfctl" )
200
+ self .kfctl_path = os .path .join (self .src_dir , "bin/kfctl" )
200
201
201
202
# Fetch the main repo from Prow environment.
202
203
self .main_repo = argo_build_util .get_repo_from_prow_env ()
@@ -399,7 +400,7 @@ def _build_tests_dag(self):
399
400
command , dependences )
400
401
401
402
notebook_test ["container" ]["workingDir" ] = os .path .join (
402
- self .src_dir , "kubeflow/jupyter/tests" )
403
+ self .kubeflow_dir , "kubeflow/jupyter/tests" )
403
404
404
405
#***************************************************************************
405
406
# Profiles test
@@ -420,7 +421,7 @@ def _build_tests_dag(self):
420
421
command , dependences )
421
422
422
423
profiles_test ["container" ]["workingDir" ] = os .path .join (
423
- self .src_dir , "kubeflow/profiles/tests" )
424
+ self .kubeflow_dir , "kubeflow/profiles/tests" )
424
425
425
426
def _build_exit_dag (self ):
426
427
"""Build the exit handler dag"""
@@ -534,6 +535,7 @@ def build(self):
534
535
#
535
536
"-o" , "junit_suite_name=test_kfctl_go_deploy_" + self .config_name ,
536
537
"--app_path=" + self .app_dir ,
538
+ "--kfctl_repo_path=" + self .src_dir ,
537
539
]
538
540
539
541
dependences = [checkout ["name" ]]
0 commit comments