@@ -52,9 +52,22 @@ pipeline:
5252 description : " "
5353 type : CI
5454 spec :
55- cloneCodebase : true
55+ cloneCodebase : false
5656 execution :
5757 steps :
58+ - step :
59+ type : GitClone
60+ name : Clone repo
61+ identifier : Clone_repo
62+ spec :
63+ connectorRef : account.svc_harness_git1
64+ repoName : <+pipeline.variables.target_repo>
65+ cloneDirectory : /harness/<+pipeline.variables.target_repo>
66+ build :
67+ type : branch
68+ spec :
69+ branch : <+pipeline.variables.target_branch>
70+ description : Explicitly clone repo to pull a commit created during reconciliation
5871 - step :
5972 type : Run
6073 name : build_list_of_environments_to_test_on
@@ -63,6 +76,8 @@ pipeline:
6376 connectorRef : account.dockerhub_datarobot_read
6477 shell : Sh
6578 command : |-
79+ cd /harness/<+pipeline.variables.target_repo>
80+ echo "Show last 2 git commits: "
6681 git log -2
6782 matrix_values=$(python3 ./harness_scripts/functional_by_framework_multistep/generate_testlist.py ./tests/functional/test_per_framework.json ./)
6883 echo ${matrix_values}
@@ -90,6 +105,19 @@ pipeline:
90105 cloneCodebase : true
91106 execution :
92107 steps :
108+ - step :
109+ type : GitClone
110+ name : Clone repo
111+ identifier : Clone_repo
112+ spec :
113+ connectorRef : account.svc_harness_git1
114+ repoName : <+pipeline.variables.target_repo>
115+ cloneDirectory : /harness/<+pipeline.variables.target_repo>
116+ build :
117+ type : branch
118+ spec :
119+ branch : <+pipeline.variables.target_branch>
120+ description : Explicitly clone repo to pull a commit created during reconciliation
93121 - step :
94122 type : Run
95123 name : Run functional test in provided framework
@@ -99,6 +127,7 @@ pipeline:
99127 image : datarobotdev/<+matrix.env.repo>:<+matrix.env.tag>
100128 shell : Sh
101129 command : |-
130+ cd /harness/<+pipeline.variables.target_repo>
102131 ./harness_scripts/functional_by_framework/check_by_framework_run1_step_entrypoint.sh \
103132 <+matrix.env.framework> <+matrix.env.env_folder>
104133 resources :
0 commit comments